1つのプロセス/コマンドでTCPポートとソケットを開くことはできますか?
socat UNIX-LISTEN:/var/run/mysqld/mysqld.sock,fork,user=mysql,group=mysql,mode=777 TCP:123.123.123.1:3306
結合する:
socat TCP-LISTEN:3306,reuseaddr,fork UNIX-CONNECT:/var/lib/mysql/mysql.sock
最後に、mysqlを渡したいと思います。