I use MySQL queries all the time in PHP, but when I try LOAD DATA INFILE, I get the following error #1045 - Access denied for user 'user'@'localhost' (using password: YES)
Does anyone know what this means?
views:
125answers:
2
A:
It probably means that the password you supplied for 'user'@'localhost'
is incorrect.
David Grant
2010-02-08 11:55:42
I don't think so. I can do other queries with the same password.
Brian
2010-02-08 11:56:50
+1
A:
Ensure your MySQL user has the FILE privilege granted.
If you are on shared web hosting, there is a chance this is blocked by your hosting provider.
enbuyukfener
2010-02-08 23:46:22