Hello all,
I'm using:
- A97 (front-end)
- MySQL drivers 3.51
- MySQL 4.0.18 (back-end)
I've got a MySQL table connected to an Access DB throw an ODBC link. When I
connect to this table, no matter the query, a connection is created in
MySQL. Initialy, this connection stayed opened 8 hours (default. controled
by a MySQL variable "wait_timeout") . We had trouble with this (too much
connections opened at the same time) so we get this down to 250 seconds.
Now, when whe create a connection, it is being closed after 250 seconds,
then the next call made from access to this table (for the same user) will
invariably produce an "ODBC-call failed" error message. Then the next call
is OK... for the next 250 seconds.
Anyone has clue on how to solve this. In my test, I do not use specific
recordset but instead, the DLookUp function in Access. So there is no "no
closed recordset" consideration here.
Thanks for your time.
Yannick
PS. Didn't find a MySQL newsgroup on my news server... curious. I'll search
on the web. 3 3481
I understand that this is a bug in Access 2002 (and probably 2003) with ODBC
links to just about anything except MS SQL Server or Oracle.
On Fri, 4 Jun 2004 11:44:44 -0400, "Yannick Turgeon" <no****@nowhere .com>
wrote: Hello all,
I'm using: - A97 (front-end) - MySQL drivers 3.51 - MySQL 4.0.18 (back-end)
I've got a MySQL table connected to an Access DB throw an ODBC link. When I connect to this table, no matter the query, a connection is created in MySQL. Initialy, this connection stayed opened 8 hours (default. controled by a MySQL variable "wait_timeout") . We had trouble with this (too much connections opened at the same time) so we get this down to 250 seconds. Now, when whe create a connection, it is being closed after 250 seconds, then the next call made from access to this table (for the same user) will invariably produce an "ODBC-call failed" error message. Then the next call is OK... for the next 250 seconds.
Anyone has clue on how to solve this. In my test, I do not use specific recordset but instead, the DLookUp function in Access. So there is no "no closed recordset" consideration here.
Thanks for your time.
Yannick
PS. Didn't find a MySQL newsgroup on my news server... curious. I'll search on the web.
Steve Jorgensen <no****@nospam. nospam> wrote in
news:nl******** *************** *********@4ax.c om: I understand that this is a bug in Access 2002 (and probably 2003) with ODBC links to just about anything except MS SQL Server or Oracle.
How exactly does this cause Access97 to break (which is what the
original poster is using)?
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
On Fri, 04 Jun 2004 17:52:58 GMT, "David W. Fenton"
<dX********@bwa y.net.invalid> wrote: Steve Jorgensen <no****@nospam. nospam> wrote in news:nl******* *************** **********@4ax. com:
I understand that this is a bug in Access 2002 (and probably 2003) with ODBC links to just about anything except MS SQL Server or Oracle.
How exactly does this cause Access97 to break (which is what the original poster is using)?
Oops - my bad, then. Sorry about that. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Fatt Shin |
last post by:
Hi,
I'm running MySQL 4.0.13, connecting from PowerBuilder 9 using ODCB
Connector 3.51.
I'm facing a problem where whenever I issue a SELECT COUNT(*) statement
from PowerBuilder, I always get SQL syntax error back from MySQL. (Refer
to ODBC Trace I captured below).
metrohouse af8-b94 ENTER SQLExecDirect
HSTMT 014D2360...
|
by: Ben |
last post by:
I have a query that takes over a minute to run with the mysql client. The
same query takes seconds in MS Access via ODBC.
I have no clue what is going on. Can someone kindly shed some light on
this.
I am using:
mysql Ver 12.18 Distrib 4.0.12, for Win95/Win98 (i32)
mysqld-nt Ver 4.0.12-nt for NT on i32
|
by: Edmond Doudard |
last post by:
Hi,
I have just installed the MySQL ODBC driver 3.51 on an XP machine
which is behind a proxy.
When I configure my DSN, I can't access the MySQL server which is in
the "outside" world.
I get this error:
Unknown MySQL Server Host 'mysqlserver.com'
|
by: MLH |
last post by:
Using MS Access, I have attached to MySQL servers in other states
and other countries on the other side of my router. But when I use the
MySQL ODBC driver 3.51 to connect to a MySQL server on my own LAN,
the driver tells me it cannot make the connection. Here are the ODBC
driver connection parms:
Data Source Name: (free field - name my "my...
|
by: DJJ |
last post by:
I am using the MySQL ODBC 3.51 driver to link three relatively small MySQL
tables to a Microsoft Access 2003 database. I am finding that the data from
the MySQL tables takes a hell of a long time to load making any kind linkage
with my Access data virtually useless.
I have the MySQL driver setup in as a USER DSN. The MySQL data is...
| |
by: Bob |
last post by:
All,
I have read through lots of postings regarding my concerns, but I
haven't found what I am looking for.
The center (non profit University) where I work collects scientific
data about subjects enrolled in studies related to respiratory
diseases. Both lab data and questionnaire information are collected.
We use W2K as PC operating...
|
by: gordon.dtr |
last post by:
Hi,
Has anyone had this problem ?
I am using MySQL ODBC 3.51 Driver, with MS Access 2003 and MySQL 4.1.11
standard log.
I created my tables in MS Access, then exported them via ODBC to an
externally hosted MySQL database (fasthosts) . I then import-linked
|
by: laxgb |
last post by:
Hi
I tried to use following code to access MySQL database but the error 'Object reference not set to an instance of an object' was happened:
Dim MyConString As String = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=localhost; DATABASE=xxxx; UID=xxxx; PASSWORD=xxxx; OPTION=3"
Dim MyConnection As New System.Data.Odbc.OdbcConnection(MyConString)
...
|
by: luttkens |
last post by:
Hi
I've made an application in .Net which connects to a MySQL database via remote access. It all works fine - if the user has installed the MySql ODBC Driver on it's machine.
My question is how I can include the MySQL ODBC Driver in the MSI-file (created in Visual Studio)? I want the driver to be installed automatically if the users doesn't...
|
by: Suresh P |
last post by:
Hi All,
I tried to access the mysql database in ODBC using ip address and
username/password.
It returns, "cannot connect to MySQL server on IP ADDRESS(10060)".
This could be related to Firewall on the server.
Is there anyway to access MySQL database using ODBC without opening
port 3306?
|
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...
| |
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |