How to turn on the MySQL service ?
The MySQL service is not always enabled by default on new Windows Plesk VPS packages. If you are getting an error like:
Error: Test connection to the database server has failed because of network problems:
Failed to connect to database: Can’t connect to MySQL server on ‘localhost’ (10061)
This is most likely due to the MySQL service not running. You can start the service in the Plesk control panel under:
Server >> Services management
In here select the SQL Service and then press ‘auto’ to set it to automatic start. Once that is done just select the SQL Service again and this time press ‘start’ to start the service.
If you are on a Linux VPS then MySQL should already be running.