Home > Database > Mysql Tutorial > 数据库连接字符串_MySQL

数据库连接字符串_MySQL

WBOY
Release: 2016-06-01 13:36:47
Original
1106 people have browsed it

bitsCN.com

数据库连接字符串

 

Sql代码    

mysql:  

  

driver:     com.mysql.jdbc.Driver  

url:        jdbc:mysql://localhost:3306/mydata  

username:   root  

password:   root  

  

sqlserver:  

  

driver:     com.microsoft.sqlserver.jdbc.SQLServerDriver  

url:        jdbc:sqlserver://localhost:1433;DatabaseName=test  

username:   sa  

password:  

  

oracle:     oracle.jdbc.OracleDriver  

url:        jdbc:oracle:thin:@localhost:1521:orcl  

username:   scott  

password:   tiger  

bitsCN.com
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template