MDEV-19519 mysql_install_db.exe doesn't set password_last_changed for newly created password
This commit is contained in:
parent
497a4169df
commit
3a1075b93e
@ -364,6 +364,7 @@ static int create_myini()
|
|||||||
|
|
||||||
static const char update_root_passwd_part1[]=
|
static const char update_root_passwd_part1[]=
|
||||||
"UPDATE mysql.global_priv SET priv=json_set(priv,"
|
"UPDATE mysql.global_priv SET priv=json_set(priv,"
|
||||||
|
"'$.password_last_changed', UNIX_TIMESTAMP(),"
|
||||||
"'$.plugin','mysql_native_password',"
|
"'$.plugin','mysql_native_password',"
|
||||||
"'$.authentication_string',PASSWORD(";
|
"'$.authentication_string',PASSWORD(";
|
||||||
static const char update_root_passwd_part2[]=
|
static const char update_root_passwd_part2[]=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user