当使用localhost
的时候能够连接
ubuntu@VM-25-23-ubuntu:/home/xxx/.qqbot-tmp$ mysql -u seafile -p -h localhost
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 14
Server version: 5.7.20-0ubuntu0.16.04.1 (Ubuntu)
Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
当使用127.0.0.1
时,却这样
ubuntu@VM-25-23-ubuntu:/home/xxx/.qqbot-tmp$ mysql -u seafile -p -h 127.0.0.1
Enter password:
ERROR 1045 (28000): Access denied for user 'seafile'@'10.186.25.23' (using password: YES)
这种问题怎么解决 ?
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.