Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
11.2.0
-
None
Description
Running mariadb-setpermission and attempting to change a user's password, I get the following:
Make your choice [1,2,3,4,5,6,7,0]: 1
|
|
|
Setting a (new) password for a user.
|
|
For which user do you want to specify a password: foo2
|
Username = foo2
|
Would you like to set a password for foo2 [y/n]: y
|
What password do you want to specify for foo2:
|
Type the password again:
|
We now need to know which host for foo2 we have to change.
|
Choose from the following hosts:
|
- localhost
|
The host please (case sensitive): localhost
|
The following host will be used: localhost.
|
######################################################################
|
|
That was it ... here is an overview of what you gave to me:
|
The username : foo2
|
The host : localhost
|
######################################################################
|
|
Are you pretty sure you would like to implement this [yes/no]: yes
|
Okay ... let's go then ...
|
|
Can't use string ("'localhost'") as an ARRAY ref while "strict refs" in use at ./mariadb-setpermission line 232, <STDIN> line 7.
|
I haven't checked other MariaDB versions. Trying the same on an old MySQL 5.6.49 works.
Attachments
Issue Links
- relates to
-
MDEV-23015 mariadb-setpermission seems incompatible with DBI:MariaDB
- Closed
-
MDEV-26474 Fix mysql_setpermission hostname logic
- Closed
- links to