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.

77 lines
2.7 KiB

  1. '\" t
  2. .\" Title: \fBmysql_fix_extensions\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_FIX_EXTENSI" "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_fix_extensions
  22. .SH "NAME"
  23. mysql_fix_extensions \- normalize table file name extensions
  24. .SH "SYNOPSIS"
  25. .HP \w'\fBmysql_fix_extensions\ \fR\fB\fIdata_dir\fR\fR\ 'u
  26. \fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR
  27. .SH "DESCRIPTION"
  28. .PP
  29. \fBmysql_fix_extensions\fR
  30. converts the extensions for
  31. MyISAM
  32. (or
  33. ISAM) table files to their canonical forms\&. It looks for files with extensions matching any lettercase variant of
  34. \&.frm,
  35. \&.myd,
  36. \&.myi,
  37. \&.isd, and
  38. \&.ism
  39. and renames them to have extensions of
  40. \&.frm,
  41. \&.MYD,
  42. \&.MYI,
  43. \&.ISD, and
  44. \&.ISM, respectively\&. This can be useful after transferring the files from a system with case\-insensitive file names (such as Windows) to a system with case\-sensitive file names\&.
  45. .PP
  46. Invoke
  47. \fBmysql_fix_extensions\fR
  48. like this, where
  49. \fIdata_dir\fR
  50. is the path name to the MySQL data directory\&.
  51. .sp
  52. .if n \{\
  53. .RS 4
  54. .\}
  55. .nf
  56. shell> \fBmysql_fix_extensions \fR\fB\fIdata_dir\fR\fR
  57. .fi
  58. .if n \{\
  59. .RE
  60. .\}
  61. .SH "COPYRIGHT"
  62. .br
  63. .PP
  64. Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.
  65. .PP
  66. 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.
  67. .PP
  68. 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.
  69. .PP
  70. 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/.
  71. .sp
  72. .SH "SEE ALSO"
  73. For more information, please refer to the MySQL Reference Manual,
  74. which may already be installed locally and which is also available
  75. online at http://dev.mysql.com/doc/.
  76. .SH AUTHOR
  77. Sun Microsystems, Inc. (http://www.mysql.com/).