The connection to the database server could not be established.

The error message of the database server:
Can't connect to MySQL server on 'localhost' (10061)