Table of contents
Second, find the specific reason for the error
1. Encountered problems
When there are multiple mysql versions on the computer. The execution path of the previous mysql version may be enabled, so this mysql connection error occurs.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failu