Database_Exception [ ]:

MODPATH/database/classes/kohana/database/mysql.php [ 108 ]

103 	protected function _select_db($database)
104 	{
105 		if ( ! mysql_select_db($database, $this->_connection))
106 		{
107 			// Unable to select database
108 			throw new Database_Exception(':error',
109 				array(':error' => mysql_error($this->_connection)),
110 				mysql_errno($this->_connection));
111 		}
112 
113 		Database_MySQL::$_current_databases[$this->_connection_id] = $database;
  1. MODPATH/database/classes/kohana/database/mysql.php [ 75 ] » Kohana_Database_MySQL->_select_db(arguments)

  2. MODPATH/database/classes/kohana/database/mysql.php [ 171 ] » Kohana_Database_MySQL->connect()

  3. MODPATH/database/classes/kohana/database/query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)

  4. DOCROOT/tools/classes/model/destinations.php [ 111 ] » Kohana_Database_Query->execute()

  5. APPPATH/classes/common.php [ 650 ] » Model_Destinations::gen_web_list()

  6. APPPATH/bootstrap.php [ 188 ] » Common::cache_web_list()

  7. DOCROOT/index.php [ 126 ] » require(arguments)

Environment