Calling Developers!
We are reenergizing our code contribution process! Learn More

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

Options
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
    Options

    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
    Options

    Do you already have another mysql instance running ?

  • U015HHFCU1M
    U015HHFCU1M Posts: 81 🧑🏻‍🚀 - Cadet
    Options

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