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

mysql_install_db fails because basedir is incorrect

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 10.1.38
    • 10.2.23, 10.3.13, 10.1.39
    • None
    • CentOS Linux release 7.5.1804 (Core)

      Linux localhost.localdomain 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    Description

      Since the release of 10.1.38 mysql_install_db fails when called without arguments:

      [root@localhost vagrant]# mysql_install_db 
       
      FATAL ERROR: Could not find //share/mysql/fill_help_tables.sql
       
      If you compiled from source, you need to either run 'make install' to
      copy the software into the correct location ready for operation.
      If you don't want to do a full install, you can use the --srcdir
      option to only install the mysql database and privilege tables
       
      If you are using a binary release, you must either be at the top
      level of the extracted archive, or pass the --basedir option
      pointing to that location.
       
      The latest information about mysql_install_db is available at
      https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
      

      This problem does not occur with 10.1.37.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              timruhl Tim Ruhl
              Votes:
              1 Vote for this issue
              Watchers:
              6 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.