diff options
author | iggy@recycle.(none) <> | 2007-01-23 10:01:56 -0500 |
---|---|---|
committer | iggy@recycle.(none) <> | 2007-01-23 10:01:56 -0500 |
commit | a0c981d25453a841cff9dd15058eed6f1b122fa6 (patch) | |
tree | 4da369a0c01c3259c14caff704ad9ee1fa798f6c | |
parent | f10a24314d61c011b8a7c99f1db0c6f4d2e763e0 (diff) | |
download | mariadb-git-a0c981d25453a841cff9dd15058eed6f1b122fa6.tar.gz |
Bug#24496:Fresh install of mysql on windows has anonymous user with root access.
- Add anonymous user with no rights.
-rw-r--r-- | scripts/mysql_create_system_tables.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysql_create_system_tables.sh b/scripts/mysql_create_system_tables.sh index 54f0ef230ad..36efab7d3ea 100644 --- a/scripts/mysql_create_system_tables.sh +++ b/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 |