[MDEV-30859] Option "--skip-auth-anonymous-user" not recognized Created: 2023-03-16  Updated: 2023-03-16  Resolved: 2023-03-16

Status: Closed
Project: MariaDB Server
Component/s: Documentation, Scripts & Clients
Affects Version/s: 10.3.38, 10.5.19
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Lukas Javorsky Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Documentation


 Description   

I've tried to add the option "--skip-auth-anonymous-user" to the `mysql_install_db` script and it failed with error:

---> 10:06:24     Running mysql_install_db ...
2023-03-16 10:06:24 0 [ERROR] /usr/libexec/mysqld: unknown option '--skip-auth-anonymous-user'
2023-03-16 10:06:24 0 [ERROR] Aborting

I was following the documentation for mysql_install_db: https://mariadb.com/kb/en/mysql_install_db/#options



 Comments   
Comment by Sergei Golubchik [ 2023-03-16 ]

Thanks. Removed --skip-auth-anonymous-user from the documentation.

This option, indeed, existed for about a year between MariaDB-10.1.21 and MariaDB-10.3.10, but was removed about five years ago. You want to use --skip-test-db instead.

Comment by Lukas Javorsky [ 2023-03-16 ]

Yes, I use the --skip-test-db I just wanted to raise this bug with the --skip-auth-anonymous-user

Thanks for the quick action

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