Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation does not work on MySQL 8 #139

Open
shyim opened this issue Jul 26, 2018 · 1 comment
Open

Generation does not work on MySQL 8 #139

shyim opened this issue Jul 26, 2018 · 1 comment

Comments

@shyim
Copy link
Contributor

shyim commented Jul 26, 2018

Exception:

[Exception]
Failed to execute LOAD DATA LOCAL INFILE '/var/www/html/shopware/output/articles.csv' IGNORE INTO TABLE s_articles
FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'
(id, supplierID, name, description, description_long, shippingtime, datum, active, taxID, pseudosales, topseller, keywords, changetime, pricegroupID, pricegroupActive, filtergro upID, laststock, crossbundlelook, notification, template, mode, main_detail_id, available_from, available_to, configurator_set_id);
Code: 42000,1148,The used command is not allowed with this MySQL version

@shyim
Copy link
Contributor Author

shyim commented Jul 27, 2018

MySQL 8 seems to be stricter with local data. local_infile must be enabled in my.cnf and can't be overwritten anymore using mysql client.
We need here a check that local-inifile is enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant