| Bug #119108 | Get ERROR 4501 via Router w/ RW split executing "<>" | ||
|---|---|---|---|
| Submitted: | 6 Oct 11:02 | Modified: | 11 Oct 3:25 |
| Reporter: | Keith Hollman | Email Updates: | |
| Status: | Open | Impact on me: | |
| Category: | MySQL Router | Severity: | S3 (Non-critical) |
| Version: | 8.4.6 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | 3310, mysqlrouter, read-write split, router, rw split | ||
[6 Oct 11:02]
Keith Hollman
[6 Oct 11:06]
Keith Hollman
Reproduced that "-" also fails, where "--" doesn't anymore.
No default schema selected; type \use <schema> to set one.
MySQL web-02:3306 ssl SQL > -
-> ;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL web-02:3306 ssl SQL > -- ;
Query OK, 0 rows affected (0.0085 sec)
Statement ID: 604307
[6 Oct 11:14]
Keith Hollman
Trying to determine in a preprod env what's happening and it could be anything of the following (according to my keyboard):
MySQL e-web-02:3306 ssl SQL > @;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > #;
Query OK, 0 rows affected (0.0018 sec)
Statement ID: 604466
MySQL e-web-02:3306 ssl SQL > ~;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > €;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ¬;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ;
ERROR: 1065 (42000): Query was empty
MySQL e-web-02:3306 ssl SQL > (;
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
MySQL e-web-02:3306 ssl SQL > );
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > =;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ª;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > º;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > \;
Unknown command: '\;'
MySQL e-web-02:3306 ssl SQL > |;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > €;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ^;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > *;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > `;
`> ;
`> `;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > +;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ´;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ç;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ,;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > .;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > -;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > {;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > };
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > [;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ];
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ¿;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ?;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
[6 Oct 11:14]
Keith Hollman
Trying to determine in a preprod env what's happening and it could be anything of the following (according to my keyboard):
MySQL e-web-02:3306 ssl SQL > @;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > #;
Query OK, 0 rows affected (0.0018 sec)
Statement ID: 604466
MySQL e-web-02:3306 ssl SQL > ~;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > €;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ¬;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ;
ERROR: 1065 (42000): Query was empty
MySQL e-web-02:3306 ssl SQL > (;
ERROR: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
MySQL e-web-02:3306 ssl SQL > );
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > =;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ª;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > º;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > \;
Unknown command: '\;'
MySQL e-web-02:3306 ssl SQL > |;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > €;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ^;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > *;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > `;
`> ;
`> `;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > +;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ´;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ç;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ,;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > .;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > -;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > {;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > };
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > [;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ];
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ¿;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
MySQL e-web-02:3306 ssl SQL > ?;
ERROR: 4501 (HY000): Statement not allowed if access_mode is 'auto'
[7 Oct 1:09]
MySQL Verification Team
Thank you for the report.
