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. APPPATH/classes/Model/User.php [ 5156 ] » Kohana_Database_Query->execute()

  5. APPPATH/classes/Controller/Common.php [ 92 ] » Model_User->register_guest()

  6. SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Common->before()

  7. {PHP internal call} » Kohana_Controller->execute()

  8. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  9. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  10. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  11. DOCROOT/index.php [ 123 ] » Kohana_Request->execute()

Environment