3.在210,104上设置权限 mysql> grant all privileges on backup.* to [email=backup@'%']backup@'%'[/email] identified by 'shenxun'; //这里给个账号backup,密码shenxun,读写操作的数据库是backup.
4.进行测试.
用106连接208的mysql-proxy:
/usr/bin/mysql -u backup -pshenxun P4040 h 192.168.100.208 D backup