zq29 Posted November 7, 2005 Share Posted November 7, 2005 Hi guys, 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! Quote Link to comment Share on other sites More sharing options...
zq29 Posted November 8, 2005 Author Share Posted November 8, 2005 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.