If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Update database automatic

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-26-03, 19:36
Grandiozo Grandiozo is offline
Registered User
 
Join Date: Dec 2003
Location: Sliedrecht [Holland]
Posts: 1
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
Reply With Quote
  #2 (permalink)  
Old 12-29-03, 21:39
kellewic kellewic is offline
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On