org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (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.)
I did it before I changed it to localhost
Now the server is not a server with the database
Can only be connected with a domain name
The result appears again
After changing the server, the database password is changed
Unable to create transaction and domain name connection is not related, the landlord’s error message is connection anomaly, check whether it is a network problem.