简体   繁体   中英

Access Denied for MySql Error

When I try to login into my MySql Server in Ubuntu 14.04 I got the following Error

Error

mca@mca-acer-162:~$ mysql --user=root --password
Enter password:
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)

I haven't set any password. So, I keep it null

How to Rectify it?

Thanks in Advance....

If you have not set any passwort, why do you use the --password flag?

Just try mysql --user=root

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM