首先创建一个jdbc的file
添加下面的代码:
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1:3306/你的项目名?useUnicode=true&characterEncoding=utf8
jdbc.username=xxx
jdbc.password=xxx
本文介绍如何设置MySQL数据库的JDBC连接参数,包括指定驱动、URL、用户名及密码。
首先创建一个jdbc的file
添加下面的代码:
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1:3306/你的项目名?useUnicode=true&characterEncoding=utf8
jdbc.username=xxx
jdbc.password=xxx
5541
2513

被折叠的 条评论
为什么被折叠?