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

MariaDB init script fails to start (missing dependency on MariaDB-client in server RPM)

    XMLWordPrintable

Details

    Description

      I installed "MariaDB-server" on CentOS using offical repos. "service mysql start" took an awful lot of time, resulting in a time out. Investigation revealed that the function wait_for_ready() defined in /etc/init.d/mysql was using 'mysqladmin ping' to check the status of the server. Ironically, mysqladmin wasn't marked as dependency of 'MariaDB-server' package and hence wasn't installed. Installing "MariaDB-client" did the trick.

      To sum up, MariaDB-server uses a tool which is provided by MariaDB-client, but doesn't request it(as dependency) during installation resulting in service management.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            shredder12 Shashank Sahni
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 20m
                20m

                Git Integration

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