1. 程式人生 > >MySQL/Oracle/SQL Server默認端口、JDBCdriver、Url

MySQL/Oracle/SQL Server默認端口、JDBCdriver、Url

mysq oracle sof jdb 默認 ros sqlserve ive 端口號

sqlserver默認端口號為:1433
URL:"jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=dbname"
DRIVERNAME:"com.microsoft.jdbc.sqlserver.SQLServerDriver";

mysql 默認端口號為:3306
URL:jdbc:mysql://localhost:3306/test?user=root&password=&useUnicode=true&characterEncoding=gbk
DRIVERNAME:"com.mysql.jdbc.Driver";

oracle 默認端口號為:1521
URL:"jdbc:oracle:thin:@localhost :1521:orcl";
DRIVERNAME:"oracle.jdbc.driver.OracleDriver";

MySQL/Oracle/SQL Server默認端口、JDBCdriver、Url