summaryrefslogtreecommitdiff
path: root/scripts/mysql_create_system_tables.sh
diff options
context:
space:
mode:
authorunknown <iggy@recycle.(none)>2007-01-23 10:01:56 -0500
committerunknown <iggy@recycle.(none)>2007-01-23 10:01:56 -0500
commitb60c146a898348e574e4e6d5e85a4c7d0a6160f1 (patch)
tree4da369a0c01c3259c14caff704ad9ee1fa798f6c /scripts/mysql_create_system_tables.sh
parent6f65e1bc5de37f76f696d9e448ac402536cf0b9f (diff)
downloadmariadb-git-b60c146a898348e574e4e6d5e85a4c7d0a6160f1.tar.gz
Bug#24496:Fresh install of mysql on windows has anonymous user with root access.
- Add anonymous user with no rights.
Diffstat (limited to 'scripts/mysql_create_system_tables.sh')
-rw-r--r--scripts/mysql_create_system_tables.sh2
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