Comments on: How to write multi-table, cross-database deletes with aliases in MySQL http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/ Stay curious! Fri, 10 May 2013 18:25:19 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Thales http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/#comment-20150 Thales Thu, 09 Aug 2012 13:40:53 +0000 http://www.xaprb.com/blog/?p=202#comment-20150 thanks man, spent many hours trying to find a solution for this error.

]]>
By: Paul Keenan http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/#comment-19723 Paul Keenan Tue, 01 Nov 2011 15:42:58 +0000 http://www.xaprb.com/blog/?p=202#comment-19723 Note that this was fixed in 5.5.3

http://dev.mysql.com/doc/refman/5.5/en/news-5-5-3.html

I’ve got a 5.1 master replicating to a 5.5 slave, this is causing a few headaches. I think the only way to have a multi-table delete statement that works across both versions is to make sure you don’t alias the tables at all.

Paul

]]>
By: Dave Rowe http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/#comment-17373 Dave Rowe Tue, 08 Dec 2009 18:40:17 +0000 http://www.xaprb.com/blog/?p=202#comment-17373 This is a great write-up. I didn’t realize I needed to fully qualify the database and table names. You saved me a load of time. Thanks!

]]>
By: Alan http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/#comment-15634 Alan Sun, 11 Jan 2009 16:26:04 +0000 http://www.xaprb.com/blog/?p=202#comment-15634 thanks man. this issue bit me this morning. thanks for posting the fix. cheers — alan

]]>
By: Sprok http://www.xaprb.com/blog/2006/08/07/how-to-write-multi-table-cross-database-deletes-with-aliases-in-mysql/#comment-5771 Sprok Mon, 16 Apr 2007 06:41:53 +0000 http://www.xaprb.com/blog/?p=202#comment-5771 Thank you so much. You saved my neck :D

]]>