I'm using Fedora2 distribusion and I'm rather fresh in linux. Basiclly I'm trying to put Apache+php on one server and MySQL on onother server and make them talk to each onther.
I have two machines, both with Fedora2. One has apache+php and the other one MySQL database instaled. I have them in local network.
First server's IP is 192.168.3.20 (Apache + php)
Second server's IP is 192.168.3.21 (MySQL)
So instead calling "localhost" in php scripts hosted on first server I know I have to call second server IP (192.168.3.2) but my man question is how to configurate the second server to pass queries to MySQL DB and then send back results back to first server...?
Or maybe my thinking is wrong...
Please keep any answers simple to understand for newbie like me