Commit 2de39b2
committed
Fix TestAccGrantComplexMySQL8 to grant correct dynamic privileges
The test was checking for CONNECTION_ADMIN and FIREWALL_EXEMPT privileges,
but the configuration was only granting SELECT and UPDATE. This mismatch
caused the test to fail with "grant CONNECTION_ADMIN not found".
MySQL 8.0+ dynamic privileges like CONNECTION_ADMIN and FIREWALL_EXEMPT
must be granted globally (database = "*"), not on specific databases.
Updated the test configuration to:
- Grant CONNECTION_ADMIN and FIREWALL_EXEMPT (instead of SELECT, UPDATE)
- Use database = "*" for global privileges (instead of specific database)1 parent c3a98f1 commit 2de39b2
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | | - | |
908 | | - | |
| 907 | + | |
| 908 | + | |
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| |||
0 commit comments