What to do when database push fails in Wordmove

Database connection error with Wordmove

When using Wordmove to push a database, the following error message may appear

“Can’t connect to MySQL server on ‘example.com’ (111)” when trying to connect (Wordmove::ShellCommandError)

This error message indicates a problem connecting to the MySQL server.

Solution.

A common cause of this problem may be due to port settings in the movefile. If the port has been changed in a particular configuration, the following settings may exist

port: "3308"

Commenting out this setting and using the default port (usually 3306) may eliminate the error.

#port: "3308" # Use just in case you have an exotic server config

Summary

If Wordmove fails to push the database, checking the port settings in the movefile will likely resolve the problem. Trying to connect using the default settings will avoid many connection errors.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top