You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
2.9 KiB

  1. '\" t
  2. .\" Title: \fBmysql_secure_installation\fR
  3. .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
  5. .\" Date: 04/06/2010
  6. .\" Manual: MySQL Database System
  7. .\" Source: MySQL 5.1
  8. .\" Language: English
  9. .\"
  10. .TH "\FBMYSQL_SECURE_INST" "1" "04/06/2010" "MySQL 5\&.1" "MySQL Database System"
  11. .\" -----------------------------------------------------------------
  12. .\" * set default formatting
  13. .\" -----------------------------------------------------------------
  14. .\" disable hyphenation
  15. .nh
  16. .\" disable justification (adjust text to left margin only)
  17. .ad l
  18. .\" -----------------------------------------------------------------
  19. .\" * MAIN CONTENT STARTS HERE *
  20. .\" -----------------------------------------------------------------
  21. .\" mysql_secure_installation
  22. .SH "NAME"
  23. mysql_secure_installation \- improve MySQL installation security
  24. .SH "SYNOPSIS"
  25. .HP \w'\fBmysql_secure_installation\fR\ 'u
  26. \fBmysql_secure_installation\fR
  27. .SH "DESCRIPTION"
  28. .PP
  29. This program enables you to improve the security of your MySQL installation in the following ways:
  30. .sp
  31. .RS 4
  32. .ie n \{\
  33. \h'-04'\(bu\h'+03'\c
  34. .\}
  35. .el \{\
  36. .sp -1
  37. .IP \(bu 2.3
  38. .\}
  39. You can set a password for
  40. root
  41. accounts\&.
  42. .RE
  43. .sp
  44. .RS 4
  45. .ie n \{\
  46. \h'-04'\(bu\h'+03'\c
  47. .\}
  48. .el \{\
  49. .sp -1
  50. .IP \(bu 2.3
  51. .\}
  52. You can remove
  53. root
  54. accounts that are accessible from outside the local host\&.
  55. .RE
  56. .sp
  57. .RS 4
  58. .ie n \{\
  59. \h'-04'\(bu\h'+03'\c
  60. .\}
  61. .el \{\
  62. .sp -1
  63. .IP \(bu 2.3
  64. .\}
  65. You can remove anonymous\-user accounts\&.
  66. .RE
  67. .sp
  68. .RS 4
  69. .ie n \{\
  70. \h'-04'\(bu\h'+03'\c
  71. .\}
  72. .el \{\
  73. .sp -1
  74. .IP \(bu 2.3
  75. .\}
  76. You can remove the
  77. test
  78. database, which by default can be accessed by anonymous users\&.
  79. .RE
  80. .PP
  81. Invoke
  82. \fBmysql_secure_installation\fR
  83. without arguments:
  84. .sp
  85. .if n \{\
  86. .RS 4
  87. .\}
  88. .nf
  89. shell> \fBmysql_secure_installation\fR
  90. .fi
  91. .if n \{\
  92. .RE
  93. .\}
  94. .PP
  95. The script will prompt you to determine which actions to perform\&.
  96. .SH "COPYRIGHT"
  97. .br
  98. .PP
  99. Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
  100. .PP
  101. This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
  102. .PP
  103. This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  104. .PP
  105. You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
  106. .sp
  107. .SH "SEE ALSO"
  108. For more information, please refer to the MySQL Reference Manual,
  109. which may already be installed locally and which is also available
  110. online at http://dev.mysql.com/doc/.
  111. .SH AUTHOR
  112. Sun Microsystems, Inc. (http://www.mysql.com/).