SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2003
    Location
    London
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to access to a YSQL server on another server

    I have 2 sites on different servers. I want 2 sites to use the same database. So i need to access from first site to 2nd sites MYSQL database.
    How to do this?

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    You can use the same settings!
    It doesn't matter where the database is, it will still connect given the correct information.
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2003
    Location
    London
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no problem i just solved the problem. I realised that mysql databases requires you to add access host for security. As soon as i add the IP address of second site to access list it started to work.


Bookmarks

Posting Permissions

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