Database Connection Error

Unable to connect to the database with user divyasol1_db on localhost.

Error: SQLSTATE[HY000] [2002] No such file or directory

How to fix: Open config/db.php on your server and verify that DB_USER, DB_PASS, and DB_NAME match your cPanel MySQL Database credentials.