raksmart活动促销

分享

写回答

发帖

我用GD的免费Linux主机间drupal建站总是数据库出错?

互联网出海创业 互联网出海创业 2026 人阅读 | 3 人回复

发表于 2010-2-11 21:57:14 | 显示全部楼层 |阅读模式

提示这句话:Failed to connect to your MySQL database server. MySQL reports the following message: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).Are you sure you have the correct username and password?
Are you sure that you have typed the correct database hostname?
Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.


我在MySQL里已经建了一个数据库,数据库名称 和用户名 密码都填好了 下一步就出现这个错误!

Database host:这个默认的是localhost 不知道对不对?

回答|共 3 个

8897999

发表于 2010-2-12 07:45:19 | 显示全部楼层

难道是空间不支持?

毕竟是免费滴..
RAKSmart

zhshji

发表于 2010-2-12 16:29:48 | 显示全部楼层

我记得godaddy的mysql不是localhost 有个指定的mysql主机名 把数据库的主机名看看仔细 人家是免费 不是残废

风卷

发表于 2010-2-12 23:25:35 | 显示全部楼层

localhost已经改为我的主机名了,还是不成功。但是装Wordpress成功了,可是我讨厌它…
您需要登录后才可以回帖 登录 | 注册

本版积分规则