mariadb/mysql-test/main/mysql_install_db_win_admin.test
Vladislav Vaintroub 40973d855c MDEV-32926 mysql_install_db_win fails on buildbot
In mysql_install_db_win_admin test, dump bootstrap output in case of
bootstrap failure.
2024-04-02 20:59:01 +02:00

24 lines
757 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;
--disable_result_log
exec $MYSQL_INSTALL_DB_EXE --datadir=$ddir --password=foo --verbose-bootstrap -R;
--enable_result_log
--source include/kill_mysqld.inc
let $restart_parameters=--datadir=$ddir;
--source include/start_mysqld.inc
# Check that connect with wrong password succeeds
# (because it can alternatively connect with GSSAPI as admin)
connect (root,localhost,root,wrongpass,mysql);
--source include/kill_mysqld.inc
let $restart_parameters=;
rmdir $ddir;
--source include/start_mysqld.inc