Holá SQL-Pro's,
After NOT working with my mySQL-DB (and my Software) for a few hours, I get the messsage above. My question now is: How to "tell" mySQL or my aplication, NOT to let the server go away :-)
Can not find a solution in the docs. I know, it is something with "wait_timeout" but no Idea where/how.
Thanks for replies
Horst
MySQL server has gone away
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Horst,
You have to set a MySQL environment variable for that. This is not Rev but MySQL. I have to do this only once in a while, so I'm not sure which variable it is, it should be something like WAITTIMEOUT.
Best,
Mark
You have to set a MySQL environment variable for that. This is not Rev but MySQL. I have to do this only once in a while, so I'm not sure which variable it is, it should be something like WAITTIMEOUT.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Horst,
This is from a libary of mine:
Mark
This is from a libary of mine:
Code: Select all
on sqlSetWaitTimeout theID,theInterval
revExecuteSQL theID,"SET wait_timeout=" & theInterval & ";"
return the result
end sqlSetWaitTimeout
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode