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 all users, even anonymous users), and privileges that permit
24 anyone to access databases with names that start with test_.
25
26 mysql_secure_installation helps you implement security recommendations
27 similar to those described at Section 2.12.2, “Securing the Initial
28 MySQL Accounts”.
29
30 Invoke mysql_secure_installation without arguments:
31
32 shell> mysql_secure_installation
33
34 When executed, the script prompts you to determine which actions to
35 perform.
36
38 Copyright © 1997, 2013, Oracle and/or its affiliates. All rights
39 reserved.
40
41 This documentation is free software; you can redistribute it and/or
42 modify it only under the terms of the GNU General Public License as
43 published by the Free Software Foundation; version 2 of the License.
44
45 This documentation is distributed in the hope that it will be useful,
46 but WITHOUT ANY WARRANTY; without even the implied warranty of
47 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
48 General Public License for more details.
49
50 You should have received a copy of the GNU General Public License along
51 with the program; if not, write to the Free Software Foundation, Inc.,
52 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see
53 http://www.gnu.org/licenses/.
54
55
57 For more information, please refer to the MySQL Reference Manual, which
58 may already be installed locally and which is also available online at
59 http://dev.mysql.com/doc/.
60
62 Oracle Corporation (http://dev.mysql.com/).
63
64
65
66MySQL 5.1 11/04/2013 MYSQL_SECURE_INST(1)