

MySQL 8.0 Bug 94394, Fixed!
source link: https://www.tuicool.com/articles/hit/V7JVRf2
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Last week I came across a bug in MySQL 8.0, which meant that the absence of mysql.user leads to auto-apply of –skip-grant-tables (#94394) would leave MySQL running in an undesirable state. My colleague Sveta Smirnova blogged about the issue and it also caught the interest of Valeriy Kravchuk in Fun with Bugs #80 – On MySQL Bug Reports I am Subscribed to, Part XVI . Thanks for the extra visibility!
Credit is now due to Oracle for the quick response, as it was fixed in less than one week (including a weekend):
Fixed in 8.0.16. Previously, if the grant tables were corrupted, the MySQL server wrote a message to the error log but continued as if the –skip-grant-tables option had been specified. This resulted in the server operating in an unexpected state unless –skip-grant-tables had in fact been specified. Now, the server stops after writing a message to the error log unless started with –skip-grant-tables. (Starting the server with that option enables you to connect to perform diagnostic operations.)
I think that this particular bug reflects some of the nice things about the MySQL community (and Open Source in general); anyone can find and report a bug, or make a feature request, to one of the software vendors ( MySQL ,Percona, or MariaDB ) and try to improve the software. Sometimes bugs hang around for a while, either because they are hard to fix, viewed as lower in priority (despite the reporter’s opinion), or perhaps the bug does not have enough public visibility. Then a member of the community notices the bug and takes an interest and soon there is more interest. If you are lucky the bug gets fixed quickly! You can of course also provide a fix for the bug yourself, which may speed up the process with a little luck.
If you have not yet reported a bug, or want to find if you are reporting them in the right sort of way then you can take a look at How to create a useful MySQL bug report…and make sure it’s properly processed by Valeriy from FOSDEM 2019 .
:bug: :bug: :bug: You can help to find more!
Recommend
-
105
Imgur: The magic of the Internet Back to the topMove to the top
-
124
README MMM Mode for Emacs ================== OVERVIEW MMM Mode is a minor mode for Emacs that allows Multiple Major Modes to coexist in...
-
116
There was a bug very hard to reproduce on the website of a big financial company. The bug was de-prioritized by the developers until one day the CEO called in asking why.
-
84
Post with 14 votes and 1836 views. Shared by irad100. My dad's Mac Dock before & after I fixed it
-
52
Today I'd like to continue my tradition of ignoring MySQL 8 (after all,
-
7
Using gcc sanitisers to get a nasty bug fixed Fri 31 January 2020 By Andr...
-
11
I noticed an annoying bug that is only affecting Safari browser. I am using last iPADOs version, in the IPP 10.5.This is how it happens: randomly the browser gets unresponsive and doesn't allow you to write anything in form fields. T...
-
4
说明:本文中的MySQL,如果不做特殊说明,指的是开源社区版MySQL。 华为云数据库新版本在发布之前,会面临一系列严苛的测试规则,除了要求通过MySQL的所有测试用例之外,还需要通过由华为百万级更丰富、更贴近用户业务场景的测试用例构筑的测试防护网,...
-
12
1. 卸载旧 MySQL 查看 rpm 包 rpm-qa | grep mysql 如果存在,使用如下命令卸载 rpm -e 查找是否存在mysql 相关目录 find / -name mysql
-
10
@rozhnevSlava RozhnevFull stack dev and DBA Maintainer of https://sqlize.onlin...Receive Stories from @...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK