Hi.
SITUATION:
-I have a user named "abc", he is not a root, he cannot grant privileges.
-I have a database named "Toucan".
-I have a table in this database named "Cookies"
-The user doesn't have SELECT privilege on the database, but has some SELECT privileges on some specific tables of this database, including the table "Cookies".
-I run this SQL Query : CREATE TEMPORARY TABLE test AS SELECT * FROM Cookies
THE PROBLEM:
-The creation of the temporary seems to work... but if I try SELECT * FROM test, I get this following error : "select command denied for user: 'abc@localhost' for table 'test'"
I understand what cause the problem, the user doesn't have SELECT privilege on the new created table. Does anyone know how to fix it?
Thanks
Alexandre Thibault
SITUATION:
-I have a user named "abc", he is not a root, he cannot grant privileges.
-I have a database named "Toucan".
-I have a table in this database named "Cookies"
-The user doesn't have SELECT privilege on the database, but has some SELECT privileges on some specific tables of this database, including the table "Cookies".
-I run this SQL Query : CREATE TEMPORARY TABLE test AS SELECT * FROM Cookies
THE PROBLEM:
-The creation of the temporary seems to work... but if I try SELECT * FROM test, I get this following error : "select command denied for user: 'abc@localhost' for table 'test'"
I understand what cause the problem, the user doesn't have SELECT privilege on the new created table. Does anyone know how to fix it?
Thanks
Alexandre Thibault