Mysql
wangxiaopang1003
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SpringBoot 加载Mysql脚本的两种方式
1. 使用自动配置加载sql脚本文件命名规则Schema-.sqldata-.sqlorg\springframework\boot\autoconfigure\jdbc\DataSourceInitializer.javagetScripts默认规则:schema.sql schema-all.sql2. 使用配置文件来加载spring: datasource: url: jdbc:mysql://ip:port/jdbc username: root原创 2020-05-23 19:44:41 · 431 阅读 · 0 评论 -
Docker Mysql - SpringBoot不能连接问题
问题2020-05-23 16:59:33.872 ERROR 8700 — [ main] o.a.tomcat.jdbc.pool.ConnectionPool : Unable to create initial connections of pool.com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure原因Mysql的版本为8.XXXmys原创 2020-05-23 17:06:07 · 2019 阅读 · 0 评论
分享