472,331 Members | 1,398 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

MySQL, Access, ODBC, Replication

MySQL, Access, ODBC, Replication
Hello,

i have a central mysql database that is accesed by multiple clients
running MS Access with ODBC.
This works fine if Access has a permanent connection to mysql.

But now, i want MS Access to operate offline (e.g. on notebook in the
field).
I tried to create a local replica of the ODBC database, but the local
replica still requires an ODBC connection to the running mysql server.
I do not know why.
What is teh best way to realize synchronization between a local and an
odbc database using MS Access ?

Thanks in advance

Beda
Nov 13 '05 #1
2 4762

"Beda Christoph Hammerschmidt" <bc******@web.de> wrote in message
news:c2**************************@posting.google.c om...
MySQL, Access, ODBC, Replication
Hello,

i have a central mysql database that is accesed by multiple clients
running MS Access with ODBC.
This works fine if Access has a permanent connection to mysql.

But now, i want MS Access to operate offline (e.g. on notebook in the
field).
I tried to create a local replica of the ODBC database, but the local
replica still requires an ODBC connection to the running mysql server.
I do not know why.
What is teh best way to realize synchronization between a local and an
odbc database using MS Access ?


Are you using MyODBC or what?

I don't know how replication is now-days, but when it first came out, it
really sucked. I have pretty much stayed away from it as much as possible.

As I remember, though, you can setup a chain of database to replicate. Maybe
something like an in-between database would work. You sync the in between
database w/ the server, and then sync the laptop with the in between mdb.
Make sense?

Otherwise, jeez, what a mess. Where do you find support for something like
this? There are quite a few articles at mysql.org regarding Access, but I
don't recall seeing anything in regards to replication (although I've never
search for that key word).

I want to point out that just because you have an Access front end and are
working on a disconnected computer, doesn't mean that you have to limit
yourself to an Access .mdb file. I have MyODBC installed on my laptop, and I
am able to use local databases directly off my hard drive, with no
connection to a server or the Internet. The point is that MySQL has
replication capabilities. Rather than trying to sync an mdb with a mysql
database, consider going to MySQL on the laptop, as well. (If you can't beat
'em, join 'em).

Here, check this out:
http://www.mysql.com/search/?q=repli...set=iso-8859-1
This group is mainly microsoft centered. There are a number of MySql
oriented newsgroups, such as alt.php.sql. Don't forget those resources if
you don't find an answer to your question here.

Daven

Nov 13 '05 #2
bc******@web.de (Beda Christoph Hammerschmidt) wrote in
news:c2**************************@posting.google.c om:
MySQL, Access, ODBC, Replication

i have a central mysql database that is accesed by multiple
clients running MS Access with ODBC.
This works fine if Access has a permanent connection to mysql.

But now, i want MS Access to operate offline (e.g. on notebook in
the field).
I tried to create a local replica of the ODBC database, but the
local replica still requires an ODBC connection to the running
mysql server. I do not know why.

What is teh best way to realize synchronization between a local
and an odbc database using MS Access ?


Don't you think this is not an Access question at all, but a MySQL
question?

Or are you trying to use *Access* (i.e., *Jet*) replication of the
front end to accomplish this? That would explain why you still
needed a connection to the ODBC back end, since the front end
replica would not replicate the data, just the front end (and would
be identical to the original).

I have several clients with laptops using MDBs to store their data,
and what I've found works best is to have two front ends on the
laptop, one that connects to the shared data file, and one that
connects to a replica that is local to the laptop.

Another alternative that I use with one client (who hardly ever
usese the laptop connected to the network) is to have the laptop
edit *only* a replica, and then synch regularly with the main data
file when connected to the network.

This architecture ought to be the same for any replicated back end.

But, again, your question is a back end question, and belongs in a
MySQL newsgroup.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a...
0
by: Lenz Grimmer | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, MySQL 4.0.14, a new version of the popular Open Source/Free Software Database, has been...
0
by: Beda Christoph Hammerschmidt | last post by:
Hello, i have a central mysql database that is accesed by multiple clients running MS Access with ODBC. This works fine if Access has a...
4
by: Dave | last post by:
I have a MS sql 2000 db that needs to sync with a Mysql db. When a password is changed in the MS SQL table, I need to make sure that the same...
1
by: Uli | last post by:
Hello group, i am relatively new to SQL-Server database, but i have lots of experience with DB2 and Oracle Database. One of my tasks is setting...
39
by: Mairhtin O'Feannag | last post by:
Hello, I have a client (customer) who asked the question : "Why would I buy and use UDB, when MySql is free?" I had to say I was stunned. I...
12
by: Remco Groot Beumer | last post by:
Hello all, Currently we are implementing an Access database which has to send some (not much) data over a WAN. We are using an Access front end...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr....
67
by: Bob Powell | last post by:
To whom it may concern: I find the recent articles in various trade publications a little disturbing due to the lack of PostgrSQL mention. I...
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.