error while performing database login with the mysql driver 的解决方法

使用myeclipse 连接MySQL

1.排除驱动包问题
2.已成功安装MySQL,在Navicat for Mysql 中能连接MySQL
3.127.0.0.1不能解决问题

错误截图
1.
在这里插入图片描述
2.
在这里插入图片描述

解决方式:

jdbc:mysql://localhost/mysql?user=root&password=123456/DB_name
解决!!!!!!!感谢博主:
https://blog.csdn.net/weixin_38353851/article/details/71055211

猜你喜欢

转载自blog.csdn.net/qq_39944559/article/details/90704497