当前位置:Gxlcms > mysql > sqlserver、mysql、oracle各自的默认端口号_MySQL

sqlserver、mysql、oracle各自的默认端口号_MySQL

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

sqlserver、mysql、oracle各自的默认端口号

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";

人气教程排行