摘要: 在连接字符串后面加上?serverTimezone=UTC 其中UTC是统一标准世界时间。 完整的连接字符串示例:jdbc:mysql://localhost:3306/test?serverTimezone=UTC 或者还有另一种选择:jdbc:mysql://127.0.0.1:3306/tes 阅读全文
posted @ 2019-06-03 14:04 念宇儿 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 在用Navicat for MySQL远程连接mysql的时候,出现了 Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 修改my.cnf文件(windows为my.i 阅读全文
posted @ 2019-06-03 13:54 念宇儿 阅读(7927) 评论(0) 推荐(1) 编辑
摘要: 1、登录mysql服务器 mysql -uroot -p 2、查询mysql服务器安装位置 参考:https://www.cnblogs.com/phpper/p/10773004.html 阅读全文
posted @ 2019-06-03 13:44 念宇儿 阅读(121) 评论(0) 推荐(0) 编辑