Can't Connect to LocalHost Mysql Server
I recently installed mysql server and client, but I can't connect to t开发者_开发知识库he server. I get this message:
Access denied for user 'root'@'localhost' (using password: YES/NO)
Whatever I do i will always get the same message.
I tried commenting bind-address but still the same thing.
If you set up a password for the root user during installation, then start the mysql client with the -p option, mysql -u root -p, and it should prompt you for a password.
If there's no password set, leave the -p off and it should log right in.
If you've somehow forgotten what the root password is, you can fix it by following these instructions... http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
加载中,请稍侯......
精彩评论