Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0(EOL), 10.1(EOL)
-
CentOS7 on Google Cloud, unixODBC 2.3.1 all tested drivers
-
10.0.25
Description
If you add an AFTER INSERT trigger on an Innodb table that simply tries to insert a record into a CONNECT table, adding a record to the Innodb table fails with:
Access denied for user 'root'@'localhost' (using password: YES) |
Thanks for the report.
create table tcon (i int) engine=Connect table_type=DOS file_name='tcon.dos';
# Query OK, 0 rows affected (0.14 sec)
create table tin (i int) engine=InnoDB;
# Query OK, 0 rows affected (0.49 sec)
create trigger tr after insert on tin for each row insert into tcon values (new.i);
# Query OK, 0 rows affected (0.04 sec)
insert into tin values (1);
# ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
# insert into tcon works all right:
insert into tcon values (1);
# Query OK, 1 row affected (0.00 sec)