首页 > 代码库 > JDBC的MySQL配置properties文件

JDBC的MySQL配置properties文件

# JDBC Configuration  
driverClassName=com.mysql.jdbc.Driver  
url=jdbc:mysql://127.0.0.1:3306/db_name?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull  
userName=root  
password=root  

 

JDBC的MySQL配置properties文件