If your server and your laptop are both connecting via a router on the same LAN, then you don't need to forward port 3306. And you probably don't want to forward that port unless you have to, because it opens your database to possible security risks. You would only need to forward that port if you were wanting to access it remotely from outside of your LAN, like if you were at a hotel or work or something.
Most likely, all you need to do is to run the MySQL config setup again and make sure to check the box to allow remote connections. By default, that box isn't checked, so you have to change it if you want to connect remotely.
|