[MDEV-25924] Client shows `utf8mb3` csname replace warning message while logging into server Created: 2021-06-15  Updated: 2021-10-25  Resolved: 2021-10-09

Status: Closed
Project: MariaDB Server
Component/s: Character Sets
Affects Version/s: 10.6
Fix Version/s: 10.6.4

Type: Bug Priority: Major
Reporter: Ramesh Sivaraman Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-26165 Failed to upgrade from 10.4 to 10.6 Closed
Problem/Incident
is caused by MDEV-8334 Rename utf8 to utf8mb3 Closed

 Description   

Client shows `utf8mb3` csname replace warning message while logging into server. These warnings seem related to MDEV-8334.

10.6.2 193bfdd831bbbf65e74acd12baf691d4305e3c11

$ /test/GAL_MD150621-mariadb-10.6.2-linux-x86_64-dbg/bin/mysql -A -uroot -S/test/GAL_MD150621-mariadb-10.6.2-linux-x86_64-dbg/node1/node1_socket.sock
/test/GAL_MD150621-mariadb-10.6.2-linux-x86_64-dbg/bin/mysql: Warning: Charset id '33' csname 'utf8' trying to replace existing csname 'utf8mb3'
/test/GAL_MD150621-mariadb-10.6.2-linux-x86_64-dbg/bin/mysql: Warning: Charset id '83' csname 'utf8' trying to replace existing csname 'utf8mb3'
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 14
Server version: 10.6.2-MariaDB-debug MariaDB Server
 
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
MariaDB [(none)]>



 Comments   
Comment by Ramesh Sivaraman [ 2021-06-15 ]

This issue is reproduced only on our VM QA box and the issue may be with the build environment. Closing this issue.

Comment by Hendrik Schreiber [ 2021-10-06 ]

I've encountered the same issue when connecting to MariaDB 10.6 with a 10.5 client.
Updating the client to 10.6 solved the issue.

Comment by Roel Van de Paar [ 2021-10-09 ]

hendriks73 Thank you. I have reopened the issue. Do you have any idea what may have caused the issue? Also, what was the exact 10.5 version you were using? Also, did you use a binary package from our website or a Linux distro, or did you self-compile? Finally, what is your OS? Thank you!

Comment by Sergei Golubchik [ 2021-10-09 ]

likely the same as MDEV-26165

Comment by Hendrik Schreiber [ 2021-10-09 ]

This was on CentOS Linux release 7.8.2003 (Core).
The 10.5 version was (probably) 10.5.5-1.el7.centos
The 10.6 version was 10.6.4-1.el7.centos
Installation happened via yum.

The problem was probably that the instructions (sorry, don't know which page anymore) only talked about mariadb-server, not about mariadb-client, which meant it wasn't updated.

Generated at Thu Feb 08 09:41:26 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.