473,833 Members | 2,199 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4933

"Beda Christoph Hammerschmidt" <bc******@web.d e> wrote in message
news:c2******** *************** ***@posting.goo gle.com...
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.goo gle.com:
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
4207
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 simple PHP/MySql application on shared hosting, so no direct access to the db server. I'd like to give her the facility to export the information in her local Access application to the shared PHP/MySql site. From one command button (or similar) in the Access application.
0
3539
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 released. It is now available in source and binary form for a number of platforms from our download pages at http://www.mysql.com/downloads/ and mirror sites.
0
1434
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 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.
4
5861
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 value is updated in the Mysql db. I dont have any control of the gui that is initiating this event. So, I was thinking a trigger might be an alternate route. I just dont know how to get the username and password values that have just been updated from MS sql to Mysql.
1
1746
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 up a replication between a Mysql-Database running on Linux and one of our SQL-Servers. How do i achieve this ? If i understand the documentation correctly you have to program the
39
8437
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 have no experience with MySql, so I was left sort of stammering and sputtering, and managed to pull out something I heard a couple of years back - that there was no real transaction safety in MySql. In flight transactions could be lost.
12
4339
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 and an Access back end. Basicly the front end runs local, but at the end of the session the front end needs to write the data to the back end on the WAN. The responsible IT manager asked me to use a ODBC linkage between the database, since this sends smalles packages of data (which minimizes the...
9
3317
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. Rick Dobson's, "Programming Access <version>" for >people moving from power user to developer, but now I suggest you browse >it, >too. It strongly emphasizes ADO, which knowledgeable Microsoft insiders no >longer recommend, and the Access ADP client to SQL Server. He writes well, >and is a good...
67
12563
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 continue to see articles about how IBM may be considering MYSQL for development an open_source web database. Why isn't PostgreSQL being considered or talked about by major industry giants? As a DBA I know that Postgres is far superior to MYSQL but if the industry directs it's energies towards...
0
9796
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10782
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10543
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10213
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9323
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5624
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5789
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4422
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.