Solved

mysql remote access and long timeout time

Posted on 2013-11-18
2
491 Views
Last Modified: 2013-11-18
I have long queries to run.
I am looking for a remote mysql server that has a long timeout time.
I can not use localhost on my desktop computer because we need remote access.
Currently I am using godaddy hosting which times out after 3 minutes.
0
Comment
Question by:rgb192
2 Comments
 
LVL 34

Accepted Solution

by:
gr8gonzo earned 500 total points
ID: 39656522
As long as each query finishes before the time-out, you should be fine. So if you had:

Query A: Takes 2 minutes to run
Query B: Takes 2 minutes to run
Query C: Takes 2 minutes and 30 seconds to run

...then you should be able to execute each one of them individually and it should work.

The only problem would be if any queries ran longer than the timeout (e.g. Query B took 3 minutes and 30 seconds to run), but you could try setting the session timeout. Just run this query to set it to 300 seconds (5 minutes):

SET @@SESSION.wait_timeout=300;

Typically the timeouts only happen when there's no activity for that period of time, but you can give it a try.
0
 

Author Closing Comment

by:rgb192
ID: 39656665
That would be the correct answer to the question but I think I am looking for 'database hosting'  (if this is a correct search term) because I getting no data returned using a query editor which means i am not ready for php yet.

http://www.experts-exchange.com/Database/MySQL/Q_28297091.html
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Calculate values in an array 18 32
Trigger usage 2 59
php string masking 4 27
Checking if varaible is empty 6 25
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now