Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 13th, 2003, 02:27 PM
Joen's Avatar
Joen Joen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Leuven, Belgium
Posts: 39 Joen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Question Sync (offline) Firebird SQL and (online) MySQL

Hi,

I'm no DB-wiz, rather a web-developer. But I have this technical problem. I have to make something to sync 2 databases, a Firebird SQL and a MySQL. The Firebird-db is on a application-server, the MySQL on a webserver.

Why are we doing this? The data has to be used in a web-application, but the client doesn't want the original database (FB SQL) to be put online. They still have to be alble to work on it locally. So we duplicate a part of the data in a MySQL-db on the webserver.

Does anyone have an idea how to sync these databases automatically? It doesn't have to be realtime. An interval of 6 or 12 hours would be fine.
For now, I don't need a detailed sollution. A technical outline would already be great!

Thx for the help!

Reply With Quote
  #2  
Old June 13th, 2003, 03:33 PM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,692 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 20
Is this all on one network / is the web server owned by the same client?

Reply With Quote
  #3  
Old June 13th, 2003, 07:00 PM
Joen's Avatar
Joen Joen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: Leuven, Belgium
Posts: 39 Joen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Both the app-server and the web-server are from the client, but the app-server is located in the office, the web-server in a datacenter. The sync should happen through the internet-connection of the app-server.

Reply With Quote
  #4  
Old June 14th, 2003, 12:08 AM
jpenn's Avatar
jpenn jpenn is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2002
Location: Washington, DC
Posts: 2,692 jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level)jpenn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 h 41 m 10 sec
Reputation Power: 20
Well - there are a number of ways you can do it. You are going to need something/some app in the middle to create the correct queries.

If the office server is *nix type - run a cron tab to run the middle app to grab the data from the office fb db - create the sql queries for mysql, connect to the remote server and run the queries.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Sync (offline) Firebird SQL and (online) MySQL

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap