[MDEV-9883] mysqldump does not support --default-character-set=auto Created: 2016-04-07  Updated: 2019-09-13  Resolved: 2019-09-13

Status: Closed
Project: MariaDB Server
Component/s: Character Sets
Affects Version/s: 5.5, 10.0, 10.1, 10.2
Fix Version/s: 10.2.28, 10.3.19, 10.4.9

Type: Bug Priority: Major
Reporter: Alexander Barkov Assignee: Anel Husakovic
Resolution: Fixed Votes: 1
Labels: beginner-friendly


 Description   

mysql, mysqladmin, mysqlshow and mysqlcheck support a command line option --default-character-set=auto, which means to detect character set from the underlying OS settings (e.g. from the current locale on Unix).

mysqldump does not support this options and returns an error:

$ mysqldump --default-character-set=auto
mysqldump: Character set 'auto' is not a compiled character set and is not specified in the '/usr/share/mariadb/charsets/Index.xml' file

It should be fixed to support "auto", like the other tools do.



 Comments   
Comment by Anel Husakovic [ 2019-09-13 ]

Closed with 3793da44cff600843.

Generated at Thu Feb 08 07:38:02 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.