[quote=引用 10 楼 shuai45 的回复:] [quote=引用 9 楼 wwwwb 的回复:] 没有root@127.0.0.1用户,创建1个 OR 用root@localhost登录 mysql 的用户账号是 username%hostname
root@localhost和root@'127.0.0.1'是两个不同用户,用localhost登录后创建一个127.0.0.1的用户,mysql -uroot -p --protocol=SOCKET 这样是用localhost登录
[quote=引用 9 楼 wwwwb 的回复:] 没有root@127.0.0.1用户,创建1个 OR 用root@localhost登录 mysql 的用户账号是 username%hostname
没有root@127.0.0.1用户,创建1个 OR 用root@localhost登录 mysql 的用户账号是 username%hostname
要么没这个用户,要么是密码错了,检查下是不是只有root@localhost
56,675
社区成员
56,706
社区内容
加载中
试试用AI创作助手写篇文章吧