Forums

Can't connect MySQL Workbench via SSH

I can't connect to it via SSH using the MySQL Workbench.

Here is the info I entered:

SSH Hostname: ssh.pythonanywhere.com:22 SSH

Username: estudomedicina

SSH Password: my PA access password

MySQL Hostname: estudomedicina.mysql.pythonanywhere-services.com MySQL Server Port: 3306

Username: estudomedicina

password: my new password for MySQL

default Schema: estudomedicina$default


I'm geting this error: "Lost connection to MySQL server at 'reading initial communication packet', system error: 0"

If I try to create a tunnel with:

> ssh -L 3305:estudomedicina.mysql.pythonanywhere-services.com:3306 estudomedicina@ssh.pythonanywhere.com

estudomedicina@ssh.pythonanywhere.com's password: my PA access password

I get "Connection to ssh.pythonanywhere.com closed."

I am a free account,

Can someone help me?

Unfortunately SSH access is a paid-only feature on PythonAnywhere, so you can't access your MySQL database from outside our systems with a free account.

Thanks!