When using multiple-table DELETE statements, you should use the alias of the tables from which you want to delete, not the actual table name. For example, instead of doing this: DELETE test FROM test AS t1, test2 WHERE ...
Do this: DELETE t1 FROM test AS t1, test2 WHERE ...
This corrects a problem that was present in MySQL 4.0.
So I had to edit all statements in /config/database/mysql/mysql.sql file in order to use new syntax.
Regards,
gvp [originally posted on jforum.net by Anonymous]