nacos版本1.14、seata版本0.9、mysql版本8.0.20启动报错总结?
1、启动nacos版本1.14,结果正常启动
2、启动seata,结果报错,报错信息如下:
Caused by: java.sql.SQLException Unable to load authentication plugin caching_sha2_password
原因:0.9版本的seata默认的mysql-connector的版本是mysql-connector-java-5.1.30.jar,需要用8.0.20版本的mysql将其替换。
修改前的版本:
修改后的版本:
3、修改完版本后,启动seata又报新的错,报错信息如下:
The server time zone value ‘?й???’ is unrecognized or represents more than one time zone
原因:新版本的MySQL的URL后面要加上 ?serverTimezone=UTC
修改后的内容:
4、再次启动seata,就可以正常启动成功了。
参考网站:
1、https://blog.csdn.net/qq_32370913/article/details/106418318
2、https://blog.csdn.net/dreamboy_w/article/details/96505068
seata启动报错问题总结
猜你喜欢
转载自blog.csdn.net/HelloWorld20161112/article/details/108701567
今日推荐
周排行