Page 1 of 2
Lost Connection to MySQL server during query
Posted: Sun 19 Oct 2008 00:33
by Alatriste
Hello.
I am using dbForge Studio for MySql. Version 3.0.182. Professional Edition.
Everytime i try to run any large query I receive the error:
Los Connection to MySQL server during query.
I am running the same query with the MYSQL browser GUI and works fine.
LOAD DATA INFILE "C:/10182008.csv" IGNORE INTO TABLE teventos FIELDS TERMINATED BY ","
I am using WAMP with MYSQL v 5.0.51b running on top of Windows Professional XP SP3.
I read all the posts with the same error but I have a 24 hours time out configured for MySQL connections and it continue doing the same.
Is there a work around?
Thanks a lot.
A.
Posted: Mon 20 Oct 2008 07:14
by Duke
There are two timeout settings for connection: one for connect procedure and one for query execution. Please make sure that you have correctly configured the last one.
Time Out
Posted: Mon 20 Oct 2008 17:43
by Alatriste
One question.
If I can do the query from the MySQL Browser GUI. Is dbForge Studio using other settings?
All the SELECT queries works fine. Only the INSERT ones are timing out.
what would be the parameter name to check?
Posted: Tue 21 Oct 2008 07:10
by Duke
MySQL Query Browser does not have timeout settings (maybe they are just set to infinite).
Posted: Tue 21 Oct 2008 13:50
by Alexz
You can set execution timeout on the Advanced tab of the Database Connection Properties dialog box. You can find this dialog from popup menu of connection node in Database Explorer window.
Execution timeout is a client option, which allows to interrupt execution of query if server doesn't respond for a long time.
Posted: Fri 24 Oct 2008 14:40
by Alatriste
Thanks a lot. This seems to worked fine. Anyway the maximum time in second is 7200 (2 hours) that must be enough for most of the cases.
Posted: Mon 24 Nov 2008 00:26
by Alatriste
I set them both to 7200 (it seems to be the longest time), anyway sometimes it works some time does not.
I opted to go back to the MySQL Browser for this long queries

Posted: Mon 24 Nov 2008 08:13
by Alexz
You can set timeout to 0 (infinite). MySQL Browser uses this value by default. After that your long query can be executed in dbForge too.
Posted: Wed 17 Dec 2008 05:15
by warp
i have been having the same issues, i get that lost connection error, even though this works flawlessly with the query application that comes with mysql tools.
i even tried using a long timeout delay for both fields, and use zero too. but this doesnt work. my query uses 2 inner joins.
what can i do about it?
Posted: Wed 17 Dec 2008 15:42
by Duke
warp wrote:i have been having the same issues, i get that lost connection error, even though this works flawlessly with the query application that comes with mysql tools.
i even tried using a long timeout delay for both fields, and use zero too. but this doesnt work. my query uses 2 inner joins.
what can i do about it?
Could you please post the full version of the product?
Posted: Wed 17 Dec 2008 15:55
by warp
i am using the query builder, the latest version from the site.
my sql 5.0.5b
Posted: Thu 25 Dec 2008 20:33
by warp
bump!
any news regarding this issue ?
Posted: Fri 26 Dec 2008 07:53
by Duke
We couldn't reproduce the problem with Query Builder. But we have updated the product recently. You can upgrade it and try once more.
It is also possible that you are having problems with MySQL server itself, because you are using unstable version.
Posted: Fri 26 Dec 2008 08:00
by warp
Posted: Fri 26 Dec 2008 08:09
by Duke
We'll fix this as soon as possible.