Alternate database port
-
Hi Cory,
Long time fan, first time commenter.
I’ve been trying to use Duplicator to transfer a site to Media Temple Managed WP hosting. Connecting to the database was failing, and their support suggested it is because they use port 3312.
When I navigate to
/installer.phpand enter a port option in the database hostname (e.g.path.to.db.host:3312), I get a connection error.Browsing through the installer.php file, it looks like you are checking for an alternate db port on lines 157/158. But the only way I can get it to connect to the db is to:
1.) Hardcode the new port number on line 157/158 of the installer.php file
2.) Omit the port option in the hostname when entering connection details on the front end.After that, it connects without issue.
Any other suggestions for dealing with alternate port numbers?
The topic ‘Alternate database port’ is closed to new replies.