Jul 24, 2008

Lost Connection To Mysql Server During Query [ - Please, Help!!

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > VB Programming

free web hosting

Lost Connection To Mysql Server During Query [ - Please, Help!!

kservice
Hello Everyone...

I need to put in the images table of the DB, 10 pictures of 60kb each one, when i do that, i lost the connection, but if a upload 10 pictures of 30kb each one, i haven't got the problem.

I'm getting the following error when I run my select query within my VB code: [MySQL][ODBC 3.51 Driver][mysqld-3.23.27-beta-log]Lost connection to MySQL server during query.

This seems like a timeout error to me, but I don't know how to compensate so that it doesn't time out.

My VB code is using Microsoft's OLE DB provider for ODBC, and mysql's odbc connector.

Any suggestions would be greatly appreciated.



Thanks for your time...

Reply

Galahad
I'm not sure if this post will be usefull to you, but I'll give it a shot...

First of all, I'm not using MySQL from VB that much (I am actualy starting to use it), but I most definitely WILL NOT use ADO, MS ODBC or anything like that... I will use MySQL directly, using some dll's.

Here's what you should do:
- Go to Planet Source Code, VB World
- Do a search on term 'MySQL'

There are several articles showing how to use MySQL without the help from ADO or other MS Engines...

That error you are receiving, is definitely timeout error, but I can't explain it. I myself have gotten this error, when connecting to a remote database from MySQL-Front...

Hope this helped...

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. odbc "lost connection to mysql server during query" - 7.85 hr back. (1)
  2. lost connection to mysql server during query code = 1 - 39.92 hr back. (1)
  3. mysql-server 3.23 lost connection to mysql server during query - 47.53 hr back. (1)
  4. lost connection to mysql server during query - 9.98 hr back. (3)
  5. lost connection to mysql query - 77.36 hr back. (1)
  6. remote connection to mysql "lost connection" - 129.07 hr back. (1)
  7. lost connection to mysql server during query. query - 131.29 hr back. (1)
  8. mysql query timeout - 142.61 hr back. (2)
Similar Topics

Keywords : lost, connection, mysql, server, query

  1. Vb Select Mysql Database
    (2)
  2. Mysql In Visual Basic
    Mysql in visual basic (5)
    I'm am trying to create a script so that visual basic 6 can interact with mysql Any ideas?....
  3. Linking To Mysql From Vb
    (6)
    Hi I have used vb to link to an access 2003 database using the adodc component- (connection string
    etc etc). Right I am now working with mysql (which I would like to say I am loving it) and I have
    migrated the access 2003 db's into mysql using the migration toolkit . How can I link to mysql
    db in a similar fashion. Please reply. Thanx. kvarnerexpress....

    1. Looking for lost, connection, mysql, server, query

Searching Video's for lost, connection, mysql, server, query
advertisement



Lost Connection To Mysql Server During Query [ - Please, Help!!



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE