MAMP - WSO2 DSS - Error establishing data source connection: Communications link failure The last packet sent successfully to the server

StackOverflow https://stackoverflow.com/questions/13668871

  •  04-12-2021
  •  | 
  •  

Pergunta

I'm running MAMP and WSO2 Carbon data service at the same time. What I'm trying to do is adding a new data source by connecting to mysql server. I have added the com.mysql.jdbc.Driver to lib folder.

Full error which I'm getting when trying to test the connection

Error establishing data source connection: 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.

enter image description here

Outras dicas

In my case simply putting useSSL=false on end of connection string did the magic

jdbc:mysql://localhost:3306/USERS?useSSL=false

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top