This is an example log error, all connections seem to fail:
{ "_index": "logstash-2015.07.02", "_type": "mediawiki", "_id": "N9x_4zjSQ_GFOq_TMq7B0Q", "_score": null, "_source": { "message": "Error connecting to 10.192.16.17: Can't connect to MySQL server on '10.192.16.17' (4)", "@version": 1, "@timestamp": "2015-07-02T14:13:59.391Z", "type": "mediawiki", "host": "mw2206", "level": "ERROR", "tags": [ "syslog", "es", "es", "normalized_message_untrimmed" ], "channel": "wfLogDBError", "url": "/w/api.php", "ip": "10.192.33.6", "http_method": "GET", "server": "en.wikipedia.org", "referrer": null, "uid": "ff1f951", "process_id": 25817, "wiki": "enwiki", "db_server": "10.192.16.17", "db_name": "metawiki", "db_user": "wikiuser", "method": "DatabaseMysqlBase::open", "error": "Can't connect to MySQL server on '10.192.16.17' (4)", "normalized_message": "Error connecting to 10.192.16.17: Can't connect to MySQL server on '10.192.16.17' (4)" }, "sort": [ 1435846439391 ] }
Curl from the mediawiki hosts to the mysql port works, and grants seem to include the host for the user wikiuser. We will need more investigation to understand why this is failing. skip_name_resolve is enabled too.