Hello.
You should include table name on which you had created the trigger: mysql> delimiter $$ mysql> create trigger t1 after insert on ta for each row begin set @a=1; end $$ Query OK, 0 rows affected (0.17 sec) mysql> drop trigger ta.t1$$ Query OK, 0 rows affected (0.00 sec) Patrik Wallstrom <[EMAIL PROTECTED]> wrote: > Using 5.0.7-beta the "drop trigger" functions in a very mysterious > way: > > mysql> use testdb; > mysql> drop trigger foo; > ERROR 1064 (42000): You have an error in your SQL syntax; check the > manual that corresponds to your MySQL server version for the right > syntax to use near '' at line 1 > mysql> drop trigger testdb.foo; > ERROR 1146 (42S02): Table 'testdb.testdb' doesn't exist > > Seems like a serious bug to me. > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]