How To Force WordPress to Connect to the Database via TCP
erics, October 2nd, 2013
wp-config.php
1 2 |
define('DB_HOST', '127.0.0.1:3306'); define('DB_PORT', 3306); |