1
2
3
4
# server
mysqldump -u<user> -p<pass> database | nc -l -p <port>
# client
nc <server> <port> | mysql -u<user> -p<pass> database