Translations:Manual:$wgShowSQLErrors/12/en

If you do see an error including "(SQL query hidden)", it can be useful to set this to $code temporarily.