How To Change MySQL Database Port In WordPress Blog?

Posted by

Hello All,

In order to change the MySQL database Port for wordpress one need to edit wp-config.php file from the server. One need to edit below mentioned code in the file:

define(‘DB_HOST’, ‘hostserver:3307’);

One can set MySQL database port which can be provided by hosting provider and save the file to apply changes.


Shane G.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.