1.配置数据源的后缀中 useSSL = true
为了防止访问权限低的用户修改数据库。如果有这个的话,则会造成用户访问数据库时被禁止,报错:The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server。防止该问题可将useSSL去掉,或者设置为false
1.配置数据源的后缀中 useSSL = true
为了防止访问权限低的用户修改数据库。如果有这个的话,则会造成用户访问数据库时被禁止,报错:The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server。防止该问题可将useSSL去掉,或者设置为false