Thread:Project:Support desk/GlobalUserrights SQL query error/reply

Hi Jeff,

MySQL error code 0164 only is a generic error message for "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax at ...".

To get more information, try setting $wgShowSQLErrors = TRUE; in LocalSettings.php, then reproduce the error. This should show you the actual query, which causes the problem.