MySQL ERROR 2013 Lost connection
MySQL 3.23.58 was the last release of MySQL 3.

Your version (3.23.56) still had an issue with improper locking and binlogging during a DELETE FROM tbl with no WHERE clause : Bug #169 : DELETE FROM t; does not lock 't' enough, causes bad order in binlog. It required a patch to get around it.

You should upgrade from 3.23.56 ASAP

I did find one repo with MySQL 3.23.58.

Still, you need to abandon MySQL 3.x. Go to MariaDB for the latest MySQL repos.