mysql_fix_extensions

MariaDB starting with 10.4.6

From MariaDB 10.4.6, mariadb-fix-extensions is a symlink to mysql_fix_extensions.

MariaDB starting with 10.5.2

From MariaDB 10.5.2, mysql_fix_extensions is the symlink, and mariadb-fix-extensions the binary name.

mysql_fix_extensions converts the extensions for MyISAM (or ISAM) table files to their canonical forms.

It looks for files with extensions matching any lettercase variant of .frm, .myd, .myi, .isd, and .ism and renames them to have extensions of .frm, .MYD, .MYI, .ISD, and .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.

Invoke mysql_fix_extensions as follows, where data_dir is the path name to the MariaDB data directory.

mysql_fix_extensions data_dir
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/mysql_fix_extensions/