mysql
xiaoxiaowuyan
知识改变命运
展开
-
mysql8.0 配置远程连接用户
方式一: 已存在用户授权mysql> use mysql;mysql> select host,user from user where user='root';## 如果上面查询到有信息,但host为localhost或其他值,就需要根据实际需求来更新表信息mysql> update user set host='%' where user='root'; ## 如...原创 2019-08-05 21:08:45 · 941 阅读 · 0 评论 -
jdbc com.alibaba.druid.pool 连接mysql8.0错误解决办法 (com.mysql.cj.jdbc.exceptions.CommunicationsException)
错误 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicati...原创 2019-08-10 16:44:48 · 3994 阅读 · 1 评论