Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 19th August 2004, 08:38 PM
goe Offline
Registered User
 
Join Date: Aug 2004
Posts: 10
Question Apache+php on one server and MySQL on another server?

Hi,

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

__________________
Thanks,
goe

Last edited by goe; 19th August 2004 at 08:40 PM.
Reply With Quote
  #2  
Old 19th August 2004, 08:52 PM
kosmosik's Avatar
kosmosik Offline
Registered User
 
Join Date: Apr 2004
Location: Warsaw, Poland
Age: 32
Posts: 1,085
you think wrong. all you have to configure at mysql server is to accept tcp/ip connections on device and that is it. server will automagically pass results to client (client - server works like this)...
Reply With Quote
  #3  
Old 20th August 2004, 02:09 AM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 27
Posts: 7,909
Note that on any database configuration page (forum setup scripts for example) you will need to change the default localhost.

Think of a web server. All it cares about is serving the clients that connect to it. So it waits for connections then serves them. Client-server model.
Reply With Quote
Reply

Tags
apache, mysql, php, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server crash as the result of MySQL or Apache gboethin Servers & Networking 2 12th August 2008 12:12 AM
Installed FC5 with Server bit ticked, how do I use Apache and is MySQL installed? JMitchell EOL (End Of Life) Versions 3 5th September 2006 01:33 PM
How to install mysql MySQL-server-4.0.26-0 FC2 or Upgrade 3.23.58-16.FC2.1 from to 4 niloshima EOL (End Of Life) Versions 1 28th October 2005 06:25 PM
MYSQL Server + Apache Server + PHP gabriellai Servers & Networking 8 27th May 2005 10:21 AM
Install mail server from Postfix/CyrusSASL2/PAM-MySQL/MySQL/Dovecot/Amavisd/Clamav chengcsw Guides & Solutions (No Questions) 7 26th April 2005 08:38 PM


Current GMT-time: 21:53 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat