Find the answer to your Linux question:
Results 1 to 4 of 4
Hi With Google giving next to no information on doing this, id ask. My aim is quite simply to install Mysql on a separate box and configure apache and php ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    19

    Running Mysql on a seperate box


    Hi
    With Google giving next to no information on doing this, id ask.

    My aim is quite simply to install Mysql on a separate box and configure apache and php to work like this. And I have very little idea of how to make it work. Any guidance or links to info/tutorials on this will be greatly appreciated.
    I will be running Debian on both computers.

    Thanks.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    I think its a lot easier then you are making it.

    the mysql side
    mysql enable remote connections - Google Search

    the apache/php app should ask or have a way to specify a mysql host and you just use the fqdn

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    19
    So (I think) I have mysql accepting remote connections. I'm now stumped on how to make apache/php not look for the server at localhost, but to the address of my sql box.

    Is it a setting in php.ini or httpd.conf?

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    apache and php really don't care about where mysql is. you need to configure your app to point to the remote mysql server.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •