sql - ERROR 1148: The used command is not allowed with this MySQL version -


i trying load data mysql database using

load data local infile a.txt db lines terminated '|'; 

the topic of question response get. understand local data offloading off default , have enable using command local-infile=1 not know place command.

you can specify additional option when setting client connection:

mysql -u myuser -p --local-infile somedatabase 

this because feature opens security hole. have enable manually in case want use it.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -