mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-32926 mysql_install_db_win fails on buildbot
In mysql_install_db_win_admin test, dump bootstrap output in case of bootstrap failure.
This commit is contained in:
@ -1,10 +1,4 @@
|
|||||||
use mysql;
|
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
|
# Kill the server
|
||||||
# restart: --datadir=MYSQLTEST_VARDIR/tmp/ddir
|
# restart: --datadir=MYSQLTEST_VARDIR/tmp/ddir
|
||||||
connect root,localhost,root,wrongpass,mysql;
|
connect root,localhost,root,wrongpass,mysql;
|
||||||
|
@ -6,12 +6,15 @@
|
|||||||
# and start server from this directory.
|
# and start server from this directory.
|
||||||
let $ddir= $MYSQLTEST_VARDIR/tmp/ddir;
|
let $ddir= $MYSQLTEST_VARDIR/tmp/ddir;
|
||||||
use mysql;
|
use mysql;
|
||||||
exec $MYSQL_INSTALL_DB_EXE --datadir=$ddir --password=foo -R;
|
--disable_result_log
|
||||||
|
exec $MYSQL_INSTALL_DB_EXE --datadir=$ddir --password=foo --verbose-bootstrap -R;
|
||||||
|
--enable_result_log
|
||||||
--source include/kill_mysqld.inc
|
--source include/kill_mysqld.inc
|
||||||
let $restart_parameters=--datadir=$ddir;
|
let $restart_parameters=--datadir=$ddir;
|
||||||
--source include/start_mysqld.inc
|
--source include/start_mysqld.inc
|
||||||
|
|
||||||
# Check that connect with wrong password succeeds
|
# Check that connect with wrong password succeeds
|
||||||
|
# (because it can alternatively connect with GSSAPI as admin)
|
||||||
connect (root,localhost,root,wrongpass,mysql);
|
connect (root,localhost,root,wrongpass,mysql);
|
||||||
|
|
||||||
--source include/kill_mysqld.inc
|
--source include/kill_mysqld.inc
|
||||||
|
Reference in New Issue
Block a user