SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
2002
/home/mahdiblog/public_html/inc/Database.php
87
#0 /home/mahdiblog/public_html/inc/Database.php(87): PDO->__construct('mysql:host=loca...', 'mahdiblog', '#*&782FGHiUI') #1 /home/mahdiblog/public_html/inc/Database.php(22): Database::get(Array) #2 /home/mahdiblog/public_html/index.php(8): dbConnect() #3 {main}
Jan 20, 2018 15:26PM Fatal error: Call to a member function setTableNames() on a non-object in /home/mahdiblog/public_html/inc/Database.php on line 23