[MDEV-23016] mariadb-setpermission Created: 2020-06-25  Updated: 2021-04-13  Resolved: 2021-04-13

Status: Closed
Project: MariaDB Server
Component/s: Scripts & Clients
Affects Version/s: 10.5.4
Fix Version/s: 10.5.10

Type: Bug Priority: Minor
Reporter: Anders Karlsson Assignee: Anel Husakovic
Resolution: Fixed Votes: 0
Labels: None
Environment:

Linux CentOS 7.7


Issue Links:
Relates
relates to MDEV-23015 mariadb-setpermission seems incompati... Closed

 Description   

After manually fixing MDEV-23015, this program still fails to set a password for a user. This is because it is trying to update the mysql.user table, which is not a good practice in general and will not even work in MariaDB 10.4 and up.
The error you get when trying to set a password is:
Column 'Password' is not updatable at /usr/bin/mariadb-setpermission line 200, <STDIN> line 8.



 Comments   
Comment by Anel Husakovic [ 2021-04-07 ]

Related to the patch of MDEV-23016

Comment by Oleksandr Byelkin [ 2021-04-13 ]

OK to push

Comment by Anel Husakovic [ 2021-04-13 ]

Pushed with 18a829012

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