[MXS-2640] Regression: Error "authentication failed. Unknown database" when DB specified while connecting with rwsplit router Created: 2019-08-15 Updated: 2020-08-27 Resolved: 2020-08-27 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | xpandmon |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Rahul Joshi (Inactive) | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Environment: |
MaxScale server karma182: |
||
| Attachments: |
|
| Description |
|
If connection is created without specifying the DB, it works.
karma136 has older MaxScale server installed and run with same conf file as karma182.
The same works on that version:
It seems to be looking for mysql tables:
ERROR:
Log and cnf file attached. |
| Comments |
| Comment by Johan Wikman [ 2019-08-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Are the privileges of the maxscale user exactly the same on both Clustrix installations? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rahul Joshi (Inactive) [ 2019-08-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Yeah, they are the same
Also, if I use port 4006 or port 4007 (used by individual listeners for two Clustrix clusters), it works.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rahul Joshi (Inactive) [ 2019-08-15 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Attaching the logs (maxscale_2.log ) with just this one attempt to connect with DB name specified. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Adrien [ 2019-11-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
FYI, I had the exact same problem.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by markus makela [ 2020-03-02 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
rahul.joshi@mariadb.com is this still relevant? |