mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
125e172a2b
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.
21 lines
634 B
Text
21 lines
634 B
Text
--source include/windows.inc
|
|
--source include/check_windows_admin.inc
|
|
--source include/have_innodb.inc
|
|
|
|
# Create database in tmp directory using mysql_install_db.exe,
|
|
# and start server from this directory.
|
|
let $ddir= $MYSQLTEST_VARDIR/tmp/ddir;
|
|
use mysql;
|
|
exec $MYSQL_INSTALL_DB_EXE --datadir=$ddir --password=foo -R;
|
|
--source include/kill_mysqld.inc
|
|
let $restart_parameters=--datadir=$ddir;
|
|
--source include/start_mysqld.inc
|
|
|
|
# Check that connect with wrong password succeeds
|
|
connect (root,localhost,root,wrongpass,mysql);
|
|
|
|
--source include/kill_mysqld.inc
|
|
let $restart_parameters=;
|
|
rmdir $ddir;
|
|
--source include/start_mysqld.inc
|
|
|