日期:2014-05-17  浏览次数:20560 次

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:
******

如上所示 即可.