Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Sliedrecht [Holland]
    Posts
    1

    Unanswered: Update database automatic

    Hey everyone,

    I need a code. That code must nightly data into a database from another database.
    My site has 2 mysql-databases and by a form I put information into one database. Now I want a code that in the night a code automaticly put the data from database 1 tot database to. This must happen automatic and no one has to visit a page.
    I hope it is clear and that some one can help me!
    Thanks already!

    Greets,

    Edwin

  2. #2
    Join Date
    Jun 2003
    Location
    Phoenix, AZ
    Posts
    8
    Why not just use MySQL's replication feature? Then the data is put into the 2nd database (slave) as it's updated in the first database (master).

    Don't need a script. MySQL docs fully cover setting up replication.

Posting Permissions

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