java连接数据库的配置文件

driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/你要连接的数据库?useUnicode=true&characterEncoding=utf-8
root=用户名
password=密码

jdbc.driver = oracle.jdbc.driver.OracleDriver
jdbc.url = jdbc:oracle:thin:@172.25.1.196:1521:mldn (mild为你的sid的值)
jdbc.root = system (你的用户名)
jdbc.password = oracleadmin (密码)
原文地址:https://www.cnblogs.com/yxs98/p/11178272.html