title: GlassFish can't connect to mysql (XAMPP)
body: <p>I'm trying to connect my glassfish with a mysql server (installed via XAMPP) and it says:</p>
  
  <p>Ping Connection Pool failed for jdbc/xxxx. Connection could not be allocated because: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Please check the server.log for more details.</p>
  
  <p>My configs in glassfish are:
  URL: jdbc:mysql://localhost:3306/SIRS
  User: root
  Password: xxxxxxx</p>
  
  <p>Both servers are in the same pc running ubuntu. </p>
  
  <p>I have the same configurations working properly in another pc but without XAMPP installation, I've installed mysql server with apt-get install mysql... command.</p>
  
  <p>Any ideas why is this happening?</p>
  
  <p>Thanks.</p>
  
  <p>JB</p>