MySQL: Connect From an Other System / Computer

[crayon-669e1fd2ded7a844469336/]

[crayon-669e1fd2ded81819741437/]

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-669e1fd2ded84481371538/]

Modify or append as follows:

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

[crayon-669e1fd2ded89063565409/]

Sample outputs:

[crayon-669e1fd2ded8c312388618/]