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

cannot install mariadb on ubuntu 16.04

    XMLWordPrintable

Details

    Description

      how can I install mariaDb in ubuntu?
      I checked the INSTALL_BINARY in mariadb-10.3.7.tar.gz, do these:
      shell> groupadd mysql
      shell> useradd -g mysql mysql
      shell> cd /usr/local
      shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
      shell> ln -s full-path-to-mysql-VERSION-OS mysql
      shell> cd mysql
      shell> chown -R mysql .
      shell> chgrp -R mysql .
      shell> scripts/mysql_install_db --user=mysql

      but can not do this : shell> scripts/mysql_install_db --user=mysql

      if I cd scripts directory and do mysql_install_db.sh --user=mysql,

      got those error:

      root@fullintest-desktop:/usr/local/mysql/scripts# mysql_install_db --user=mysql
      Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
      2018-06-25 15:04:13 0 [ERROR] mysqld: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
      2018-06-25 15:04:44 0 [ERROR] mysqld: Got error 'Could not get an exclusive lock; file is probably in use by another process' when trying to use aria control file '/var/lib/mysql/aria_log_control'
      2018-06-25 15:04:44 0 [ERROR] Plugin 'Aria' init function returned error.
      2018-06-25 15:04:44 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
      2018-06-25 15:04:44 0 [ERROR] InnoDB: Unable to lock ./ibdata1 error: 11

      how can i install mariaDb?

      Attachments

        Activity

          People

            Unassigned Unassigned
            zhuqingtao zhuqingtao
            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.