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

mysql_install_db.exe -d='datafolder' --service='servicename' adds the required permissions only to the data folder

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 10.2.14
    • N/A
    • Platform Windows
    • None

    Description

      mysql_install_db.exe -d='datafolder' --service='servicename' adds the required permissions only to the data folder causing the following error trying to launch the service with the "sc start servicename" command:
      [SC] StartService FAILED 5:
      Access is denied.

      Note that the mysql_install_db command automatically finds the mysqld binary that lies in the same folder and sets the service launch parameters, so it's my expectation that the permissions are set also for the mysqld binary and the share folder.

      The solution is to manually add the required permissions also to the mysqld binary.

      Attachments

        Activity

          People

            wlad Vladislav Vaintroub
            suyecufi suyecufi
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.