Home  >  Article  >  Database  >  sqlserver、mysql、oracle各自的默认端口号_MySQL

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

WBOY
WBOYOriginal
2016-06-01 13:11:031273browse

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


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:MYSQL规范_MySQLNext article:mysql 中use mysql denied_MySQL