Home >Database >Mysql Tutorial >utf-8-jdbc连接问题!·······

utf-8-jdbc连接问题!·······

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:33:451096browse

utf-8mysqljdbc

jdbc:mysql://localhost:3306/test?useUnicode\=true&characterEncoding\=UTF-8
今天看一个项目这样写url jdbc\这是什么意思啊?为什么要加个\啊?有什么作用啊?
我一般这样写着两者什么区别吗?
jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8

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