Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 10 章 MySQL Connectors

目錄

10.1. JDBC
10.2. ODBC
10.3. MySQL native driver for PHP - mysqlnd
10.4. python-mysqldb

10.1. JDBC

JDBC connection settings

		
jdbc:mysql://hostname:port/database?autoReconnect=true&useUnicode=true&characterEncoding=utf8
		
		

confluence.cfg.xml

		
<property name="hibernate.connection.url">jdbc:mysql://hostname:port/database?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf8</property>