标签:ble code jdb mamicode flush 需要 time ant bash
错误原因:
mysql:jdbc://localhost:3306/test
jdbc:mysql://localhost:3306/test
错误原因:
jdbc:mysql://192.168.3.20:3306/test
这个设置默认是没有权限的,需要授权
SELECT USER, HOST FROM mysql.user WHERE USER=‘root‘;
GRANT ALL PRIVILEGES ON test.* TO ‘root‘@‘192.168.3.20‘ IDENTIFIED BY ‘密码‘;
flush privileges;
jdbc:mysql://192.168.3.20:3306/test
// 更改为
jdbc:mysql://192.168.3.20:3306/test?serverTimezone=UTC
标签:ble code jdb mamicode flush 需要 time ant bash
原文地址:https://www.cnblogs.com/zaid/p/12994887.html