MARIADB-FIX-EXTENSIONS(1)

πŸ’– MARIADB-FIX-EXTENSIONS(1) πŸ’–

okay bestie, welcome to the MariaDB Database System manual page for mariadb-fix-extensions, and yes we're doing this together, grab a snack πŸ“


✨ NAME ✨

mariadb-fix-extensions β€” normalize table file name extensions

(and the page says, verbatim: mariadb-fix-extensions is now a symlink to mariadb-fix-extensions. yes. a symlink to itself. the page really wrote that. we don't question it, we just respect it πŸ’…)


🌸 SYNOPSIS 🌸

mariadb-fix-extensions data_dir

πŸ¦‹ DESCRIPTION πŸ¦‹

⚠️ heads up, this script is deprecated and will be removed in a later release. so like. it still works, but don't get attached. it's giving limited-edition.

so what does it actually do? mariadb-fix-extensions converts the extensions for MyISAM (or ISAM) table files to their canonical forms. it goes looking for files whose extensions match any lettercase variant of:

  • .frm
  • .myd
  • .myi
  • .isd
  • .ism

and it renames them so their extensions become, respectively:

  • .frm
  • .MYD
  • .MYI
  • .ISD
  • .ISM

the way that's useful?? okay so imagine you moved your files off a system with case-insensitive file names (looking at you, Windows πŸ‘€) onto a system with case-sensitive file names. suddenly .MYD and .myd are two different little guys and everything is chaos. this script fixes that. slay ✨

invoke it like this, where data_dir is the path name to the MariaDB data directory:

shell> mariadb-fix-extensions data_dir

that's it. that's the whole vibe. one argument, one job, and it ate πŸ”₯


Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc., 2010-2025 MariaDB Foundation

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.

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.

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-1335 USA or see http://www.gnu.org/licenses/.


🫢 SEE ALSO 🫢

For more information, please refer to the MariaDB Documentation, available online at https://mariadb.com/docs/

like genuinely, go read the docs, they're the main character πŸ“š


🌈 AUTHOR 🌈

MariaDB Foundation (http://www.mariadb.org/).


and that's the whole page bestie, no notes πŸ’œ this was MariaDB 11.8, dated 5 March 2025, and honestly? iconic of it. go normalize those extensions. periodt πŸŽ€πŸ’…

πŸ“¦ where this page comes from