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

mysql_install_db "Could not find ./bin/my_print_defaults"

    XMLWordPrintable

Details

    • 10.1.32

    Description

      a default compiled mariadb (CMAKE_INSTALL_PREFIX:PATH=/usr/local/mysql) installed, with make install.

      path set:

      $ export PATH=$PATH:/usr/local/mysql/bin:/usr/local/mysql/scripts
       
      $ mysql_install_db --defaults-file=~/my.cnf --datadir=~/data2
       
      FATAL ERROR: Could not find ./bin/my_print_defaults
      

      A work around is to include `--basedir=/usr/local/mysql` in the mysql_install_db options however this should be default on an install.

      Recently changed in all versions (though problem probably existed before hand).
      https://github.com/MariaDB/server/commit/52516706c86f9f66c76836eabde7e2477694bac3

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              danblack Daniel Black
              Votes:
              1 Vote for this issue
              Watchers:
              5 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.