mysql_secure_installation
— Improve MySQL Installation Security
259
The path to the MySQL data directory.
•
--force
[259]
Cause
mysql_install_db
to run even if DNS does not work. Grant table entries that normally use
host names will use IP addresses.
•
--rpm
[259]
For internal use. This option is used during the MySQL installation process for install operations
performed using RPM packages.
•
--skip-name-resolve
[259]
Use IP addresses rather than host names when creating grant table entries. This option can be
useful if your DNS does not work.
•
--srcdir=path
[259]
For internal use. This option specifies the directory under which
mysql_install_db
looks for
support files such as the error message file and the file for populating the help tables. This option
was added in MySQL 5.0.32.
•
--user=user_name
[259]
The system (login) user name to use for running
mysqld
. Files and directories created by
mysqld
will be owned by this user. You must be
root
to use this option. By default,
mysqld
runs using your
current login name and files and directories that it creates will be owned by you.
•
--verbose
[259]
Verbose mode. Print more information about what the program does.
•
--windows
[259]
For internal use. This option is used for creating Windows distributions.
4.4.7.
mysql_secure_installation
— Improve MySQL Installation
Security
This program enables you to improve the security of your MySQL installation in the following ways:
• You can set a password for
root
accounts.
• You can remove
root
accounts that are accessible from outside the local host.
• You can remove anonymous-user accounts.
• You can remove the
test
database (which by default can be accessed by all users, even
anonymous users), and privileges that permit anyone to access databases with names that start with
test_
.
mysql_secure_installation
helps you implement security recommendations similar to those
described at
Section 2.18.2, “Securing the Initial MySQL Accounts”
.
Invoke
mysql_secure_installation
without arguments:
shell>
mysql_secure_installation
The script will prompt you to determine which actions to perform.
mysql_secure_installation
is not available on Windows.
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...