I have a MySQL database on a web server, I am trying to query it with Microsoft Access on a local machine. I have installed the MySQL ODBC driver on my machine, and I can successfully connect to the database and view the tables and their contents, but when I link to them (in Access) so that my local install of Access can alter values in the online MySQL database on the server, I get the error message:
"ODBC --call failed. [MySQL][ODBC 3.51 Driver][mysqld-4.1.14]Lost connection to MySQL server during query (#2013)"
And sometimes, I get this error:
"ODBC --call failed. [MySQL][ODBC 3.51 Driver][mysqld-4.1.14]MySQL server has gone away (#2006)"
The second one is more common and happens when trying to view the linked table too. Any ideas on whats causing this, and any possible solutions?
Thank you for your time guys!
MySQL and Access link
1 reply to this topic
Posted 08 November 2005 - 09:20 AM
After chatting to my host, and asking them to alter the MySQL config, I have come to the cuncusion that it was the MySQL setting 'wait_timeout' that was causing this, it was set at '5' on my server, I don't know what they have set it to now, but the default is something around the 28000 mark.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users