elixir-ecto / db_connection

Database connection behaviour
http://hexdocs.pm/db_connection/DBConnection.html
306 stars 113 forks source link

Repeated timeout of the connection #205

Closed MeerKatDev closed 5 years ago

MeerKatDev commented 5 years ago

The DB connection works well when there's a request to resolve, but this message

[error] MyXQL.Connection (#PID<0.389.0>) failed to connect: ** (DBConnection.ConnectionError) timeout

keeps appearing on the console. How do I stop it?

josevalim commented 5 years ago

Please provide more information on how and when this issue happens, versions or even a mechanism to reproduce, otherwise there isn’t much we can do help. But typically, this happens because of wrong credentials or wrong configuration, so we can’t connect to the server.

josevalim commented 5 years ago

Please let us know if you have more information and we will gladly reopen it. Thank you!