Help !

Discussion in 'MySQL' started by vic_msn, Mar 31, 2006.

  1. #1
    i want to keep my files in one host and database host in another server.
    can i do this .usually while installing a script i type "local host" but if the MySQL database is on another server how can i connect the script and database.
     
    vic_msn, Mar 31, 2006 IP
  2. Henny

    Henny Peon

    Messages:
    2,118
    Likes Received:
    241
    Best Answers:
    0
    Trophy Points:
    0
    #2
    just put the ip of the host machine in the space you normally put the word "localhost" into.
     
    Henny, Mar 31, 2006 IP
  3. sacx13

    sacx13 Active Member

    Messages:
    438
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Or if you dont know the ip put the name of the host
    ex: db1.host.com

    Regards
    Adrian
     
    sacx13, Mar 31, 2006 IP
  4. vic_msn

    vic_msn Well-Known Member

    Messages:
    2,233
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    155
    #4
    thank you.i will use this for future scripts
     
    vic_msn, Mar 31, 2006 IP