when am trying to open mysql in windows cmd by typing mysql. the following error is occuring.
ERROR 1045 (28000): Access denied for user ODBC@localhost (usin
I know it's been three years since this was asked, but I just figured out this problem for myself. I was using into outfile
and getting the error. When I commented out this part of the query, it worked.
The FILE
privilege is separate from all the others and must be granted to the user running the script.
GRANT FILE ON *.* TO 'asdfsdf'@'localhost';