Warning (2): PDO::__construct(): MySQL server has gone away [CORE\Cake\Model\Datasource\Database\Mysql.php, line 183]
Warning (2): PDO::__construct() [pdo.--construct]: Error while reading greeting packet. PID=4412 [CORE\Cake\Model\Datasource\Database\Mysql.php, line 183]
Warning (2): PDO::__construct() [pdo.--construct]: MySQL server has gone away [CORE\Cake\Model\Datasource\Database\Mysql.php, line 183]
Warning (2): PDO::__construct() [pdo.--construct]: Error while reading greeting packet. PID=4412 [CORE\Cake\Model\Datasource\Database\Mysql.php, line 183]
CakePHP: the rapid development php framework: Errors

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2006] MySQL server has gone away

Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp

Stack Trace