Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mcgescolar/public_html/Connections/DataConnect.php on line 6

Fatal error: Database connection failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/mcgescolar/public_html/Connections/DataConnect.php on line 8