Forums

I can't access MySql externally

Hello again, I really need support , I have a payment account and I already read the posts and tutorials that you have sent me but still I cannot access that is why I write.

I have my pythonanywhere account but I cannot access my databases from my computer.

I have tried the ssh tunnel and it doesn't work.

The error it shows me is that it cannot access anything else.

Thank you and please answer only professionals ,I can search online tutorials without having to write here.

What do you mean by "I have tried the ssh tunnel and it doesn't work."? We need more details to help you. Are you able to just SSH into your PythonAnwhere account with credentials you use to establish SSH tunnel? Send us an email if you do not want to post details on public forums.

Hello, thank you very much for responding so quickly.

The error I am having is:

"Can't connect to MySQL server"

I have tried the following hosts:

username.pythonanywhere.com username.mysql.pythonanywhere-services.com ssh.pythonanywhere.com

Thank you very much in advance.

Greetings

When I say that the ssh tunnel has not worked it is because I have tried to start using the SSH tunnel in Heidy SQL.

Thanks in advance

Have you checked this help page already: https://help.pythonanywhere.com/pages/AccessingMySQLFromOutsidePythonAnywhere/?

Hello, very good morning, yes I ready come from that page.

To be sure , must access as I understand from: username.mysql.pythonanywhere-services.com

In addition to username and password.

It is right?

Thank you very much in advance

Yes, you need to use your username and password - making sure that you're using the correct pair for the tunnel connection and for the database connection. The page that is linked to earlier indicates which hostname to use where.

Perfect, thanks so much.

Have a nice day .

Greatings