[MXS-4273] command "show shards" or "show databases" encoding output Created: 2022-09-05 Updated: 2022-09-07 Resolved: 2022-09-07 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | schemarouter |
| Affects Version/s: | 6.4.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Ivan | Assignee: | markus makela |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Environment: |
OS Oracle Linux 8 |
||
| Attachments: |
|
| Description |
|
Hi! i'm try to test schemarouter , and have several problem but if i'm connected to readwritesplit , all output is ok |
| Comments |
| Comment by markus makela [ 2022-09-05 ] | ||||||||||||||||||
|
Usachev What's the client and server character sets you are using and what is the expected output? | ||||||||||||||||||
| Comment by Ivan [ 2022-09-05 ] | ||||||||||||||||||
|
@markus makela Server version: 5.7.35-38-log Percona Server (GPL), Release 38, Revision 3692a61
-------------------------
------------------------- | ||||||||||||||||||
| Comment by markus makela [ 2022-09-06 ] | ||||||||||||||||||
|
This is probably caused by the fact that the schemarouter uses the binary character set for the resultsets it creates to show the database names. I tested this using the mysql client from the Percona Server 5.7 docker image and it seems to work as expected and the database names are printed correctly. Can you print the output of the status command from the command line client you are using that produces these sorts of results? | ||||||||||||||||||
| Comment by Ivan [ 2022-09-07 ] | ||||||||||||||||||
|
Markus , i'm try to upgrade up 6.4.2 and right now all is ok! | ||||||||||||||||||
| Comment by markus makela [ 2022-09-07 ] | ||||||||||||||||||
|
So it works OK with 6.4.2? | ||||||||||||||||||
| Comment by Ivan [ 2022-09-07 ] | ||||||||||||||||||
|
yes | ||||||||||||||||||
| Comment by markus makela [ 2022-09-07 ] | ||||||||||||||||||
|
In that case I'll close it as Incomplete since the problem seems to have been fixed by something else. | ||||||||||||||||||
| Comment by Ivan [ 2022-09-07 ] | ||||||||||||||||||
|
yes, sure |