Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

increase query timeout time using mysql workbench

Posted on 2013-11-17
4
Medium Priority
?
2,846 Views
Last Modified: 2013-11-24
my long queries timeout after 3 minutes

I am using godaddy mysql hosting, could it be on their end (which will never get fixed)

or is there a timeout option on windows mysql workbench query editor
0
Comment
Question by:rgb192
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Gregory Miller
ID: 39655366
The timeout is controlled on the server side. This is done to prevent bad code from doing bad things, as you probably already knew. GoDaddy might be able to adjust the timeout for your user account specifically but I do not know their policy on that. It is an option that can be modified.
0
 

Author Comment

by:rgb192
ID: 39665497
Yes, it may be godaddy, but do you know if
 timeout option available on mysql workbench or any mysql query tool.
0
 
LVL 12

Accepted Solution

by:
Gregory Miller earned 2000 total points
ID: 39669005
I do not believe so.
The MySQL manual has this system variable:
http://dev.mysql.com/doc/refman/5.0/en/server-system-variables.html#sysvar_interactive_timeout

Unless you can modify the mysql.conf file on the server itself, this probably is not an option for you.

Having said that, I do know there are hosts out there that allow for the account holder to modify a local file which they will allow certain changes to the mysql.conf file as a privileged user, however, this setting can cause a malformed query to send the mysqld process to 100% utilization, thus stifling all user accounts connecting to the server.

The only way to know what your options are is to contact the ISP support. GoDaddy has pretty good support and they should be able to tell you yea or nay with details.
0
 

Author Closing Comment

by:rgb192
ID: 39673571
okay a .conf file

thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question