Database_Exception [ 0 ]:

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

58 		{
59 			// No connection exists
60 			$this->_connection = NULL;
61 
62 			// Unable to connect to the database
63 			throw new Database_Exception(':error',
64 				array(':error' => mysql_error()),
65 				mysql_errno());
66 		}
67 
68 		if ( ! mysql_select_db($database, $this->_connection))
  1. MODPATH/database/classes/kohana/database/mysql.php [ 131 ] » Kohana_Database_MySQL->connect()

  2. MODPATH/database/classes/kohana/database/mysql.php [ 217 ] » Kohana_Database_MySQL->query(arguments)

  3. MODPATH/orm/classes/kohana/orm.php [ 1081 ] » Kohana_Database_MySQL->list_columns(arguments)

  4. MODPATH/orm/classes/kohana/orm.php [ 990 ] » Kohana_ORM->list_columns()

  5. MODPATH/orm/classes/kohana/orm.php [ 485 ] » Kohana_ORM->reload_columns()

  6. MODPATH/orm/classes/kohana/orm.php [ 137 ] » Kohana_ORM->_initialize()

  7. MODPATH/orm/classes/kohana/orm.php [ 115 ] » Kohana_ORM->__construct(arguments)

  8. APPPATH/classes/controller/main.php [ 17 ] » Kohana_ORM::factory(arguments)

  9. {PHP internal call} » Controller_Main->before()

  10. SYSPATH/classes/kohana/request.php [ 840 ] » ReflectionMethod->invoke(arguments)

  11. APPPATH/bootstrap.php [ 111 ] » Kohana_Request->execute()

  12. DOCROOT/index.php [ 104 ] » require(arguments)

Environment