mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Fix SQL syntax error when running mysql --bootstrap.
This commit is contained in:
parent
753bd76de8
commit
3fdd009990
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ static const char update_root_passwd_part2[]=
|
|||
static const char remove_default_user_cmd[]=
|
||||
"DELETE FROM mysql.user where User='';\n";
|
||||
static const char allow_remote_root_access_cmd[]=
|
||||
"CREATE TEMPORARY TABLE tmp_user LIKE user engine=memory;\n"
|
||||
"CREATE TEMPORARY TABLE tmp_user LIKE user;\n"
|
||||
"INSERT INTO tmp_user SELECT * from user where user='root' "
|
||||
" AND host='localhost';\n"
|
||||
"UPDATE tmp_user SET host='%';\n"
|
||||
|
|
Loading…
Reference in a new issue