尝试将平面文件数据库转储中的数据加载到新表中时遇到权限错误。我知道文件的架构和我的表是相同的,我尝试调整权限。我还应该尝试什么?
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'@'%