Database_Exception [ 8192 ]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

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

62 		catch (Exception $e)
63 		{
64 			// No connection exists
65 			$this->_connection = NULL;
66 
67 			throw new Database_Exception(':error',
68 				array(':error' => $e->getMessage()),
69 				$e->getCode());
70 		}
71 
72 		// \xFF is a better delimiter, but the PHP driver uses underscore
  1. MODPATH/database/classes/kohana/database/mysql.php [ 171 ] » Kohana_Database_MySQL->connect()

  2. APPPATH/classes/model/politicadeprivacidade.php [ 34 ] » Kohana_Database_MySQL->query(arguments)

  3. MODPATH/orm/classes/kohana/orm.php [ 39 ] » Model_Politicadeprivacidade->__construct(arguments)

  4. APPPATH/classes/controller/index.php [ 35 ] » Kohana_ORM::factory(arguments)

  5. APPPATH/classes/controller/ajax.php [ 8 ] » Controller_Index->before()

  6. {PHP internal call} » Controller_Ajax->before()

  7. SYSPATH/classes/kohana/request/client/internal.php [ 104 ] » ReflectionMethod->invoke(arguments)

  8. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  9. SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)

  10. DOCROOT/index.php [ 109 ] » Kohana_Request->execute()

Environment