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.
不知道是什么问题!希望大家给与帮助!