Browse Source

Bug#24496:Fresh install of mysql on windows has anonymous user with root access.

- Add anonymous user with no rights.
pull/374/head
unknown 19 years ago
parent
commit
b60c146a89
  1. 2
      scripts/mysql_create_system_tables.sh

2
scripts/mysql_create_system_tables.sh

@ -180,7 +180,7 @@ then
INSERT INTO user (host,user) values ('localhost','');"
else
i_u="$i_u
INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);"
INSERT INTO user (host,user) VALUES ('localhost','');"
fi
fi
fi

Loading…
Cancel
Save