DB Project Syntax Checking Error
Posted: Fri 03 Dec 2021 11:24
Hi ,
I am having an issue with errors building a db project when running a script that runs perfectly on its own.
The issue seem to be around dynamic privileges.
eg.
This runs fine as a stand alone script, but in the project refuses to build saying that 'SHOW_ROUTINE' is an unexpected symbol. This also happens for 'FLUSH_OPTIMIZER_COSTS' and a few others, all of which are dynamic privileges.
Anyone think why this might be happening, I have the latest version (Pro).
Thanks
I am having an issue with errors building a db project when running a script that runs perfectly on its own.
The issue seem to be around dynamic privileges.
eg.
Code: Select all
CREATE ROLE 'all_read';
GRANT EXECUTE, SELECT, SHOW DATABASES, SHOW VIEW, SHOW_ROUTINE ON *.* TO 'all_read'@'%';
Anyone think why this might be happening, I have the latest version (Pro).
Thanks