I am able to use ssh on a windows machine to connect to pythonanywhere's hostname. I get a $ prompt as expected. When I try to execute mysql localhost -u <myid> -p or mysql -h 127.0.0.1 -u 127.0.0.1 -p I get Enter password: <as expected> That means the mysql command is working and connecting to the remote host or it wouldn't ask for a password. However, when I supply the password, I get: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' I used cd to follow the path above, I find that there is no mysqld folder. /run/ has: 00:16 /var/run $ pwd /var/run 00:25 /var/run $ ls dnsmasq init.upgraded log mount screen shm user initctl lock motd.dynamic postgresql sendsigs.omit.d systemd utmp 00:25 /var/run $
I can use the mysql console in pythonanywhere. Is remote access not enabled? I have a paid account but I just created it about two hours ago.