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/MySQL.php [ 359 ] » Kohana_Database_MySQL->query(arguments)

  4. MODPATH/orm/classes/Kohana/ORM.php [ 1668 ] » Kohana_Database_MySQL->list_columns(arguments)

  5. MODPATH/orm/classes/Kohana/ORM.php [ 444 ] » Kohana_ORM->list_columns()

  6. MODPATH/orm/classes/Kohana/ORM.php [ 389 ] » Kohana_ORM->reload_columns()

  7. MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()

  8. MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)

  9. APPPATH/classes/Controller/Common.php [ 17 ] » Kohana_ORM::factory(arguments)

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

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

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

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

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

  15. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment