1MARIADB-SECURE-INST(1)      MariaDB Database System     MARIADB-SECURE-INST(1)
2
3
4

NAME

6       mariadb-secure-installation - improve MariaDB installation security
7       (mysql_secure_installation is now a symlink to mariadb-secure-
8       installation)
9

SYNOPSIS

11       mysql_secure_installation
12

DESCRIPTION

14       This program enables you to improve the security of your MariaDB
15       installation in the following ways:
16
17       •   You can set a password for root accounts.
18
19       •   You can remove root accounts that are accessible from outside the
20           local host.
21
22       •   You can remove anonymous-user accounts.
23
24       •   You can remove the test database, which by default can be accessed
25           by anonymous users.
26
27       mysql_secure_installation can be invoked without arguments:
28
29           shell> mysql_secure_installation
30
31       The script will prompt you to determine which actions to perform.
32
33       mysql_secure_installation accepts some options:
34
35--basedir=dir_name
36
37           Base directory.
38
39--defaults-extra-file=file_name
40
41           Additional option file.
42
43--defaults-file=file_name
44
45           Option file.
46
47--no-defaults
48
49           Don't read any defaults file.
50
51       Other unrecognized options will be passed on to the server.
52
54       Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
55       2010-2019 MariaDB Foundation
56
57       This documentation is free software; you can redistribute it and/or
58       modify it only under the terms of the GNU General Public License as
59       published by the Free Software Foundation; version 2 of the License.
60
61       This documentation is distributed in the hope that it will be useful,
62       but WITHOUT ANY WARRANTY; without even the implied warranty of
63       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
64       General Public License for more details.
65
66       You should have received a copy of the GNU General Public License along
67       with the program; if not, write to the Free Software Foundation, Inc.,
68       51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
69       http://www.gnu.org/licenses/.
70
71

SEE ALSO

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

AUTHOR

77       MariaDB Foundation (http://www.mariadb.org/).
78
79
80
81MariaDB 10.5                     27 June 2019           MARIADB-SECURE-INST(1)
Impressum