[MDEV-15027] mtr: set @skip_auth_anonymous=1 Created: 2018-01-22  Updated: 2018-01-27  Resolved: 2018-01-27

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Affects Version/s: 10.1
Fix Version/s: 10.1.31, 10.2.13

Type: Bug Priority: Major
Reporter: Sergey Vojtovich Assignee: Elena Stepanova
Resolution: Fixed Votes: 0
Labels: contribution, foundation


 Description   

MTR explicitly removes the anonymous users 36 lines below this. Its easier if it doesn't install them in the first place.

Since 736afe8 the mysql_system_tables_data.sql only installs the anonymous user if skip_auth_anonymous IS NULL. Installing anonymous users is prevented by setting this to 1.

I hesitated removing "DELETE FROM mysql.user where user= ''" because the install from 5.0/5.1 made it look like mtr was designed to be run against any version. It probably can be removed in an non-GA after this is merged.


Generated at Thu Feb 08 08:18:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.