How do I link a Mysql database?

Discussion in 'HOWTO-Related Questions' started by Racer23, Jun 26, 2006.

  1. Racer23

    Racer23 New Member

    I am using one server to host all of my files and the other server to host my MySQL. I need to edit a few pages with the server name database name user name password. For server name i have currently "localhost" which now is not true. I have the IP address of my server (for the database) but how do I find the patch to the databases? and how would I write it in where local host in now?

    thank you
     
  2. falko

    falko Super Moderator ISPConfig Developer

    I'm not sure I understand your question. Can you describe your problem in more detail?
     
  3. Racer23

    Racer23 New Member

    I have a server with MySQL at IP address 1.1.1.1. I also have a server which hosts my domain along with my PHP files at IP 2.2.2.2. how do I point my php files to recognize the databases located on a seperate server?
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Instead of "localhost", you simply put 1.1.1.1 into your PHP scripts as the MySQL server.
     

Share This Page