this is my problem as for this problem set 7. The message pops up after I have tried to chmod php, files, and directories as said on other websites.
Fatal error: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /home/ubuntu/workspace/pset7/vendor/library50-php-5/CS50/CS50.php on line 314
Could anyone help me out here, I am dealing with this problem for a while.
Thanks