|
|
|
@ -21,12 +21,12 @@ SELECT * FROM v1_definer; |
|
|
|
a |
|
|
|
10 |
|
|
|
SELECT * FROM v1_baddefiner; |
|
|
|
ERROR 28000: Access denied for user 'root'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connect user,localhost,user,,; |
|
|
|
SELECT * FROM t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
SELECT * FROM v1_invoker; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
SELECT * FROM v1_definer; |
|
|
|
a |
|
|
|
10 |
|
|
|
@ -44,9 +44,9 @@ UPDATE v1_invoker SET a=12; |
|
|
|
UPDATE v1_definer SET a=13; |
|
|
|
connection user; |
|
|
|
UPDATE t1 SET a=21; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker SET a=22; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer SET a=23; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer; |
|
|
|
@ -62,9 +62,9 @@ INSERT INTO v1_invoker VALUES (12); |
|
|
|
INSERT INTO v1_definer VALUES (13); |
|
|
|
connection user; |
|
|
|
INSERT INTO t1 VALUES (21); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_invoker VALUES (22); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_definer VALUES (23); |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer; |
|
|
|
@ -83,9 +83,9 @@ REPLACE INTO v1_definer VALUES (13); |
|
|
|
ERROR 42000: CONNECT Unsupported command |
|
|
|
connection user; |
|
|
|
REPLACE INTO t1 VALUES (21); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_invoker VALUES (22); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_definer VALUES (23); |
|
|
|
ERROR 42000: CONNECT Unsupported command |
|
|
|
connection default; |
|
|
|
@ -102,9 +102,9 @@ DELETE FROM v1_invoker WHERE a=12; |
|
|
|
DELETE FROM v1_definer WHERE a=13; |
|
|
|
connection user; |
|
|
|
DELETE FROM t1 WHERE a=21; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE FROM v1_invoker WHERE a=22; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE FROM v1_definer WHERE a=23; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer; |
|
|
|
@ -120,9 +120,9 @@ LOAD DATA LOCAL INFILE 'MTR_SUITE_DIR/std_data/boys.txt' INTO TABLE v1_invoker; |
|
|
|
LOAD DATA LOCAL INFILE 'MTR_SUITE_DIR/std_data/boys.txt' INTO TABLE v1_definer; |
|
|
|
connection user; |
|
|
|
LOAD DATA LOCAL INFILE 'MTR_SUITE_DIR/std_data/boys.txt' INTO TABLE t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOAD DATA LOCAL INFILE 'MTR_SUITE_DIR/std_data/boys.txt' INTO TABLE v1_invoker; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOAD DATA LOCAL INFILE 'MTR_SUITE_DIR/std_data/boys.txt' INTO TABLE v1_definer; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer; |
|
|
|
@ -135,7 +135,7 @@ TRUNCATE TABLE t1; |
|
|
|
INSERT INTO t1 VALUES (11); |
|
|
|
connection user; |
|
|
|
TRUNCATE TABLE t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_DROP_TABLE |
|
|
|
@ -144,7 +144,7 @@ CREATE TABLE t1 (a INT) ENGINE=CONNECT TABLE_TYPE=fix FILE_NAME='t1.fix'; |
|
|
|
INSERT INTO t1 VALUES (10); |
|
|
|
connection user; |
|
|
|
DROP TABLE t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_DROP_VIEW |
|
|
|
@ -165,7 +165,7 @@ DROP TABLE t1; |
|
|
|
# Testing SQLCOM_CREATE_TABLE |
|
|
|
connection user; |
|
|
|
CREATE TABLE t1 (a INT) ENGINE=CONNECT TABLE_TYPE=fix FILE_NAME='t1.fix'; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
# Testing SQLCOM_LOCK_TABLES |
|
|
|
connection default; |
|
|
|
@ -187,13 +187,13 @@ LOCK TABLE v1_definer WRITE; |
|
|
|
UNLOCK TABLES; |
|
|
|
connection user; |
|
|
|
LOCK TABLE t1 READ; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOCK TABLE t1 WRITE; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOCK TABLE v1_invoker READ; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOCK TABLE v1_invoker WRITE; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
LOCK TABLE v1_definer READ; |
|
|
|
UNLOCK TABLES; |
|
|
|
LOCK TABLE v1_definer WRITE; |
|
|
|
@ -264,93 +264,93 @@ UPDATE v2_definer a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v2_definer a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
connection user; |
|
|
|
UPDATE t1 a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t1 a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t2 a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t3 a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t3 a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t3 a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE t3 a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t3 a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE t3 a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE t3 a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v1_invoker a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_invoker a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v1_definer a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v1_definer a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v1_definer a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v2_invoker a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_invoker a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_definer a1,t1 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_definer a1,t2 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_definer a1,t3 a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v2_definer a1,v1_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_definer a1,v1_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
UPDATE v2_definer a1,v2_invoker a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
UPDATE v2_definer a1,v2_definer a2 SET a1.a=50 WHERE a1.a=a2.a; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer, v2_invoker, v2_definer; |
|
|
|
@ -418,93 +418,93 @@ DELETE a1 FROM v2_definer a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v2_definer a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
connection user; |
|
|
|
DELETE a1 FROM t1 a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t1 a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t2 a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t3 a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t3 a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t3 a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM t3 a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t3 a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM t3 a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM t3 a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v1_invoker a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_invoker a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_definer a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_definer a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_definer a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v1_definer a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_definer a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v1_definer a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v1_definer a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v2_invoker a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_invoker a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_definer a1,t1 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_definer a1,t2 a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_definer a1,t3 a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v2_definer a1,v1_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_definer a1,v1_definer a2 WHERE a1.a=a2.a; |
|
|
|
DELETE a1 FROM v2_definer a1,v2_invoker a2 WHERE a1.a=a2.a; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DELETE a1 FROM v2_definer a1,v2_definer a2 WHERE a1.a=a2.a; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer, v2_invoker, v2_definer; |
|
|
|
@ -521,9 +521,9 @@ CREATE VIEW v2 AS SELECT * FROM v1_definer; |
|
|
|
DROP VIEW v2; |
|
|
|
connection user; |
|
|
|
CREATE VIEW v2 AS SELECT * FROM t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
CREATE VIEW v2 AS SELECT * FROM v1_invoker; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
CREATE VIEW v2 AS SELECT * FROM v1_definer; |
|
|
|
DROP VIEW v2; |
|
|
|
connection default; |
|
|
|
@ -546,21 +546,21 @@ INSERT INTO v1_definer SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
INSERT INTO v1_definer SELECT * FROM v1_definer WHERE a=20; |
|
|
|
connection user; |
|
|
|
INSERT INTO t1 SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO t1 SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO t1 SELECT * FROM v1_definer WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_invoker SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_invoker SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_invoker SELECT * FROM v1_definer WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_definer SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_definer SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
INSERT INTO v1_definer SELECT * FROM v1_definer WHERE a=20; |
|
|
|
connection default; |
|
|
|
DROP VIEW v1_invoker, v1_definer; |
|
|
|
@ -591,17 +591,17 @@ REPLACE INTO v1_definer SELECT * FROM v1_definer WHERE a=20; |
|
|
|
ERROR 42000: CONNECT Unsupported command |
|
|
|
connection user; |
|
|
|
REPLACE INTO t1 SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO t1 SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO t1 SELECT * FROM v1_definer WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_invoker SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_invoker SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_invoker SELECT * FROM v1_definer WHERE a=20; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
REPLACE INTO v1_definer SELECT * FROM t1 WHERE a=20; |
|
|
|
ERROR 42000: CONNECT Unsupported command |
|
|
|
REPLACE INTO v1_definer SELECT * FROM v1_invoker WHERE a=20; |
|
|
|
@ -624,7 +624,7 @@ t2 CREATE TABLE `t2` ( |
|
|
|
RENAME TABLE t2 TO t1; |
|
|
|
connection user; |
|
|
|
RENAME TABLE t1 TO t2; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (for ALTER..RENAME) |
|
|
|
@ -640,7 +640,7 @@ t2 CREATE TABLE `t2` ( |
|
|
|
ALTER TABLE t2 RENAME TO t1; |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 RENAME TO t2; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (changing ENGINE to non-CONNECT) |
|
|
|
@ -653,7 +653,7 @@ CREATE TABLE t1 (a INT) ENGINE=CONNECT TABLE_TYPE=fix FILE_NAME='t1.fix'; |
|
|
|
INSERT INTO t1 VALUES (10); |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 ENGINE=MyISAM; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (changing ENGINE to CONNECT) |
|
|
|
@ -669,7 +669,7 @@ CREATE TABLE t1 (a INT) ENGINE=MyISAM; |
|
|
|
INSERT INTO t1 VALUES (10); |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 ENGINE=CONNECT TABLE_TYPE=fix FILE_NAME='t1.fix'; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_OPTIMIZE |
|
|
|
@ -682,7 +682,7 @@ test.t1 optimize status OK |
|
|
|
connection user; |
|
|
|
OPTIMIZE TABLE t1; |
|
|
|
Table Op Msg_type Msg_text |
|
|
|
test.t1 optimize Error Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
test.t1 optimize Error Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
test.t1 optimize Error Got error 122 'This operation requires the FILE privilege' from CONNECT |
|
|
|
test.t1 optimize error Corrupt |
|
|
|
connection default; |
|
|
|
@ -696,7 +696,7 @@ Warnings: |
|
|
|
Warning 1105 This is an outward table, table data were not modified. |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 ADD c INT; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (removing columns) |
|
|
|
@ -708,7 +708,7 @@ Warnings: |
|
|
|
Warning 1105 This is an outward table, table data were not modified. |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 DROP c; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (adding keys) |
|
|
|
@ -718,7 +718,7 @@ INSERT INTO t1 VALUES (10,10); |
|
|
|
ALTER TABLE t1 ADD KEY(a); |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 ADD KEY(b); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_ALTER_TABLE (removing keys) |
|
|
|
@ -728,7 +728,7 @@ INSERT INTO t1 VALUES (10,10); |
|
|
|
ALTER TABLE t1 DROP KEY a; |
|
|
|
connection user; |
|
|
|
ALTER TABLE t1 DROP KEY b; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing SQLCOM_CREATE_INDEX and SQLCOM_DROP_INDEX |
|
|
|
@ -740,9 +740,9 @@ DROP INDEX a ON t1; |
|
|
|
CREATE INDEX a ON t1 (a); |
|
|
|
connection user; |
|
|
|
CREATE INDEX b ON t1 (b); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
DROP INDEX a ON t1; |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
# Testing stored procedures |
|
|
|
@ -757,10 +757,10 @@ DROP TABLE t1; |
|
|
|
CALL p_invoker(); |
|
|
|
DROP TABLE t1; |
|
|
|
CALL p_baddefiner(); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
connection user; |
|
|
|
CALL p_invoker(); |
|
|
|
ERROR 28000: Access denied for user 'user'@'localhost' (using password: NO) |
|
|
|
ERROR 42000: Access denied; you need (at least one of) the FILE privilege(s) for this operation |
|
|
|
CALL p_definer(); |
|
|
|
connection default; |
|
|
|
DROP TABLE t1; |
|
|
|
|