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/views/agendamento/candidato.php [ 6 ] » Kohana_Database_Query->execute()

  5. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()

  8. APPPATH/views/Index.php [ 62 ] » Kohana_View->__toString()

  9. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

  10. SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)

  11. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  12. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

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

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

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

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

  17. DOCROOT/index.php [ 117 ] » Kohana_Request->execute()

Environment