Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I work under VMware. I installed two virtual machines (Linux Debian). on machine 1 I have the apache web server where there is my application or host (for the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2014
    Posts
    14

    remote access to a given base


    Hello,
    I work under VMware. I installed two virtual machines (Linux Debian). on machine 1 I have the apache web server
    where there is my application or host (for the moment I just want to test with a simple web page) and the machine 2 I want to place the Database (MySQL). it means that the application and the database is not on the same machine, and not in the same sub networks
    ***
    * I have no idea yet how to make this work
    Thank you to you to explain to me

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,906
    Provided the machines are on the same subnet (and behind the same firewall), this is a trivial operation. MySQL allows credential-checked connections from the network. You just need to ensure:

    - there's no firewall in the way (you can usually open up connections
    - you've granted at least read/SELECT permissions to a network user on the database you're trying to use
    - you use a suitable connection tool from the web site - I do all mine in php and use the mysqli stuff.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Apr 2014
    Posts
    14
    thanks but i didn't understand u very good ! can u please explain to me step by step and wht i should do exactly because until now no idea .at the moment I want to test with just a small web page. in my architecture I have a firewall but I let the traffic only between apache web server to the database .

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,906
    I found this:

    MySQL for Absolute Beginners

    There is some more help that you might find useful here:

    Articles and Tutorials - Beginners guide to PHP and MySQL

    What have you tried so far and what isn't working for you?
    Last edited by Roxoff; 05-02-2014 at 09:20 PM.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

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