Code Monkey home page Code Monkey logo

Comments (4)

spnkr avatar spnkr commented on August 16, 2024 1

I'm having the same problem. I'm using digitalocean. I've tried connecting via Sequel Pro (mac app), and the command line mysql, but neither work. Help!

from dokku-mysql.

josegonzalez avatar josegonzalez commented on August 16, 2024

Please ensure you do not have iptables or ufw enabled and blocking that port.

from dokku-mysql.

mtzfactory avatar mtzfactory commented on August 16, 2024

Hi,

Thanks for the answer... but no iptables neither ufw... :-/

What else?

$ sudo ufw status verbose
Status: inactive
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy DROP)
target     prot opt source               destination
DOCKER-USER  all  --  anywhere             anywhere
DOCKER-ISOLATION  all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
DOCKER     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere
ACCEPT     all  --  anywhere             anywhere

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain DOCKER (1 references)
target     prot opt source               destination

Chain DOCKER-ISOLATION (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

Chain DOCKER-USER (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

from dokku-mysql.

josegonzalez avatar josegonzalez commented on August 16, 2024

If you are on digitalocean, the most common issue is that you did not expose your database - there is a subcommand for it, run dokku mysql:help expose to get usage information - and that ufw is enabled. Either disable it or open up the port for it.

ufw may also say its not enabled but is actually running, so turn it off if possible.

from dokku-mysql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.