1. Click Start, and then click Control Panel;
2. Click windows Firewall;
3. Click Advanced Settings;
4. Click the warehousing rule and click Add Rule;
5. Click the port, and then click Next;
6. Default tcp port, click a specific local port, enter 3306, and click Next;
7. Click the Allow link, and then click Next;
8, the default option, click Next;
9. Describe any name, and click Finish.