我想通过IntelliJ IDEA的数据库插件连接到XAMPPphpMyAdmin。我的设置如下:
- 主持人:
localhost
- 数据库:
student
- 用户:
root
- 密码:
[password]
- 网址:
jdbc:mysql://localhost:3306/student
在测试连接时,我收到"连接失败"。
在环境变量中定义MYSQL路径解决了这个问题。
路径: C:\xampp\mysql\bin