Failed to connect to MySQL: Cannot allocate memory