Article From:

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

Answer 0:

After changing the server, the database password is changed

Answer 1:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *