Mariadb Could not get JDBC Connection; nested exception is java.sql.SQLException
自己创建的项目数组选择的是mariadb,但是项目跑起来后,无法获取数据连接,经过多番查找,终于找到原因了!
1.mariadb Connection strings 连接地址,我找着网上配置之后连接不上。
2.网上提供的是url为:jdbc:maria://localhost:3306/dbName。
3.我在国外网站查找到的是:
Connection connection = Driv
原创
2017-09-10 21:06:40 ·
6762 阅读 ·
2 评论