开发者

Can't Connect to LocalHost Mysql Server

开发者 https://www.devze.com 2023-04-12 00:33 出处:网络
I recently installed mysql server and client, but I can\'t connect to t开发者_开发知识库he server. I get this message:

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

0

精彩评论

暂无评论...
验证码 换一张
取 消