My website's hosting is throwing the following error when trying to connect via a subdomain using 'localhost' as the MySQL host:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
On other subdomains, we connect to MySQL using the full URL (e.g. forums.domain.com) but when I do that with this new domain I get the following error:
Lost connection to MySQL server at 'reading initial communication packet', system error: 111
I also tried using "domain.com" as the server, and that also resulted in an error 111.