配置wordpress的wp-config.php文件的时候.
把MySQL主机配置成localhost,可能会让wordpress报错提示连接不上数据库
出现这种情况应该吧localhost改成127.0.0.1
/** MySQL主机 */
define('DB_HOST', 'localhost');
/** MySQL主机 */
define('DB_HOST', '127.0.0.1');
配置wordpress的wp-config.php文件的时候.
把MySQL主机配置成localhost,可能会让wordpress报错提示连接不上数据库
出现这种情况应该吧localhost改成127.0.0.1
/** MySQL主机 */
define('DB_HOST', 'localhost');
/** MySQL主机 */
define('DB_HOST', '127.0.0.1');