Kohana_Exception [ 2003 ]: SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'rdsmpxu0mwx27jbycfbc7.mysql.rds.aliyuncs.com' (4 "Interrupted system call")

APPPATH/library/Database/PDO.php [ 59 ]

54 			// Create a new PDO connection
55 			$this->_connection = new PDO($dsn, $username, $password, $options);
56 		}
57 		catch (PDOException $e)
58 		{
59 			throw new Kohana_Exception(':error',
60 				array(':error' => $e->getMessage()),
61 				$e->getCode());
62 		}
63 
64 		if ( ! empty($this->_config['charset']))
  1. APPPATH/library/Database/PDO.php [ 231 ] » Database_PDO->connect()

  2. APPPATH/library/Kohana/Database.php [ 486 ] » Database_PDO->escape(arguments)

  3. {PHP internal call} » Kohana_Database->quote(arguments)

  4. APPPATH/library/Database/Query.php [ 172 ] » array_map(arguments)

  5. APPPATH/library/Database/Query.php [ 209 ] » Database_Query->compile(arguments)

  6. APPPATH/models/Area.php [ 311 ] » Database_Query->execute()

  7. APPPATH/models/Base.php [ 73 ] » AreaModel::getCurrentAreaByIpLocation()

  8. APPPATH/models/Base.php [ 46 ] » BaseModel->_initArea()

  9. APPPATH/controllers/Base.php [ 20 ] » BaseModel->__construct(arguments)

  10. {PHP internal call} » BaseController->init()

  11. SYSPATH/index.php [ 8 ] » Yaf_Application->run()

Environment