mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
40973d855c
In mysql_install_db_win_admin test, dump bootstrap output in case of bootstrap failure.
24 lines
757 B
Text
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
|
|
|