MySQL: Connect From an Other System / Computer

[crayon-6ac1a376a329f901459827/]

[crayon-6ac1a376a32a7455721188/]

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-6ac1a376a32a9691061150/]

Modify or append as follows:

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

[crayon-6ac1a376a32ac656416258/]

Sample outputs:

[crayon-6ac1a376a32ad410515239/]