1. 查看当前端口是否被占用。
netstat ano | findstr 33061
2.端口映射.
netsh interface portproxy add v4tov4 listenport=33061 listenaddress=0.0.0.0 connectport=3306 connectaddress=192.168.1.xx
3. 创建一个用户( 'myuser'@'%' %指的是所有IP都能访问)
CREATE USER 'myuser'@'%' IDENTIFIED BY 'abc@@33061';
4.为用户授权
grant all privileges on *.* to 'myuser'@'%' ;