Mysql permission errors with 'load data'
问题 I am running into a permission error when trying to load data from a flat file database dump into a new table. I know that the schema of the file and my table is the same and I tried tweaking the permissions. What else should I try? mysql> load data infile 'myfile.txt' into table mytable fields terminated by ',' enclosed by '"'; ERROR 1045 (28000): Access denied for user 'user'@'%' grant all on mytable.* to 'user'@'% 回答1: Here's a thread on the MySQL forums that discusses exactly this. Here's