Thread:Project:Support desk/Mediawiki 1.19.1 - MySQL Database Connection error

Dear support desk team,

I have MySQL server 5.1.73 running on my CentOS machine, and am trying to get Mediawiki installed on another system, to connect to this database server.

However, from the same system, I can connect to the database server, with the same credentials, from the console.

What could be stopping MediaWiki from connecting to the remote database server, eventhough I mention the correct hostname, username and password in my LocalSettings.php?

The error message is as follows (The hostname is intentionally marked as xxxx).

DB connection error: Can't connect to MySQL server on 'xxxxx' (13) (xxxxxx). Check the host, username and password and try again.

Many thanks for your help!

Kind regards