为什么我无法连接到新创建的数据库?

时间:2022-03-10 22:45:58

I just created a new database in phpMyAdmin for a new WordPress installation, but I get an error when testing connection:

我刚刚在phpMyAdmin中创建了一个新的数据库,用于新的WordPress安装,但在测试连接时出现错误:

"Connection failed: Unknown MySQL server host 'grow' (1)"

“连接失败:未知的MySQL服务器主机'成长'(1)”

But when I test the default "mysql" db, it's successful. Anyone know what the problem is?

但是当我测试默认的“mysql”db时,它就成功了。谁知道问题是什么?

1 个解决方案

#1


0  

GROW doesn't make any sense as a host name. You want something like localhost, dbserver14.example.com, or 10.123.24.12. Ask you hosting provider or MySQL person what the host name should be.

GROW作为主机名没有任何意义。您需要localhost,dbserver14.example.com或10.123.24.12之类的东西。向主机提供商或MySQL人员询问主机名应该是什么。

#1


0  

GROW doesn't make any sense as a host name. You want something like localhost, dbserver14.example.com, or 10.123.24.12. Ask you hosting provider or MySQL person what the host name should be.

GROW作为主机名没有任何意义。您需要localhost,dbserver14.example.com或10.123.24.12之类的东西。向主机提供商或MySQL人员询问主机名应该是什么。