配置penfire出现A connection to the database could not be made. ...错误

来源:互联网 发布:mysql安装包下载 64位 编辑:程序博客网 时间:2024/04/28 11:06


把数据库URL 改为这样 jdbc:mysql://127.0.0.1:3306/[数据库名字]

若果数据库名字为 test

则修改为jdbc:mysql://127.0.0.1:3306/test


注意,有些机器的环境把127.0.0.1换成localhost是不行的。


0 0