WordPress在服务器lnmp一键安装包环境下,安装一直出现连接数据库问题
Welcome to WordPress. Before getting started, you will need to know the following items
1. Database name
2. Database username
3. Database password
4. Database host
5. Table prefix (if you want to run more than one WordPress in a single database)
This information is being used to create a wp-config.php file. lf for any reason this automatic file creation
does not work, do not worry. All this does is fill in the database information to a configuration file. You
may also simply open wp-config-sample.php in a text editor, fill in your information, and save it as wp.
config.php. Need more help? Read the support article on wp-config.php.
In all likelihood, these items were supplied to you by your web host, lf you do not have this information, then you
will need to contact them before you can continue. lf you are ready..
出现这个问题是因为服务器上的文件夹没有写入的权限问题,结局方法只需设置下目录权限即可。
chown -R www:ftp /home/wwwroot/myweb
myweb为网站目录
文章评论(0)