Set MySQL Permissions
1. Change the table method. It may be that your account is not allowed to log on remotely, only on localhost. This time, as long as the computer on the localhost, log in to MySQL, change the "MySQL" Database in the "User" table "host", from "localhost" to "%"
Mysql-u root-p
Use MySQL
Update user Set host = '% ' where user = ' root ';
Select Host, user from user;
2. Authorization law. For example, if you want to myuser use MyPassword to connect to a MySQL server from any host.
GRANT all privileges on * * to ' myuser ' @ ' percent ' identified by ' MyPassword ' with GRANT OPTION;
If you want to allow users to connect to the MySQL server from a host myuser IP 192.168.1.3 and use MyPassword as the password
GRANT all privileges on * * to ' myuser ' @ ' 192.168.1.3 ' identified by ' MyPassword ' with GRANT OPTION;
Firewall settings:
1, the Control Panel opens the firewall and creates a new rule in the entry rule.
2. Select the port and then next
3. Select TCP port, fill 80,3306 port number and press Next
4. Select Allow All connections
5 Next Select All.
END
MySQL LAN access settings