1MYSQL_SECURE_INST(1)        MariaDB Database System       MYSQL_SECURE_INST(1)
2
3
4

NAME

6       mysql_secure_installation - improve MariaDB installation security
7

SYNOPSIS

9       mysql_secure_installation
10

DESCRIPTION

12       This program enables you to improve the security of your MariaDB
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       mysql_secure_installation can be invoked without arguments:
26
27           shell> mysql_secure_installation
28
29       The script will prompt you to determine which actions to perform.
30
31       mysql_secure_installation accepts some options:
32
33       ·   --basedir=dir_name
34
35           Base directory.
36
37       ·   --defaults-extra-file=file_name
38
39           Additional option file.
40
41       ·   --defaults-file=file_name
42
43           Option file.
44
45       ·   --no-defaults
46
47           Don't read any defaults file.
48
49       Other unrecognized options will be passed on to the server.
50
52       Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
53       2010-2017 MariaDB Foundation
54
55       This documentation is free software; you can redistribute it and/or
56       modify it only under the terms of the GNU General Public License as
57       published by the Free Software Foundation; version 2 of the License.
58
59       This documentation is distributed in the hope that it will be useful,
60       but WITHOUT ANY WARRANTY; without even the implied warranty of
61       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62       General Public License for more details.
63
64       You should have received a copy of the GNU General Public License along
65       with the program; if not, write to the Free Software Foundation, Inc.,
66       51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
67       http://www.gnu.org/licenses/.
68
69

SEE ALSO

71       For more information, please refer to the MariaDB Knowledge Base,
72       available online at https://mariadb.com/kb/
73

AUTHOR

75       MariaDB Foundation (http://www.mariadb.org/).
76
77
78
79MariaDB 10.4                     28 March 2019            MYSQL_SECURE_INST(1)
Impressum