Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-28202

mysqlcheck: unknown variable 'ignore-db-dirs=lost+found'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Incomplete
    • None
    • N/A
    • None
    • None

    Description

      I have an own partition for mysql-datadir with EXT4. There exists the lost+found directory.
      If i use mysqlcheck i get:

      mysqlcheck: Error: Couldn't get table list for database #mysql50#lost+found: Can't read dir of './lost+found/' (errno: 13 "Permission denied")
      

      If i add to my.cnf

      ignore-db-dirs = lost+found
      

      and restart database server everything seems to be fine.
      But if i try to use mysqlcheck again now i get

      mysqlcheck: unknown variable 'ignore-db-dirs=lost+found'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tetzlav Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.