[MDEV-23660] mysql_install_db complains about missed table mysql.gtid_slave_pos when started with option log-bin Created: 2020-09-03 Updated: 2021-04-26 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | 10.5.4 |
| Fix Version/s: | 10.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Sveta Smirnova | Assignee: | Daniel Black |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
| Comments |
| Comment by Daniel Black [ 2020-09-04 ] |
|
Thanks for the bug report and suggested fix. I'll take a look at it. |
| Comment by Elena Stepanova [ 2020-09-04 ] |
|
Ignoring intentionally configured binary logging to avoid an apparently harmless warning seems to be quite a radical fix. We should assume that at least some users know what they are doing when they have binary logging enabled upon bootstrap, and this change would not leave them any option to do so. |
| Comment by pgnd [ 2021-04-25 ] |
|
rm'ing log-bin = /var/log/mariadb/mariadb-bin from my config does, in fact, remove the 'warning'. > ... apparently harmless warning ... so, what's the resolution here? simply IGNORE the "[Warning]" if using log-bin in install/bootstrap mode? |
| Comment by Sergei Golubchik [ 2021-04-26 ] |
|
if adding --disable-log-bin to the mysqld command line in mysql_install_db will do the trick, then it could be a rather simple way to avoid the warning. |
| Comment by Elena Stepanova [ 2021-04-26 ] |
|
Yes, it should do the trick, and it's better than unconditionally disabling it for any --bootstrap. |