Editing wp-config.php « WordPress Codex
MySQL Alternate Port If your host uses an alternate port number for your database you'll need to change the DB_HOST value in the wp-config.php file to reflect the alternate port provided by your host. For localhost define( 'DB_HOST', 'localhost:3307'); Ot...