2
3
4
6 mysql_secure_installation - improve MySQL installation security
7
9 mysql_secure_installation
10
12 This program enables you to improve the security of your MySQL
13 installation in the following ways:
14
15 · You can set a password for root accounts.
16
17 · You can remove root accounts that are accessible from outside the
18 local host.
19
20 · You can remove anonymous-user accounts.
21
22 · You can remove the test database, which by default can be accessed
23 by anonymous users.
24
25
26Invoke mysql_secure_installation without arguments:
27
28 shell> mysql_secure_installation
29
30The script will prompt you to determine which actions to perform.
31
33 Copyright 1997-2007 MySQL AB
34
35 This documentation is NOT distributed under a GPL license. Use of this
36 documentation is subject to the following terms: You may create a
37 printed copy of this documentation solely for your own personal use.
38 Conversion to other formats is allowed as long as the actual content is
39 not altered or edited in any way. You shall not publish or distribute
40 this documentation in any form or on any media, except if you
41 distribute the documentation in a manner similar to how MySQL
42 disseminates it (that is, electronically for download on a Web site
43 with the software) or on a CD-ROM or similar medium, provided however
44 that the documentation is disseminated together with the software on
45 the same medium. Any other use, such as any dissemination of printed
46 copies or use of this documentation, in whole or in part, in another
47 publication, requires the prior written consent from an authorized
48 representative of MySQL AB. MySQL AB reserves any and all rights to
49 this documentation not expressly granted above.
50
51 Please email <docs@mysql.com> for more information.
52
54 For more information, please refer to the MySQL Reference Manual, which
55 may already be installed locally and which is also available online at
56 http://dev.mysql.com/doc/.
57
59 MySQL AB (http://www.mysql.com/). This software comes with no
60 warranty.
61
62
63