?
Solved

mysql remote access and long timeout time

Posted on 2013-11-18
2
Medium Priority
?
498 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 35

Accepted Solution

by:
gr8gonzo earned 2000 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…
Suggested Courses

752 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