Hi,
I tried to migrate my site to new server and i got below error. Kindly check and help me to resolve this.
Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Steps done:
1. Created new database on new server
2. import existing database to new server
3. uploaded files to new server [vdeck panel]
4. updated settings.inc.php in config folder
5.updated new nameserver details to domain.
Regards
Parthi