Home >Backend Development >PHP Tutorial >PhpStorm 这东东如何连接mysql

PhpStorm 这东东如何连接mysql

WBOY
WBOYOriginal
2016-06-13 10:14:131045browse

PhpStorm 这东东怎么连接mysql?
我在data source里面设置了驱动mysql-connector-java-5.1.18-bin.jar 
url里面搞了 jdbc://mysql://localhost:3306
test时提示Incorrect driver and/or connection setting specified. 那里没有设置对吗?

------解决方案--------------------
JDBC Driver FIles:
mysql-connector-java-5.1.18-bin.jar, mysql-connector-license.txt

JDBC Driver Class:
com.mysql.jdbc.Driver

DATABASE URL
jdbc:mysql://localhost:3306/

UserName:
root

Password:
******

如上所示 即可.


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