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

Fix SQL syntax error when running mysql --bootstrap.

parent 753bd76d
......@@ -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"
......
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