I got a similar database problem when I tried to move a page:
A database query syntax error has occurred. This may indicate a bug in
the software. The last attempted database query was:
UPDATE categorylinks SET cl_sortkey='Reuben\'s education' WHERE
cl_from='911' AND cl_sortkey='Reubens education'
from within function "SpecialMovepage::doSubmit". MySQL returned error
"1146: Table 'johnyu.categorylinks' doesn't exist".
--
John