1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-26715 Windows/installer - allow passwordless login for root

Allow passwordless login in addition to usual login with password, when
creating 'root' user during install.

The effect of that change is that "local administrators" group are
allowed to connect as root user. This is done via gssapi authentication
plugin.

Clients that are not aware of gssapi client plugin, can still login with
password credentials.
This commit is contained in:
Vladislav Vaintroub
2022-05-20 16:32:35 +02:00
parent e387b396d1
commit 125e172a2b
15 changed files with 54 additions and 36 deletions

View File

@ -0,0 +1,12 @@
use mysql;
Running bootstrap
Creating my.ini file
Removing default user
Allowing remote access for user root
Setting root password
Creation of the database was successful
# Kill the server
# restart: --datadir=MYSQLTEST_VARDIR/tmp/ddir
connect root,localhost,root,wrongpass,mysql;
# Kill the server
# restart