Closed
Description
I'm using mysql:5.6 (from https://hub.docker.com/_/mysql/) and have noticed orphaned "test" records in the information_schema.SCHEMA_PRIVILEGES. Is this normal? I think it's messing up execute privileges for a user I've created in a database named test_con. Note ''@'%' on "test\_%" doesn't have execute privileges, but I've granted 'cc_user'@'%' on "test_con" execute privileges.
mysql> select get_text_codes(1,1,34,3);
ERROR 1370 (42000): execute command denied to user 'cc_user'@'%' for routine 'test_con.get_test_codes'
mysql> show grants for cc_user;
+-----------------------------------------------------------------------------+
| Grants for cc_user@% |
+-----------------------------------------------------------------------------+
| GRANT USAGE ON *.* TO 'cc_user'@'%' IDENTIFIED BY PASSWORD <secret> |
| GRANT ALL PRIVILEGES ON `test_con`.* TO 'cc_user'@'%' WITH GRANT OPTION |
+-----------------------------------------------------------------------------+