ConnectionManager_Exception

Code: 0

Message: Cannot select database: Access denied for user 'stu'@'localhost' to database 'new_stu_en'

File: /var/www/stu-site/data/www/stu.cn.ua/en/packages/ConnectionManager/ConnectionManager_HandlerMySQL.class.php

Line: 78

Call stack:
#0 /var/www/stu-site/data/www/stu.cn.ua/en/packages/Engine/Engine.class.php(440): ConnectionManager_HandlerMySQL->connect()
#1 /var/www/stu-site/data/www/stu.cn.ua/en/engine.mode.php(38): Engine->connectDatabase()
#2 /var/www/stu-site/data/www/stu.cn.ua/en/packages/Engine/Engine.class.php(765): include_once('/var/www/stu-si...')
#3 /var/www/stu-site/data/www/stu.cn.ua/en/packages/Engine/Engine.class.php(745): Engine::InitializeEngineMode()
#4 /var/www/stu-site/data/www/stu.cn.ua/en/packages/Engine/include.2.6.php(59): Engine::Initialize()
#5 /var/www/stu-site/data/www/stu.cn.ua/en/packages/Engine/starter.2.6.php(34): include('/var/www/stu-si...')
#6 {main}

   73	        }
   74	
   75	        if ($this->_database) {
   76	            mysql_select_db($this->_database);
   77	            if ($e = mysql_error()) {
 >>78	                throw new ConnectionManager_Exception("Cannot select database: ".$e);
   79	            }
   80	        }
   81	
   82	        if ($this->_encoding) {
   83	            $this->query("SET NAMES '{$this->_encoding}'");