Page MenuHomeDevCentral

Allow remote connection to Ysul MySQL server
Closed, ResolvedPublic

Description

From Ysul or a jail:

$ mysql -h 212.83.187.132
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0

From Dwellers:

$ docker run -it --rm nasqueron/mysql bash
$ mysql -h ysul.nasqueron.org
Access denied for user 'root'@'dwellers.nasqueron.org' (using password: NO)

Strangely, localhost works, ysul.nasqueron.org from another server works but not internally.

Event Timeline

dereckson renamed this task from Allow remote connection to Ysul mysql server to Allow remote connection to Ysul MySQL server.Feb 15 2016, 19:39
dereckson closed this task as Resolved.EditedFeb 17 2016, 02:19

Diagonostic

Our own IP has been blacklisted by sshguard after an user failed several times to connect to localhost, having SSH agent difficulties.

Resolution

Ysul public IPv4 has been added to /usr/local/etc/sshguard.whitelist.