summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-22554: galera_sst_mariabackup fails with "Failed to start mysqld.2"Julius Goryavsky2020-05-181-1/+5
| | | | | | | The problem is caused by the operation of netcat streamer and does not appear on systems where socat is installed. We need to add the "-N" option for netcat to call shutdown() on the socket when receiving EOF from STDIN.
* Merge branch '10.4' into 10.5Sergei Golubchik2020-05-093-4/+22
|\
| * MDEV-19650: Privilege bug on MariaDB 10.4Oleksandr Byelkin2020-05-073-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes: MDEV-21487: Implement option for mysql_upgrade that allows root@localhost to be replaced MDEV-21486: Implement option for mysql_install_db that allows root@localhost to be replaced Add user mariadb.sys to be definer of user view (and has right on underlying table global_priv for required operation over global_priv (SELECT,UPDATE,DELETE)) Also changed definer of gis functions in case of creation, but they work with any definer so upgrade script do not try to push this change.
* | Merge 10.4 into 10.5Marko Mäkelä2020-04-291-0/+1
|\ \ | |/
| * MDEV-21244 mysql_upgrade creating empty global_priv tableSergei Golubchik2020-04-271-0/+1
| | | | | | | | support upgrades from 5.2 privilege tables
* | Merge 10.4 into 10.5Marko Mäkelä2020-04-251-0/+8
|\ \ | |/ | | | | | | The functional changes of commit 5836191c8f0658d5d75484766fdcc3d838b0a5c1 (MDEV-21168) are omitted due to MDEV-742 having addressed the issue.
| * Merge 10.3 into 10.4Marko Mäkelä2020-04-221-1/+8
| |\
| | * Merge 10.2 into 10.3Marko Mäkelä2020-04-221-1/+8
| | |\
| | | * MDEV-22159: Don't redirect as root to a tmp file not owned by rootOtto Kekäläinen2020-04-221-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Also add a check for tmp file being empty and bail out with a clear error message in such a case, as mysqld_safe prevents normal stderr from being displayed anywhere and would fail silently on this.
| | * | Merge 10.2 into 10.3Marko Mäkelä2020-04-151-2/+1
| | |\ \ | | | |/
| | | * Merge 10.1 into 10.2Marko Mäkelä2020-04-141-2/+1
| | | |\
| | | | * MDEV-21140 Make galera_recovery.sh work with fs.protected_regular = 1 (#1417)Alexander E. Patrakov2020-04-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The log file is opened as root since commit bb7a70c, so there is no need to chown it.
| * | | | MDEV-18768: Rename auth_socket to unix_socket on upgrades from MySQLOtto Kekäläinen2020-04-131-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bugs where upgrading MariaDB failed to start after an upgrade from MySQL 5.7 in Ubuntu, where auth_socket has been the default for MySQL as well for some time now. This was adopted from Debian where this change has been since Apr 18, 2019: https://salsa.debian.org/mariadb-team/mariadb-10.4/-/commit/3919860b6a4ef98c098fef35fb34601adbb132b2
| * | | | MDEV-21140 Make galera_recovery.sh work with fs.protected_regular = 1 (#1417)Alexander E. Patrakov2020-02-161-2/+1
| | | | | | | | | | | | | | | | | | | | The log file is opened as root since commit bb7a70c, so there is no need to chown it.
* | | | | Clean up logcheck.ignore.* configs and unify MariaDB.org links with httpsOtto Kekäläinen2020-04-232-12/+12
| | | | |
* | | | | MDEV-22159: Don't redirect as root to a tmp file not owned by rootOtto Kekäläinen2020-04-221-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a check for tmp file being empty and bail out with a clear error message in such a case, as mysqld_safe prevents normal stderr from being displayed anywhere and would fail silently on this.
* | | | | MDEV-22009 mysqlhotcopy tool and wsrep scripts not foundRasmus Johansson2020-03-241-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.mysqlhotcopy_myisam cannot find mysqlhotcopy tool wsrep scripts are not executable in CMAKE_CURRENT_BINARY_DIR
* | | | | MDEV-22003 mysql_config disappeared from 10.5 (e.g. binary tarball or source ↵Sergei Golubchik2020-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build) * generate and install mysql_config * symlink mariadb_config (from C/C) to mariadb-config also: * .gitignore generated mariadb-config.1 * remove obsolete compiler flag from C/C
* | | | | MDEV-21303 Make executables MariaDB namedRasmus Johansson2020-03-211-64/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To change all executables to have a mariadb name I had to: - Do name changes in every CMakeLists.txt that produces executables - CREATE_MARIADB_SYMLINK was removed and GET_SYMLINK added by Wlad to reuse the function in other places also - The scripts/CMakeLists.txt could make use of GET_SYMLINK instead of introducing redundant code, but I thought I'll leave that for next release - A lot of changes to debian/.install and debian/.links files due to swapping of real executable and symlink. I did not however change the name of the manpages, so the real name is still mysql there and mariadb are symlinks. - The Windows part needed a change now when we made the executables mariadb -named. MSI (and ZIP) do not support symlinks and to not break backward compatibility we had to include mysql named binaries also. Done by Wlad
* | | | | MDEV-18650: Options deprecated in previous versions - storage_engineVicențiu Ciorbaru2020-02-133-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove usage of deprecated variable storage_engine. It was deprecated in 5.5 but it never issued a deprecation warning. Make it issue a warning in 10.5.1. Replaced with default_storage_engine.
* | | | | Merge branch '10.4' into 10.5Oleksandr Byelkin2020-02-121-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2020-02-111-1/+1
| |\ \ \ \ | | |/ / /
| | * | | MDEV-21317 mysqlhotcopy and transaction_registry tableAleksey Midenkov2020-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See also original report: http://bugs.debian.org/946671 Using mysqlhotcopy, the following error occurs: DBD::mysql::db do failed: You can't use locks with log tables at /usr/bin/mysqlhotcopy line 545. Author: Paul Szabo psz@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia
* | | | | Merge 10.4 into 10.5Marko Mäkelä2020-01-281-2/+2
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2020-01-241-2/+2
| |\ \ \ \ | | |/ / /
| | * | | Merge branch '10.2' into 10.3Oleksandr Byelkin2020-01-241-2/+2
| | |\ \ \ | | | |/ /
| | | * | Merge branch '10.1' into 10.2Oleksandr Byelkin2020-01-241-2/+2
| | | |\ \ | | | | |/
| | | | * MDEV-17601: MariaDB Galera does not expect 'mbstream' as streamfmtJulius Goryavsky2020-01-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting "streamfmt=mbstream" in the "[sst]" section causes SST to fail because the format automatically switches to 'tar' by default (insead of mbstream). To fix this, we need to add mbstream to the list of valid values for the format, making it synonymous with xbstream. This must be done both in the SST script and when parsing the options of the corresponding utilities.
* | | | | Merge 10.4 into 10.5Marko Mäkelä2020-01-201-10/+10
|\ \ \ \ \ | |/ / / /
| * | | | 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
* | | | | Merge 10.4 into 10.5Marko Mäkelä2019-12-162-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-12-092-1/+1
| |\ \ \ \ | | |/ / /
| | * | | 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
| | * | | | Sourced script should be 644 not 755Faustin Lammler2019-12-021-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The script is intented to be sourced by other SST script so it should not be executable (or should have a script header). This is causing a warning on Debian Lintian tool, see: https://salsa.debian.org/faust-guest/mariadb-10.3/-/jobs/431900
| | * | | | Lintian complains on spelling errorFaustin Lammler2019-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lintian check complains on spelling error: https://salsa.debian.org/mariadb-team/mariadb-10.3/-/jobs/95739
* | | | | | MDEV-21140 Make galera_recovery.sh work with fs.protected_regular = 1 (#1417)Alexander E. Patrakov2019-11-281-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The log file is opened as root since commit bb7a70c, so there is no need to chown it.
* | | | | | MDEV-4476: mytop trackerJean Weisbuch2019-11-141-268/+513
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added dynamic column width fro `user` and `db` columns - Added option `%` to hide the progress - Follow up changes from Ubuntu - Take `INFORMATION_SCHEMA.PROCESSLIST` into account to determine progress of the `actual stage` - Indentation fixes Closes #215
* | | | | | Merge 10.4 into 10.5Marko Mäkelä2019-11-121-0/+7
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-11-121-0/+7
| |\ \ \ \ \ | | |/ / / /
| | * | | | merge 10.2->10.3 with conflict resolutionsAndrei Elkin2019-11-111-0/+7
| | |\ \ \ \ | | | |/ / /
| | | * | | manual merge 10.1->10.2Andrei Elkin2019-11-111-0/+7
| | | |\ \ \ | | | | |/ /
| | | | * | MDEV-20981 wsrep_sst_mariabackup fails silently when mariabackup is not ↵Hartmut Holzgraefe2019-11-081-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | installed (#1406) Make sure failure to find mariabackup binary does not terminate the script silently, terminate with a clear error message instead
* | | | | | Merge 10.4 into 10.5Oleksandr Byelkin2019-11-072-2/+2
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.3 into 10.4Marko Mäkelä2019-11-011-1/+1
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge branch '10.2' into 10.3Oleksandr Byelkin2019-10-311-1/+1
| | |\ \ \ \ | | | |/ / /