我用GD的免费Linux主机间drupal建站总是数据库出错?
|
|
提示这句话: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 不知道对不对? |
|
|
|
|
|
|
|
|
|
|
8897999
发表于 2010-2-12 07:45:19
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
zhshji
发表于 2010-2-12 16:29:48
|
显示全部楼层
|
我记得godaddy的mysql不是localhost 有个指定的mysql主机名 把数据库的主机名看看仔细 人家是免费 不是残废 |
|
|
|
|
|
|
|
|
|
|
风卷
发表于 2010-2-12 23:25:35
|
显示全部楼层
|
localhost已经改为我的主机名了,还是不成功。但是装Wordpress成功了,可是我讨厌它… |
|
|
|
|
|
|
|
|