A.19. 数据源连接 URL
数据源 | 连接 URL |
---|---|
IBM DB2 | JDBC:db2://SERVER_NAME:PORT/DATABASE_NAME |
MariaDB | JDBC:mariadb://SERVER_NAME:PORT/DATABASE_NAME |
MariaDB Galera Cluster | JDBC:mariadb://SERVER_NAME: PORT,SERVER_NAME:PORT/DATABASE_NAME |
Microsoft SQL Server | jdbc:sqlserver://SERVER_NAME:PORT;DatabaseName=DATABASE_NAME |
MySQL | JDBC:mysql://SERVER_NAME:PORT/DATABASE_NAME |
Oracle | JDBC:oracle:thin:@SERVER_NAME:PORT:ORACLE_SID |
PostgreSQL | JDBC:postgresql://SERVER_NAME:PORT/DATABASE_NAME |
Sybase | JDBC:sybase:Tds:SERVER_NAME:PORT/DATABASE_NAME |