Bug #11332 | default user privileges are very insecure | ||
---|---|---|---|
Submitted: | 14 Jun 2005 22:10 | Modified: | 18 Jun 2005 4:10 |
Reporter: | Daniel Convissor | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.12a | OS: | Windows (win32) |
Assigned to: | CPU Architecture: | Any |
[14 Jun 2005 22:10]
Daniel Convissor
[18 Jun 2005 4:10]
MySQL Verification Team
This behavior is for to make easy the initial start-up of the server. How to proceed after the install process is mentioned in the Manual: http://dev.mysql.com/doc/mysql/en/default-privileges.html ------------------------------------------------------------------------------------------- As noted, none of the initial accounts have passwords. This means that your MySQL installation is unprotected until you do something about it: * If you want to prevent clients from connecting as anonymous users without a password, you should either assign passwords to the anonymous accounts or else remove them. * You should assign passwords to the MySQL root accounts. The following instructions describe how to set up passwords for the initial MySQL accounts, first for the anonymous accounts and then for the root accounts. Replace ``newpwd'' in the examples with the actual password that you want to use. The instructions also cover how to remove the anonymous accounts, should you prefer not to allow anonymous access at all. -------------------------------------------------------------------------------------------