Kubernetes authoritative guide com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database errors

Kubernetes authoritative guide from the first chapter in a simple example

There will be such a mistake com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database,

After Finds docker mysql mirrored version of the problem.

Some say the Internet can run 5.6, but I'm here or not,

Error:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: 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.

5.6 version or there is an error, and later upgraded to 5.7 on OK.

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/13579net/p/11922689.html