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


#1

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


#2

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


#3

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


#4

Not yet, but very soon! :slight_smile:


#5

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


#6

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.


#7

@ledgr @mantas.daraciunas please look at it.


#8

It is working fine now :slight_smile: Thanks!