简体   繁体   English

为什么我不能连接到新创建的数据库?

[英]Why can't I connect to newly created database?

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. 但是,当我测试默认的“ mysql”数据库时,它是成功的。 Anyone know what the problem is? 有人知道是什么问题吗?

GROW doesn't make any sense as a host name. GROW作为主机名没有任何意义。 You want something like localhost , dbserver14.example.com , or 10.123.24.12 . 您需要类似localhostdbserver14.example.com10.123.24.12 Ask you hosting provider or MySQL person what the host name should be. 询问您的托管服务提供商或MySQL人员应该使用的主机名。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM