Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th February 2007, 16:36
linux_padawan linux_padawan is offline
Junior Member
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default APACHE AND MYSQL on different Servers?

I have an apache server that I want to pull and send information to a mysql db on another server. I'm not sure how to configure the installation of apache to pull information from the mysql server, I attempted to mount the mysql dir to the apache server that didnt work . Not sure where to go from there. Any help will be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 20th February 2007, 18:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

What exactly do you want to do Do you want your PHP applications to use your external MySQL server?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st February 2007, 08:40
linux_padawan linux_padawan is offline
Junior Member
 
Join Date: Feb 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, I want the php to be able to send queries to the db server.
Reply With Quote
  #4  
Old 22nd February 2007, 00:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Ok, then you don't have to configure Apache, but your PHP application to do this. Normally there's a configuration file where you can specify the database server. You'd use the FQDN or IP address of your MySQL server here.
Whether there is such a configuration file depends on your PHP application.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
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
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Apache and MySQL Cluster on two servers? Spynat HOWTO-Related Questions 3 8th November 2006 18:46
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04
MySQL 5.0 and Apache 2.0.xx Lil'Brudder General 2 11th November 2005 02:08
apache , mysql and php aolex Server Operation 4 15th October 2005 21:19


All times are GMT +2. The time now is 10:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.