Commit graph

3 commits

Author SHA1 Message Date
Vladislav Vaintroub
f97c8f7ece MDEV-26715 Fix mysql_install_db_win tests.
It looks like  C/C reconnect retains the database. It is correct behavior
However there is a problem that mysql_install_db.exe does not create
'test' database, thus using mysql_install_db to create datadir,
then restarting server and reconnecting does not succeed, if 'test' was
current db before reconnect.

The problem became apparent with MDEV-26715. Why it worked before,
with a simpler 'root' definition is a mystery.

Fix is to switch current connection to 'mysql' database, prior to
reconnect to the instance created via mysql_install_db.exe
2022-11-08 14:58:48 +01:00
Marko Mäkelä
0476f48332 MDEV-26713 fixup: Prefer shutdown to kill
A subsequently executed test could fail due to warning messages
that some mysql.help_% tables were not closed properly.
2022-06-07 09:07:37 +03:00
Vladislav Vaintroub
74f2e6c85e MDEV-26713 Add test for mysql_install_db creating service, with i18 2021-12-15 19:13:57 +01:00