Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.3.3
-
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
- duplicates
-
MDEV-14617 mysql_install: if no basedir set, use CMAKE_INSTALL_PREFIX as basedir
- Closed