We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89881df commit 34cb843Copy full SHA for 34cb843
Mysql-Install-And-Settings.md
@@ -91,7 +91,7 @@
91
- 把密码改为:123456,进入 MySQL 命令后执行:`UPDATE user SET Password=PASSWORD('123456') where USER='root';FLUSH PRIVILEGES;`
92
- 然后重启 MySQL 服务:`service mysql restart`
93
94
-## 连接报错:Caused by: java.sql.SQLException: null, message from server: "Host '192.168.1.133' is not allowed to connect to this MySQL server"
+## 连接报错:"Host '192.168.1.133' is not allowed to connect to this MySQL server"
95
96
- 不允许除了 localhost 之外去连接,解决办法,进入 MySQL 命令行,输入下面内容:
97
- `GRANT ALL PRIVILEGES ON *.* TO '数据库用户名'@'%' IDENTIFIED BY '数据库用户名的密码' WITH GRANT OPTION;`
@@ -172,4 +172,4 @@
172
173
## 资料
174
175
-- <http://www.cnblogs.com/xiongpq/p/3384681.html>
+- <http://www.cnblogs.com/xiongpq/p/3384681.html>
0 commit comments