ERROR 1698 (28000): Access denied for user 'root'@'localhost'

后端 未结 17 1889
执笔经年
执笔经年 2020-11-22 10:00

I\'m setting up a new server and keep running into this problem.

When I try to login to the MySQL database with the root user, I get the error:

17条回答
  •  醉话见心
    2020-11-22 10:32

    You want to access MySQL with root user but you're not providing root's correct password.

    If you need to set a new password for root, MySQL's site has great documentation on how to do it: http://dev.mysql.com/doc/refman/5.7/en/resetting-permissions.html

    I'll not show the process in here because MySql documentation on the above link it's clear and concise.

提交回复
热议问题