RuntimeException Object ( [message:protected] => Unable to connect to the database. [string:Exception:private] => [code:protected] => 0 [file:protected] => /var/www/patdy/system/database/DB_driver.php [line:protected] => 433 [trace:Exception:private] => Array ( [0] => Array ( [file] => /var/www/patdy/system/database/DB.php [line] => 219 [function] => initialize [class] => CI_DB_driver [type] => -> ) [1] => Array ( [file] => /var/www/patdy/system/core/Loader.php [line] => 400 [function] => DB ) [2] => Array ( [file] => /var/www/patdy/system/core/Loader.php [line] => 1344 [function] => database [class] => CI_Loader [type] => -> ) [3] => Array ( [file] => /var/www/patdy/system/core/Loader.php [line] => 157 [function] => _ci_autoloader [class] => CI_Loader [type] => -> ) [4] => Array ( [file] => /var/www/patdy/system/core/Controller.php [line] => 86 [function] => initialize [class] => CI_Loader [type] => -> ) [5] => Array ( [file] => /var/www/patdy/paytoday.pro/application/controllers/Main.php [line] => 8 [function] => __construct [class] => CI_Controller [type] => -> ) [6] => Array ( [file] => /var/www/patdy/system/core/CodeIgniter.php [line] => 468 [function] => __construct [class] => Main [type] => -> ) [7] => Array ( [file] => /var/www/patdy/paytoday.pro/index.php [line] => 314 [args] => Array ( [0] => /var/www/patdy/system/core/CodeIgniter.php ) [function] => require_once ) ) [previous:Exception:private] => )