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

版权声明:本文为dongguapifly原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/dongguapifly/p/10627213.html