修复wordpress数据库无法连接问题

刷新如下网址

http://youdomain/wordpress/wp-admin/maint/repair.php

如下图所示操作

ssh登录vps,vi编辑器打开wp-config.php,

/vi ./usr/share/nginx/html/wordpress/wp-config.php

点击修复数据库

删除刚才添加的内容

Leave a Reply

Your email address will not be published. Required fields are marked *