Ultra-detailed various databases default driver, URL, port summary
HTTP: // database.51cto.com/art/201906/598043.htm study to find out.
Outline
Today, the main port on the various databases and the default URL to be a summary, Reviewing the Old. . .
01.Oracle
驱动:oracle.jdbc.driver.OracleDriver
URL:jdbc:oracle:thin:@<machine_name><:port>:dbname
NOTE: machine_name: name of the machine where the database resides, if the machine is 127.0.0.1 or localhost, if a remote connection, the remote IP address;
port: Port number, the default is 1521
Of course, there are other hidden Oracle port, recorded at $ ORACLE_HOMEinstallportlist.ini file
- Enterprise Manager Console HTTP 端口 (orcl) = 1158
- Enterprise Manager Agent port (orcl) = 3938
- Enterprise Manager Console HTTP 端口 (mynewccs) = 5500
- Enterprise Manager proxy port (mynewccs) = 1830
- Enterprise Manager Console HTTP 端口 (myicd) = 5501
- Enterprise Manager proxy port (myicd) = 1831
02.SQL Server
Driver: com.microsoft.jdbc.sqlserver.SQLServerDriver
URL:jdbc:microsoft:sqlserver://<machine_name><:port>;DatabaseName=
NOTE: machine_name: name of the machine where the database resides, if the machine is 127.0.0.1 or localhost, if a remote connection, the remote IP address;
port: Port number, the default is 1433
03.MySQL
Driver: org.gjt.mm.mysql.Driver
URL:jdbc:mysql://<machine_name><:port>/dbname
NOTE: machine_name: name of the machine where the database resides, if the machine is 127.0.0.1 or localhost, if a remote connection, the remote IP address;
port: port number, default 3306
04.pointbase
PointBase is developed by Bruce Scott, one of the founders of a small oracle database. PointBase is a small database of 100% pure java prepared by its small size (database server engine only 1M), client files add up to less than 1M, and therefore can often be used as a demonstration project ..
Driver: com.pointbase.jdbc.jdbcUniversalDriver
URL:jdbc:pointbase:server://<machine_name><:port>/dbname
NOTE: machine_name: name of the machine where the database resides, if the machine is 127.0.0.1 or localhost, if a remote connection, the remote IP address;
port: Port number, the default is 9092
05.DB2
Driver: com.ibm.db2.jdbc.app.DB2Driver
URL:jdbc:db2://<machine_name><:port>/dbname
NOTE: machine_name: name of the machine where the database resides, if the machine is 127.0.0.1 or localhost, if a remote connection, the remote IP address;
port: port number, default 5000
06.NOSQL database
1.MongoDB
port: The default port number, 27017
2.Redis
port: The default port number, 6379
3.memcached
port: The default port number, 11211