This program enables you to improve the security of your MySQL installation in the following ways:
- You can set a password for
rootaccounts. - You can remove
rootaccounts that are accessible from outside the local host. - You can remove anonymous-user accounts.
- You can remove the
testdatabase (which by default can be accessed by all users, even anonymous users), and privileges that permit anyone to access databases with names that start withtest_.
mysql_secure_installation helps you implement security recommendations similar to those described atSection 2.18.2, “Securing the Initial MySQL Accounts”.
Invoke mysql_secure_installation without arguments:
shell> mysql_secure_installation
The script will prompt you to determine which actions to perform.
mysql_secure_installation is not available on Windows.
沒有留言:
張貼留言