MySQL: Connect From an Other System / Computer

[crayon-6b11c87c0df9f204237526/]

[crayon-6b11c87c0dfa9742508650/]

You need to allow access to 192.168.1.5 from apache server located at 192.168.1.8.

Step #1: Configure MySQL Server For Remote Access

[crayon-6b11c87c0dfab703551019/]

Modify or append as follows:

[crayon-6b11c87c0dfac540022981/]
Step #2: Linux Firewall Configuration For TCP Port # 3306
# >>>> You need to open TCP port # 3306 at the firewall level, enter:

[crayon-6b11c87c0dfae457008478/]

Sample outputs:

[crayon-6b11c87c0dfaf931491724/]