summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.4 into 10.5Marko Mäkelä2021-11-291-4/+2
|\
| * Merge 10.3 into 10.4Marko Mäkelä2021-11-291-4/+2
| |\
| | * Merge 10.2 into 10.3Marko Mäkelä2021-11-291-4/+2
| | |\
| | | * mysql_install_db: remove MySQL referencesDaniel Black2021-11-241-4/+2
| | | | | | | | | | | | | | | | | | | | MySQL documentation isn't going to help our users and we shouldn't refer to it.
* | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2021-07-311-5/+1
|\ \ \ \ | |/ / /
| * | | Merge branch '10.3' into 10.4Oleksandr Byelkin2021-07-311-5/+1
| |\ \ \ | | |/ /
| | * | MDEV-25326 mysql_install_db help text incompleteSergei Golubchik2021-07-151-5/+1
| | | | | | | | | | | | | | | | fix it again, in 10.3, after a bad merge in 98e6159892ae
* | | | Merge 10.4 into 10.5Marko Mäkelä2021-05-101-1/+5
|\ \ \ \ | |/ / /
| * | | Merge 10.3 into 10.4Marko Mäkelä2021-05-101-1/+5
| |\ \ \ | | |/ /
| | * | Merge 10.2 into 10.3Marko Mäkelä2021-05-101-1/+5
| | |\ \ | | | |/
* | | | Merge branch bb-10.4-release into bb-10.5-releasemariadb-10.5.10Nikita Malyavin2021-05-051-5/+1
|\ \ \ \ | |/ / /
| * | | Merge branch bb-10.3-release into bb-10.4-releaseNikita Malyavin2021-05-051-5/+1
| |\ \ \ | | |/ /
| | * | Merge branch bb-10.2-release into bb-10.3-releaseNikita Malyavin2021-05-041-5/+1
| | |\ \ | | | |/
| | | * MDEV-25326 mysql_install_db help text incompleteSergei Golubchik2021-04-271-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | encourage the use of mysql_secure_installation, that can always set the root password correctly for all root accounts, no matter how many are there and what the structure of privilege tables is
* | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2020-08-041-2/+1
|\ \ \ \ | |/ / /
| * | | Merge branch '10.3' into 10.4Oleksandr Byelkin2020-08-031-2/+1
| |\ \ \ | | |/ /
| | * | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-08-031-2/+1
| | |\ \ | | | |/
| | | * Merge branch '10.1' into 10.2Oleksandr Byelkin2020-08-021-2/+1
| | | |\
| | | | * mysql_install_db: help lists --defaults-file twiceDaniel Black2020-07-241-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed duplicate. Also move the --no-defaults option close to the other "default*" options.
| | * | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-12-041-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-12-031-1/+1
| | | |\ \ | | | | |/
| | | | * Merge branch '5.5' into 10.1Oleksandr Byelkin2019-12-031-1/+1
| | | | |\
| | | | | * Using `variables` instead of `values` in mysqld --help documentation would ↵Anel Husakovic2019-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | be more accurate
* | | | | | Clean up logcheck.ignore.* configs and unify MariaDB.org links with httpsOtto Kekäläinen2020-04-231-9/+9
|/ / / / /
* | | | | mysql_install_db always has to pass --user=$user to the mysqldSergei Golubchik2020-01-191-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | followup for 9d18b624675 strangely enough it only failed upgrade test on eoan
* | | | | MDEV-20205 mysql_install_db shouldn't execute chownSergei Golubchik2020-01-171-3/+3
| | | | | | | | | | | | | | | | | | | | Make chown error non-fatal. Just print a warning.
* | | | | rpm/deb and auth_pam_tool_dir/auth_pam_toolSergei Golubchik2020-01-171-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | don't let mysql_install_db set SUID bit for auth_pam_tool in rpm/deb packages - instead package files with correct permissions and only fix the ownership of auth_pam_tool_dir (which can only be done after mysql user is created, so in post-install). keep old mysql_install_db behavior for bintars
* | | | | Extend mysql_instal_db to search plugins also from lib/*/mariadb19/pluginOtto Kekäläinen2019-09-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Debian official the MariaDB plugins (.so files) go to a separate versioned directory so that upgrades and dependencies will work correctly. This change extends this script to check the /usr/lib/*/mariadb19/.. directory in addition to what it already does. Without this change the script fails with: $ mysql_install_db ... Cannot change ownership of the '/auth_pam_tool_dir' directory to the 'mysql' user. Check that you have the necessary permissions and try again.
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-07-281-1/+8
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-07-261-1/+8
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-07-261-1/+8
| | |\ \ \ | | | |/ /
| | | * | Merge branch '5.5' into 10.1Oleksandr Byelkin2019-07-251-1/+8
| | | |\ \ | | | | |/
| | | | * Extra comment to mysql_install_dbVicențiu Ciorbaru2019-07-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Explain why it makes sense to not consider builddir == srcdir directly, for cases when we do out-of-source builds.
| | | | * mysql_install_db: assume builddir is dirname0Daniel Black2019-07-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The assumption in the original commit for --builddir (648d3cedbc09), was to assume that without a --builddir, and when --srcdir is specified, that the builddir is the same as the srcdir. The problem is that this assumption does not hold for out-of-source builds and we can figure out the builddir by looking for where mysql_install_db script is. As mysql_install_db is in the builddir, we use dirname0 as the builddir after checking that my_print_defaults is also located from dirname0, otherwise default to old behavior.
* | | | | Fixed that mariadb-# binaries reads their corresponding entry from my.cnfMonty2019-07-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added mariadb-# to load_default_groups to all mariadb-# scripts and mariadb-binaries. - Added mariadbd and mariadbd-"version" to load_default_groups for the mysqld/mariadb server - Added mariadb-client to load_default_groups for the mysql/mariadb client Other things - Ignored mysql-test/lib/My/SafeProcess/wsrep_check_version - mysql_install_db will now automatically detect if run from srcdir
* | | | | MDEV-19876 pam v2: auth_pam_tool_dir and auth_pam_tool permissions are wrong ↵Sergei Golubchik2019-07-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in RPMs in fact, permissions were fine in RPM, but mysql_install_db was resetting them. Also fix Debian, while we're at it
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-2/+3
|\ \ \ \ \ | |/ / / /
| * | | | Merge 10.2 into 10.3Marko Mäkelä2019-05-141-1/+1
| |\ \ \ \ | | |/ / /
| | * | | Merge 10.1 into 10.2Marko Mäkelä2019-05-131-1/+1
| | |\ \ \ | | | |/ /
| | | * | Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| | | |\ \ | | | | |/
| | | | * Update FSF AddressVicențiu Ciorbaru2019-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | * Update wrong zip-code
| * | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-121-1/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-05-041-3/+5
| | |\ \ \ | | | |/ /
| | | * | MDEV-17640 UMASK_DIR configuration for mysql_install_db is not applied to ↵Sergei Golubchik2019-04-241-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql database create mysql and test databases with SQL, not mkdir.
* | | | | Fix echo messageAnel Husakovic2019-05-161-2/+2
| | | | |
* | | | | mysql_install_db: make sure the variable's value is visibleSergei Golubchik2019-02-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | move the assignment out of a function, so that it wouldn't happen in a subshell
* | | | | MDEV-18297 clarify mysql_install_db help textSergei Golubchik2019-02-211-0/+10
| | | | |
* | | | | try harder to link unix_socket plugin staticallySergei Golubchik2019-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | fix unix_socket tests to work if unix_socket is a built-in
* | | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-02-211-5/+19
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.2' into bb-10.3-mergeOleksandr Byelkin2019-02-191-3/+5
| |\ \ \ \ | | |/ / /