Comments - Authentication Plugin - Unix Socket
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Not very clear. On Debian GNU/Linux 12.8 (bookworm), I use official script to install 11.4 server version (
mariadb_repo_setup.sh --mariadb-server-version=11.4
)Then, i execute this query
"SELECT host, user, password, plugin,authentication_string FROM mysql.user;"
As you can see, root authentification is "mysql_native_password" and not "unix_socket".
I don't understand.
Since 10.4 (see authentication-from-mariadb-10-4) authentication for root as configured as
but
mysql.user
has only one column "plugin" it cannot show two plugins. Which is whymysql.user
is deprecated since 10.4, it's not used to store the authentication information.mysql.global_priv
is used for that andmysql.user
is a view overmysql.global_priv
, it shows only what it is able to show. One plugin out of two.Select from
mysql.global_priv
or useSHOW CREATE USER