刚才把user表中所有用户都删掉了,仅保留root,它的host为localhost,我现在>mysql -u root -p
>password
时,说:“host '127.0.0.1'is not allowed to connect to this MySQL server
难道本机默认不是localhost吗?
...全文
41210打赏收藏
MySQL中localhost与127.0.01有什么区别?
刚才把user表中所有用户都删掉了,仅保留root,它的host为localhost,我现在>mysql -u root -p >password 时,说:“host '127.0.0.1'is not allowed to connect to this MySQL server 难道本机默认不是localhost吗?