Myeclipse连接Mysql数据库时报错:Error while performing database login with the pro driver:unable
2017-05-11 22:36
501 查看
Myeclipse连接Mysql数据库时报错:Error while performing database login with the pro driver:unable
注意以下步骤基本就能解决问题了:
Myeclipse连接Mysql数据时主要有以下几个参数需要设置:
driver template: Mysql connector/j(下拉框进行选择)
driver name: 任意填,最好是数据库名称,方便查找
connection URL: jdbc:mysql://localhost:3306/programmableweb
User name: 用户名
password: 密码
Driver jars: 添加jar包mysql-connector-java-5.1.40-bin.jar(看了别的资料说最好路径是英文,不清楚是否真的有影响,我的路径是全英文。)
Driver classname: com.mysql.jdbc.Driver(下拉框进行选择)
点击Test Driver测试,以上的任意一步选错或填错都会连接不成功,因此每一步都需要十分仔细,粗心大意的我就是在第7步选错了,没错!第7步是可以选的!每一种数据库的连接方式都不同,但是原理差不多,希望以上笔记对大家有帮助。
注意以下步骤基本就能解决问题了:
Myeclipse连接Mysql数据时主要有以下几个参数需要设置:
driver template: Mysql connector/j(下拉框进行选择)
driver name: 任意填,最好是数据库名称,方便查找
connection URL: jdbc:mysql://localhost:3306/programmableweb
User name: 用户名
password: 密码
Driver jars: 添加jar包mysql-connector-java-5.1.40-bin.jar(看了别的资料说最好路径是英文,不清楚是否真的有影响,我的路径是全英文。)
Driver classname: com.mysql.jdbc.Driver(下拉框进行选择)
点击Test Driver测试,以上的任意一步选错或填错都会连接不成功,因此每一步都需要十分仔细,粗心大意的我就是在第7步选错了,没错!第7步是可以选的!每一种数据库的连接方式都不同,但是原理差不多,希望以上笔记对大家有帮助。
相关文章推荐
- MyEclipse中连接mysql数据库提示error while performing database login with the testMySQL driver check your url
- MyEclipse中连接mysql数据库提示error while performing database login with the testMySQL driver check your url
- 在MyEclipse中配置Oracle10g的连接报错:error while performing database login with the oracle driver
- 在MyEclipse中配置Oracle10g的连接报错:error while performing database login with the oracle driver
- eclipse中配置连接db2异常(error while performing database login with the db2 driver;unable to create connec)
- myeclipse error while performing database login with the MySQL driver
- 为纪念myeclipse:error while performing database login with the ### driver而生
- Error while performing database login with the sqljdbc driver:Unable to create connection. Check you
- Error while performing database login with the sqljdbc driver:Unable to create connection. Check your URL.
- error while performing database login with the Dome driver:unable to create connection.check yoururl
- error while performing database login with the mysql driver 的解决方法
- Error while performing database login with the com.mysqtest driver
- Error while preforming database login with the "sqlserver" driver Unable to create...
- error while performing database login with the oracle driver
- Error while performing database login with the mysql driver
- Error while preforming database login with the sql driver Unable to create connection解决
- error while performing databases login with sqlserver driver:unable to create connection
- Error while preforming database login with the sql driver Unable to create...
- eclipse : Error while performing database login with the driver null
- eclipse : Error while performing database login with the driver null