当前位置:Gxlcms > mysql > 数据库连接字符串_MySQL

数据库连接字符串_MySQL

时间:2021-07-01 10:21:17 帮助过:17人阅读

bitsCN.com

数据库连接字符串

Sql代码

mysql:

driver: com.mysql.jdbc.Driver

url: jdbc:mysql://localhost:3306/mydata

username: root

password: root

sqlserver:

driver: com.microsoft.sqlserver.jdbc.SQLServerDriver

url: jdbc:sqlserver://localhost:1433;DatabaseName=test

username: sa

password:

oracle: oracle.jdbc.OracleDriver

url: jdbc:oracle:thin:@localhost:1521:orcl

username: scott

password: tiger

bitsCN.com

人气教程排行