应用连接mysql8.0注意事项

mysql8.0在安装过程中会让你选择一个Authentication Method,如果你选择上面的更强的授权机制,那么就会出现下面的情况

图片来源:https://blog.csdn.net/qq_33144861/article/details/80267462(mysql8.0安装步骤)@93年的香槟

如果不允许贴此图请通知我删除(我的邮箱:thread_zhou@126.com)

 

应用限制

hibernate4.0以上版本
spring5.0
 
我用的版本:hibernate5.0.12, spring5.0.10, struts2 2.3.20,tomcat8.5,jdk1.8,mysql8.0
 
数据库连接:用户是允许远程访问的用户
jdbcUrl=jdbc:mysql://192.168.2.245:3306/test?characterEncoding=utf8&useUnicode=true&useSSL=false&serverTimezone=UTC
driverClass=com.mysql.cj.jdbc.Driver
user=testuser
password=testpass
initialPoolSize=10
maxPoolSize=30

 

posted @ 2019-03-15 12:41  边见众生,边见自己  阅读(473)  评论(0编辑  收藏  举报