Commit 3a1075b9 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-19519 mysql_install_db.exe doesn't set password_last_changed for newly created password

parent 497a4169
......@@ -364,6 +364,7 @@ static int create_myini()
static const char update_root_passwd_part1[]=
"UPDATE mysql.global_priv SET priv=json_set(priv,"
"'$.password_last_changed', UNIX_TIMESTAMP(),"
"'$.plugin','mysql_native_password',"
"'$.authentication_string',PASSWORD(";
static const char update_root_passwd_part2[]=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment