Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows MYSQL Server crash when sending query

Status
Not open for further replies.

BigBadDave

Programmer
May 31, 2001
1,069
0
0
EU
Hi,
The sever crashes when sending the following query :

Code:
SELECT * FROM discoexams WHERE CLASS = 'Under 9' ORDER BY NAME ASC LIMIT 0, 10

its the : '
Code:
LIMIT 0, 10
' part that crashes the server

any thoughts welcome Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
BigBadDave, I can't say that I know why it's crashing ( maybe the space between the limit args?), but I know that saying "LIMIT 0,10" is the same as "LIMIT 10"

Why not give that a try and see what happens.

Good luck.

--Jeff
 
No that won't make any difference, even if I say LIMIT 10, 20 it still crashes the server

any other ideas?? Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
other queries are working, right?

have you tried putting the "limit" before the "order by"?

just a guess... i haven't ever dealt with this before.

good luck! -gerrygerry
Go To
 
Its ok now I have figured it out, it was a corrupt version of MYSQL I installed the latest and its fine Regards

Big Bad Dave

logo.gif


davidbyng@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top