SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 set timeout value
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mylesg
Starting Member

USA
1 Posts

Posted - 05/28/2012 :  15:03:20  Show Profile  Reply with Quote
Just moved over to mysql. I am an analyst and not a DBA.

All was well until I started to join some big queries. I received back a 2013 error- lost connection. I looked that up, and it stated to change by net_read_timeout to more than 30.

I am running the most current MySQL on Mac. The mysql server is on my macbook. I only use it for queries.

I went to the mysql command prompt and typed in

show variables like "%timeout%";

It shows a table of all the timeouts. Great.

Then I try to change a value (the problem)

I typed at the mysql > net_read_timeout=90
It seems to take that, but then gives me a -> prompt.

Then I type show variables like "%timeout%"; I get a SQL error and it takes me back to mysql >. I type in show variables like "%timeout%" again, and it gives me all the same value again. Nothing was changed.

Obviously I am not typing in the right commands. Can anyone help? All I want to do it run my large queries.

Thanks for someone walking me through,

visakh16
Very Important crosS Applying yaK Herder

India
47099 Posts

Posted - 05/28/2012 :  17:06:13  Show Profile  Reply with Quote
this is a ms sql server forum. you might be better off posting it in some mysql forums i guess

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000