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

cannot create table with DATA/INDEX DIRECTORY clause

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.1.9, 10.1.12
    • N/A
    • None
    • Ubuntu 14.04.5 LTS (10.1.12), Windows 10 (10.1.9)

    Description

      both target directories exist and have proper rights

      Ubuntu:

      >create table test.otherlocation (id int) ENGINE=MyISAM, DATA DIRECTORY='/tmp/datadir', INDEX DIRECTORY='/tmp/datadir';
      ERROR 1 (HY000): Can't create/write to file '/tmp/datadir/otherlocation.MYI' (Errcode: 2 "No such file or directory")
      

      Windows:

      >create table test.otherlocation (id int) ENGINE=MyISAM, DATA DIRECTORY='/tmp/datadir', INDEX DIRECTORY='/tmp/datadir';
      ERROR 1103 (42000): Incorrect table name '/tmp/datadir'
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            Klepper Karl
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.