BaseException: Database Connection Failed

Additional information:

  • PDO error: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
  • DSN: mysql:host=localhost;dbname=portfolio;charset=utf8
/home/mycompan/epan.in/lib/Frontend.php:94
FileObject NameStack TraceHelp
/home/mycompan/epan.in/vendor/xepan/atk4/lib/DB.php:107 front_db_2DB->exception("Database Connection Failed")
/home/mycompan/epan.in/vendor/xepan/atk4/lib/App/CLI.php:561 front_db_2DB->connect(Array(4))
/home/mycompan/epan.in/lib/Frontend.php:94 frontFrontend->dbConnect()
/home/mycompan/epan.in/vendor/xepan/atk4/lib/AbstractView.php:181 frontFrontend->defaultTemplate()
/home/mycompan/epan.in/vendor/xepan/atk4/lib/App/Web.php:81 frontFrontend->initializeTemplate()
/home/mycompan/epan.in/lib/Frontend.php:21 frontFrontend->init()
/home/mycompan/epan.in/vendor/xepan/atk4/lib/App/CLI.php:213 frontFrontend->init()
/home/mycompan/epan.in/vendor/xepan/atk4/lib/App/Web.php:44 frontFrontend->__construct("front", Array(0))
/home/mycompan/epan.in/index.php:12 frontFrontend->__construct("front")