1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-23 08:45:18 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
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
12c3d1e1d7 Fix Windows warnings and tests for -DPLUGIN_PERFSCHEMA=NO 2021-09-05 20:22:39 +02:00
aa2ff62082 MDEV-9077 Use sys schema in bootstrapping, incl. mtr 2021-03-18 08:02:48 +01:00
272828a171 Merge branch '10.5' into 10.6 2020-07-04 11:53:26 +02:00
59c999fc98 MDEV-23052 - add mysql_install_db.exe test with existing directory. 2020-06-30 12:47:43 +02:00
97b4686e2c MDEV-7021 allow config file parameter for mysql_install_db.exe
The new parameter is called --config

The config file is copied to the data directory as my.ini, and possibly
modified.

Bootstrap will now use my.ini to create tables. In case of non-standard
directory/file placements, this will ensure correct permissions for the
service user.

mysql_install_db_win test is extended to test --config with non-trivial
config file.
2020-05-18 18:11:58 +02:00
b5615eff0d Write information about restart in .result
Idea comes from MySQL which does something similar
2019-04-01 19:47:24 +03:00
a4ac987cbc more tests for mysql_install_db.exe 2018-12-12 00:31:04 +01:00
24a45d3bd7 Fix windows build : re-record .result file 2018-12-06 21:51:38 +01:00
50c850c9b1 Windows : create a minimalistic MTR test for mysql_install_db.exe
only --datadir option is tested in this test.
Other options (notably --password and --service) would need another,
more comprehensive test.
2018-12-06 15:09:17 +01:00