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

Permission Error on softlink is wrong

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.0.7
    • None
    • None
    • None
    • Fedora 20

    Description

      I stopped the server, installed with yum, moved /var/lib/mysql to /data/mysql, created a softlink
      cd /var/lib
      ln -s /data/mysql .
      the I did the usual chown -R mysql:mysql mysql
      but I still keep getting this error. This is a valid and common operation y regular mysql, to reload the data directory to another drive.

      [ERROR] mysqld: Can't create/write to file '/var/lib/mysql/aria_log_control' (Errcode: 13 "Permission denied")
      [ERROR] mysqld: Got error 'Can't create file' when trying to use aria control file '/var/lib/mysql/aria_log_control'
      [ERROR] Plugin 'Aria' init function returned error.
      [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.

      Attachments

        Issue Links

          Activity

            People

              elenst Elena Stepanova
              philip_38 Philip orleans
              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.