myeclipse 2015 stable 2.0连接mysql URL错误

来源:互联网 发布:石油钻井数据与油价 编辑:程序博客网 时间:2024/04/30 13:05

myeclipse 2015 stable 2.0连接mysql URL错误


Error while performing database login with the mysql driver: Unable to create connection. Check your URL.


Driver template: MySQL Connector/JDriver name: mysqlConnection URL: jdbc:mysql://127.0.0.1:3306/mydbnameUser name: rootPassword: <my root password>Driver JAR(s): <the path to the mysql-connector-java-5.1.38-bin.jar file>Driver classname: com.mysql.fabric.jdbc.FabricMySQLDriver (only available choice)


换了mysql-connector-java-5.1.38    我的可能有问题。重新下载了一个。

换driverclassname 换为:

                                   com.mysql.jdbc.Driver

成功连接。


0 0