发新话题
打印

在php1h.com安装失败!

在php1h.com安装失败!

php1h.com一个国外比较稳定的免费空间,我上传wordpress后,在提供的Mysql中创建了一个数据库:
p1_596689_wordpress,然后在wp-config.php中修改了内容为以下:


define('DB_NAME', 'p1_596688_wordpress');    // The name of the database
define('DB_USER', 'p1_596688');     // Your MySQL username
define('DB_PASSWORD', 'xxxxxxxx'); // ...and password
define('DB_HOST', 'sql1.php1h.com');    // 99% chance you won't need to change this value


然后进行安装:http://xxx.php1h.com//wordpress/wp-admin/install.php

但是出现了错误:

Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at sql1.php1h.com. This could mean your host's database server is down.

    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

  不知道是什么问题!希望大家给与帮助!

TOP

提示信息很明确,无法连接数据库,可能是用户名或密码错误,或者是无法连接数据库服务器
WordZine -- All about WordPress

TOP

用户名和密码都没有错,数据库也创建了!
很有可能是Mysql数据库无法连接到缘故!
有没有使用php1h.com的朋友?

TOP

wordpress中的文件在UNIX主机中哪些文件需要设置权限?就是改为777

TOP

换了另一个免费的虚拟主机,和php1h.com相同的管理界面就可以成功安装了!

TOP

引用:
原帖由 11see 于 2007-5-14 10:27 PM 发表
wordpress中的文件在UNIX主机中哪些文件需要设置权限?就是改为777
一般不需要设置可写,有的时候wp-content这个目录要设置可写

TOP

发新话题