What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello, Do you happen to know what might be a reason of failing connection to DB on local setup? ```C

U015HHFCU1M
U015HHFCU1M Posts: 81 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Hello,
Do you happen to know what might be a reason of failing connection to DB on local setup?

Could not connect to address=(host=localhost)(port=3306)(type=master) : Socket fail to connect to host:localhost, port:3306. Connection refused: connect
java.net.ConnectException: Connection refused: connect.

Comments

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    as @U01J3GPTA1H had a similar issue maybe his solutions helps:

    docker/sdk clean-data
    docker/sdk up --data
    docker/sdk console q:w:s -v -s
    

    and then try connecting again

  • U019D1B44E8
    U019D1B44E8 Posts: 5 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Do you already have another mysql instance running ?

  • U015HHFCU1M
    U015HHFCU1M Posts: 81 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    No I do not.
    Interesting is that in case I'm switching to postgress, I can connect.