1MYSQL_SECURE_INST(1) MySQL Database System MYSQL_SECURE_INST(1)
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 Invoke mysql_secure_installation without arguments:
26
27 shell> mysql_secure_installation
28
29 The script will prompt you to determine which actions to perform.
30
32 Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
33
34 This documentation is free software; you can redistribute it and/or
35 modify it only under the terms of the GNU General Public License as
36 published by the Free Software Foundation; version 2 of the License.
37
38 This documentation is distributed in the hope that it will be useful,
39 but WITHOUT ANY WARRANTY; without even the implied warranty of
40 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
41 General Public License for more details.
42
43 You should have received a copy of the GNU General Public License along
44 with the program; if not, write to the Free Software Foundation, Inc.,
45 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
46 http://www.gnu.org/licenses/.
47
48
50 For more information, please refer to the MySQL Reference Manual, which
51 may already be installed locally and which is also available online at
52 http://dev.mysql.com/doc/.
53
55 Sun Microsystems, Inc. (http://www.mysql.com/).
56
57
58
59MySQL 5.1 04/06/2010 MYSQL_SECURE_INST(1)