1.com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
Analysis of reasons: the internal server, mysql connection, is connected with 127.0.0.1. Even mysql server, you need to connect with the external network if on their computers.
2.