MySQL改密码, WordPress无法连接数据库

MySQL改密码, WordPress无法连接数据库

当你更改 MySQL 密码之后,也要更改 WordPress 根目录里的 wp-config.php 文件里安装时所保存的 MySQL 密码为当前的 MySQL 密码,不然密码都错误,那怎么会连接得上数据库呢。这个没有那么智能的,你不去更改,它是不会知道你改了 MySQL 数据库密码的。

This entry was posted in MySQL. Bookmark the permalink.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s