首页 > 代码库 > jdbc.properties

jdbc.properties

SqlServer

driverClassname=com.microsoft.sqlserver.jdbc.SQLServerDriver
url=jdbc:sqlserver://localhost:1433;DatabaseName=dbStudent
username=sa
password=wang513901

MySQL

driverClassname = com.mysql.jdbc.Driver
url = jdbc:mysql:///test
username = root
password = root

Oracle

 

driverClassname=oracle.jdbc.driver.OracleDriver
url=jdbc:oracle:thin:@localhost:1521:orcl
username=root
password=root

 

jdbc.properties