Critical SQL problem! (13)

1 Name: Chaves : 2006-03-08 23:32 ID:01oKMuuD [Del]

I am new to all this web stuff so forgive my ignorance.
Every time I access the site a message comes up written 'Critical SQL problem!' I dont know what is it. It looks like it is everiting fine with MySQL and with the config. what should I do?


2 Name: Anonymous : 2006-03-09 02:47 ID:Heaven [Del]

use Kareha instead

3 Name: !WAHa.06x36 : 2006-03-09 08:10 ID:Heaven [Del]

It pretty much means everything isn't fine with MySQL and the config. Go back and test some more.

4 Name: Anonymous : 2007-07-19 19:15 ID:wPmcdQrf [Del]

I'm getting the Critical SQL problem! error on one of my boards now too.. out of nowhere.

What else could cause this other than a messed up config? My config is all in order so I don't know what it could be.

5 Name: Anonymous : 2007-07-19 22:22 ID:Heaven [Del]

>>4 Messed up MySQL could also cause that.

6 Name: Anonymous : 2007-07-20 00:05 ID:XB6HyLDD [Del]

What would cause messed up SQL? Do you mean SQL data or messed up mySQL install? SQL SQL SQL SQL SQL SQL SQL SQL? SQL SQL SQL SQL.

7 Name: Anonymous : 2007-08-08 09:07 ID:fY3eMtgj [Del]

Now all of my boards are giving me the critical SQL problem error when trying to login to the management panel. That is the only time I get the error. Halp pls.

8 Name: Anonymous : 2007-08-08 10:28 ID:Heaven [Del]

>>7 Have you tried posting? SQL meltdowns should effect all parts of the board.

9 Name: Anonymous : 2007-08-08 16:25 ID:fY3eMtgj [Del]

Posting works just fine. I think some syntax has subtly changed when they updated DBI on our server (we're on dreamhost.) All of the moderation things work except for the management panel. ie we can check the ban list/proxy list etc etc etc

10 Name: Anonymous : 2007-08-15 01:11 ID:Heaven [Del]

This is very strange. I have a Wakaba 3.0.7 board set up on Dreamhost and the management panel works fine.

Not sure if you've changed anything in Wakaba itself, but for what it's worth, Dreamhost's DBI configuration doesn't seem to accept quoted integers as part of a LIMIT clause anymore. If you've added any LIMIT clauses to the SQL queries Wakaba makes, don't use "LIMIT ?, ?" to insert the values. Verify the values you want and insert them directly into the SQL string.

11 Name: Anonymous : 2007-08-18 09:32 ID:jOrut5AA [Del]

Yeah, it had everything to do with the modifications we made to wakaba. In particular, it was something we changed in trim_database.

12 Name: draconigen : 2007-11-05 06:48 ID:oE5faHs+ [Del]

In connection with this problem, an extended error message appears in the Administration Area, when entering it on the right time:

Critical SQL problem! database table is locked(1) at dbdimp.c line 401

It seems, that the database table is beeing "locked" after the first post. The second poster already gets the 'Critical SQL problem' error.
Additionally, a new file appears in the wakaba directory, named 'wakaba.sql-journal', it contains no useful data.

  • Using Perl SQL-Lite, not MySQL.

13 Name: !WAHa.06x36 : 2007-11-05 10:27 ID:Heaven [Del]

Sounds like the database is not getting properly closed. No idea why, though.

Name: Link:
Leave these fields empty (spam trap):
More options...