Thank you for taking the time to report this bug and helping to make Ubuntu better.
I did reproduce what you mentioned and I got this segfault when running the mysql command:
root@mysql-triage:~# mysql --ssl-mode=DISABLED -h 127.0.0.1 -u root --password=root < stdin.txt
mysql: [Warning] Using a password on the command line interface can be insecure.
Connection from localhost 57006 received!
����!rootoR�~ˌ�N��5Ͻ�;�}mysql_native_passworde_osLinux _client_namlibmysql_pid2890_client_version5.7.34 _platformx86_64 program_namemysql!select @@version_comment limit 1mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file
Segmentation fault (core dumped)
I did not go deep into debugging this but this does not seem related to a package issue. Have you tried to contact upstream about that? Explaining your goal, what was expected and what did you get. I am marking this bug as Incomplete for now until you provide more info explaining why do you think this is a bug in Ubuntu, when you do that please set the bug status back to New and we will revisit it.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
I did reproduce what you mentioned and I got this segfault when running the mysql command:
root@mysql- triage: ~# mysql --ssl-mode=DISABLED -h 127.0.0.1 -u root --password=root < stdin.txt ~ˌ�N��5Ͻ� ;�}mysql_ native_ passworde_ osLinux
_client_ namlibmysql_ pid2890_ client_ version5. 7.34 _platformx86_64
program_ namemysql! select @@version_comment limit 1mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/ mysql/charsets/ Index.xml' file mysql/charsets/ Index.xml' file mysql/charsets/ Index.xml' file
mysql: [Warning] Using a password on the command line interface can be insecure.
Connection from localhost 57006 received!
����!rootoR�
mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/
mysql: Character set '' is not a compiled character set and is not specified in the '/usr/share/
Segmentation fault (core dumped)
I did not go deep into debugging this but this does not seem related to a package issue. Have you tried to contact upstream about that? Explaining your goal, what was expected and what did you get. I am marking this bug as Incomplete for now until you provide more info explaining why do you think this is a bug in Ubuntu, when you do that please set the bug status back to New and we will revisit it.