how to overcome ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO) permanently

前端 未结 14 1580
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-23 13:49

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         


        
14条回答
  •  一整个雨季
    2020-12-23 14:19

    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';
    

提交回复
热议问题