scripts icon indicating copy to clipboard operation
scripts copied to clipboard

For change password on new verions need modified (in my case -10.11.6-MariaDB)

Open KasperWPS opened this issue 1 year ago • 0 comments

https://github.com/bertvv/scripts/blob/5583d014490efdcc43445031bf09dea9db5b9bc7/src/secure-mysql.sh#L77C44-L77C63

UPDATE mysql.global_priv SET Priv=json_set(priv, '$.plugin', 'mysql_native_password', '$.authentication_string', PASSWORD('${db_root_password}')) WHERE User='root';

KasperWPS avatar May 08 '24 15:05 KasperWPS