Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException

前端 未结 3 2054
花落未央
花落未央 2021-02-08 21:56

when i run my code, i get this exception:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully         


        
3条回答
  •  温柔的废话
    2021-02-08 22:39

    DB is down. You must start the DB server and check connectivity with either telnet or mysql command line client first.

提交回复
热议问题