My project works fine on my local. When i put it on Debian, I am facing an error:
PDO Connection Error: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 110
I searched it on the internet, everyone thinks its because of databases.yml file. I tried lots of one but could not fix the prob.