PDOException: SQLSTATE[HY000] [2002] No route to host in /home/idesign/public_html/Class/Database.php:87
Stack trace:
#0 /home/idesign/public_html/Class/Database.php(87): PDO->__construct('mysql:host=loca...', 'learning', 'c;B4.sb7y%du')
#1 /home/idesign/public_html/Manager/UserManager.php(25): Database->__construct('localhost:3306', 'learning_etvfun', 'learning', 'c;B4.sb7y%du', 'utf8mb4')
#2 /home/idesign/public_html/clientAuthentication.php(26): UserManager->__construct('localhost:3306', 'learning_etvfun', 'learning', 'c;B4.sb7y%du', 'utf8mb4')
#3 /home/idesign/public_html/news.php(3): require_once('/home/idesign/p...')
#4 {main}PDOException: SQLSTATE[HY000] [2002] No route to host in /home/idesign/public_html/Class/Database.php:87
Stack trace:
#0 /home/idesign/public_html/Class/Database.php(87): PDO->__construct('mysql:host=loca...', 'learning', 'c;B4.sb7y%du')
#1 /home/idesign/public_html/Manager/RoleManager.php(22): Database->__construct('localhost:3306', 'learning_etvfun', 'learning', 'c;B4.sb7y%du', 'utf8mb4')
#2 /home/idesign/public_html/clientAuthentication.php(27): RoleManager->__construct('localhost:3306', 'learning_etvfun', 'learning', 'c;B4.sb7y%du', 'utf8mb4')
#3 /home/idesign/public_html/news.php(3): require_once('/home/idesign/p...')
#4 {main}
Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/idesign/public_html/Class/Database.php:45
Stack trace:
#0 /home/idesign/public_html/Class/Database.php(170): Database->RunSql('SELECT id FROM ...', 'SELECT')
#1 /home/idesign/public_html/Manager/UserManager.php(1511): Database->DbSelect('SELECT id FROM ...')
#2 /home/idesign/public_html/clientAuthentication.php(31): UserManager->GetUserLoginToken(NULL)
#3 /home/idesign/public_html/news.php(3): require_once('/home/idesign/p...')
#4 {main}
thrown in /home/idesign/public_html/Class/Database.php on line 45