Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

A couple of hours ago I started to get the error “Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’” in my PHP-scripts. Did I hit some limit?
The scripts weren’t changed, and everything had been working smoothly a couple of hours ago…
The link to test: https://ka5.000webhostapp.com/php/chart.php?device=1

There’s some maintenance on one FTP server :slight_smile:

Thanks for the reply. Any estimation when the maintenance will be over?

Not yet, but very soon! :slight_smile:

More than 12 hrs have passed, and the problem is still there…
I’m wondering what “very soon” means in your estimation :wink:

Anyway it looks very strange that some FTP maintenance could block MySQL connection…
BTW phpMyAdmin works fine (same as 12+ hrs ago), so apparently the problem is related to something else.

@ledgr @mantas.daraciunas please look at it.

It is working fine now :slight_smile: Thanks!

1 Like