PDOException Object ( [message:protected] => SQLSTATE[HY000] [2002] No route to host [string:Exception:private] => [code:protected] => 2002 [file:protected] => /home/stcw01/public_html/developers/system/database/drivers/pdo/pdo_driver.php [line:protected] => 136 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/stcw01/public_html/developers/system/database/drivers/pdo/pdo_driver.php [line] => 136 [function] => __construct [class] => PDO [type] => -> [args] => Array ( [0] => mysql:host=10.0.0.7;dbname=studdb2;charset=utf8mb4 [1] => studuser1 [2] => daftary@shivaji.db.stud.user1 [3] => Array ( [1002] => SET SESSION sql_mode = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE( @@sql_mode, "STRICT_ALL_TABLES,", ""), ",STRICT_ALL_TABLES", ""), "STRICT_ALL_TABLES", ""), "STRICT_TRANS_TABLES,", ""), ",STRICT_TRANS_TABLES", ""), "STRICT_TRANS_TABLES", "") ) ) ) [1] => Array ( [file] => /home/stcw01/public_html/developers/system/database/drivers/pdo/subdrivers/pdo_mysql_driver.php [line] => 182 [function] => db_connect [class] => CI_DB_pdo_driver [type] => -> [args] => Array ( [0] => ) ) [2] => Array ( [file] => /home/stcw01/public_html/developers/system/database/DB_driver.php [line] => 401 [function] => db_connect [class] => CI_DB_pdo_mysql_driver [type] => -> [args] => Array ( [0] => ) ) [3] => Array ( [file] => /home/stcw01/public_html/developers/system/database/DB.php [line] => 216 [function] => initialize [class] => CI_DB_driver [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /home/stcw01/public_html/developers/system/core/Loader.php [line] => 399 [function] => DB [args] => Array ( [0] => Array ( [dsn] => mysql:host=10.0.0.7;dbname=studdb2;charset=utf8mb4 [hostname] => 10.0.0.7 [username] => studuser1 [password] => daftary@shivaji.db.stud.user1 [database] => studdb2 [dbdriver] => pdo [dbprefix] => [pconnect] => [db_debug] => 1 [cache_on] => [cachedir] => [char_set] => utf8 [dbcollat] => utf8_general_ci [swap_pre] => [encrypt] => [compress] => [stricton] => [failover] => Array ( ) [save_queries] => 1 ) [1] => ) ) [5] => Array ( [file] => /home/stcw01/public_html/developers/system/core/Loader.php [line] => 1354 [function] => database [class] => CI_Loader [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /home/stcw01/public_html/developers/system/core/Loader.php [line] => 157 [function] => _ci_autoloader [class] => CI_Loader [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /home/stcw01/public_html/developers/system/core/Controller.php [line] => 86 [function] => initialize [class] => CI_Loader [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /home/stcw01/public_html/developers/system/core/CodeIgniter.php [line] => 518 [function] => __construct [class] => CI_Controller [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /home/stcw01/public_html/developers/index.php [line] => 315 [args] => Array ( [0] => /home/stcw01/public_html/developers/system/core/CodeIgniter.php ) [function] => require_once ) ) [previous:Exception:private] => [errorInfo] => )