|
qq@debian:~$ mysql -h localhost -u root -p
qq@debian:~$ mysql -h 127.0.0.1 -u root -p
qq@debian:~$ mysql -h debian -u root -p
上面三种方式都能连上,就是输入本机IP时连不上
不知道为什么,大家帮忙看看
qq@debian:~$ mysql -h 192.168.1.32 -u root -p
Enter password:
ERROR 1130 (00000): Host 'debian.local' is not allowed to connect to this MySQL server
qq@debian:~$ |
|