Ever since MariaDB 10.0 (and MySQL 5.6.8), the innodb_log_file_size
and innodb_log_files_in_group can be changed between server restarts,
and the redo log files will be resized on server startup if needed.
mariadb service is controlled by systemd
Do not install SysV init script on Debian/Ubuntu in /etc/init.d/
put it in /usr/share/mysql in case the user would need it for something.
Use systemctl in pre/post scripts directly
without funky conditionals and wrapper scripts
Some places didn't match the previous rules, making the Floor
address wrong.
Additional sed rules:
sed -i -e 's/Place.*Suite .*, Boston/Street, Fifth Floor, Boston/g'
sed -i -e 's/Suite .*, Boston/Fifth Floor, Boston/g'
This commit is based on the work of Michal Schorm, rebased on the
earliest MariaDB version.
Th command line used to generate this diff was:
find ./ -type f \
-exec sed -i -e 's/Foundation, Inc., 59 Temple Place, Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \
-exec sed -i -e 's/Foundation, Inc. 59 Temple Place.* Suite 330, Boston, /Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, /g' {} \; \
-exec sed -i -e 's/MA.*.....-1307.*USA/MA 02110-1335 USA/g' {} \; \
-exec sed -i -e 's/Foundation, Inc., 59 Temple/Foundation, Inc., 51 Franklin/g' {} \; \
-exec sed -i -e 's/Place, Suite 330, Boston, MA.*02111-1307.*USA/Street, Fifth Floor, Boston, MA 02110-1335 USA/g' {} \; \
-exec sed -i -e 's/MA.*.....-1307/MA 02110-1335/g' {} \;
1. don't run full mysql_upgrade on every server restart,
use --version-check to do it only once
2. fix syslog tag name in the postinst script, don't pretend
mysqld_safe generated all these messages. Auto-detect the version
to simplify maintenance
The XtraDB storage engine was already replaced by InnoDB
and disabled in MariaDB Server 10.2. Let us remove it altogether
to avoid dragging dead code around.
Replace some references to XtraDB with references to InnoDB.
rpl_get_position_info(): Remove.
Remove the mysql-test-run --suite=percona, because it only contains
tests specific to XtraDB, many of which were disabled already in
earlier MariaDB versions.
* Update debian control file to include AWS key management plugin.
* Update dependencies in control file to include uuid.
* Include enable_encryption.preset with the aws-key-management plugin.
These changes update the contents and behaviour of current packages
to match the current packaging in Debian official repos.
Keep mtr test scope small.
Updating maintainer scripts also required regenerating the translations.
Rules based on modern dh_* buildtools.
Update control file with new Debian conventions:
- Provide virtual-mysql-* virtual packages
- Recommends perl modules instead of Depends
myisam_recover is only an alias for myisam_recover_options.
Use the option name instead of the alias is more correct.
This also avoids an note about the use of an alias instead of the option
name on every server start.
* README and NEWS are very old and mostly plain wrong and not needed
* Lintian-overrides are relevant only in actual Debian QA systems
* watch file was plain wrong and anyway relevant only in downstream distros
Let mysqld_safe_syslog.cnf force disable error log so that logging to syslog is
not affected by previous log_error setting.
Added handling of --skip-log-error to mysqld_safe.
MDEV-6281 Typo in mysql_install_db scripts
and collateral changes:
* remove mysql_tableinfo.1 and references to it (there's no mysql_tableinfo)
* for debian: create manpages for mysqlrepair, mysqlanalyze, mysqloptimize
(as symlinks for mysqlcheck.1, just as executables are symlinks to mysqlcheck)
* remove mysqlmanager.8 and references to it
* correct "very long line" error in mysqladmin.1
* simplify and fix table formatting in mysqlbinlog.1 and mysqldump.1
* fix a typo in the help text in mysql_install_db
* aria_chk: say "for Linux on x86_64", like other tools do
(not "for Linux at x86_64")
* add simple manpages for aria_* utilities
I want to avoid that upgrades silently change important config parameters
that users have come to rely on. This could happen if users changed their
my.cnf themselves, and then an upgrade introduces mariadb.cnf which silently
overrides the settings in my.cnf. Avoid this by having mariadb.cnf mostly
empty for now, and in the future we can add just new mariadb-specific
options there that do not break existing installations.
mysql-common and places mariadb-specific stuff in /etc/mysql/conf.d/mariadb.cnf.
This should allow to co-exist with default Debian mysql-common package and
help resolve dependencies when installing mariadb among multiple available
versions of MySQL from different repositories.
---
Removed reference to debian svn location of debian dir.
Changed verbage of comment to appease Timothy.
---
Removed added manpages that aren't appropriate for our build.
---
Added debian dir to list of dist targets.
Added list of files needed to be distributed in debian dir.
---
Added semi-colons to fix syntax error.
---
BUG#27769 MySQL should include debian packaing dir
Added debian/Makefile to configure.in to support make dist.
BitKeeper/deleted/.del-configure.in.rej:
Delete: configure.in.rej
Makefile.am:
Added debian dir to list of dist targets.
configure.in:
Added debian/Makefile to configure.in to support make dist
BitKeeper/deleted/.del-comp_err.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-msql2mysql.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-my_print_defaults.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisam_ftdump.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisamchk.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisamlog.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-myisampack.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_config.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_convert_table_format.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_explain_log.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_find_rows.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_fix_extensions.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_install_db.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_secure_installation.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_setpermission.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_tableinfo.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysql_waitpid.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlbinlog.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlbug.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlcheck.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqldumpslow.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlimport.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqlmanager.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-mysqltest.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-pack_isam.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-resolve_stack_dump.1:
Adding files to support building for debian.
BitKeeper/deleted/.del-resolveip.1:
Adding files to support building for debian.
debian/Makefile.am:
Added list of files needed to be distributed in debian dir.
debian/README.Maintainer:
Adding files to support building for debian.
---
Removed reference to debian svn location of debian dir.
Changed verbage of comment to appease Timothy.
debian/changelog:
Adding files to support building for debian.
debian/compat:
Adding files to support building for debian.
debian/control.in:
Adding files to support building for debian.
debian/copyright.more:
Adding files to support building for debian.
debian/copyright:
Adding files to support building for debian.
debian/defs.mk:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.README.Maintainer.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.dirs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.docs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.examples.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.files.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER-dev.links.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.README.Debian.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.dirs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.docs.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.files.in:
Adding files to support building for debian.
debian/libmysqlclientMYSOVER.postinst.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.dirs.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.files.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER-dev.links.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.README.Debian.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.dirs.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.files.in:
Adding files to support building for debian.
debian/libndbclientNDBSOVER.postinst.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.NEWS.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.README.Debian.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.docs.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-client-MYVER.lintian-overrides.in:
Adding files to support building for debian.
debian/mysql-common.README.Debian.in:
Adding files to support building for debian.
debian/mysql-common.dirs.in:
Adding files to support building for debian.
debian/mysql-common.files.in:
Adding files to support building for debian.
debian/mysql-common.postrm.in:
Adding files to support building for debian.
debian/mysql-common.preinst.in:
Adding files to support building for debian.
debian/mysql-extra-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-extra-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-management-MYVER.mysql-management.init.in:
Adding files to support building for debian.
debian/mysql-server-MYOLDVER.preinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.NEWS.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.README.Debian.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.config.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.docs.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.links.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.lintian-overrides.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.paranoid.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.server.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.logcheck.ignore.workstation.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.mysql-server.logrotate.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.postinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.postrm.in:
Adding files to support building for debian.
debian/additions/my.cnf:
Adding files to support building for debian.
debian/additions/mysql-server.lintian-overrides:
Adding files to support building for debian.
debian/additions/ndb_mgmd.cnf:
Adding files to support building for debian.
debian/mysql-server-MYVER.preinst.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.prerm.in:
Adding files to support building for debian.
debian/mysql-server-MYVER.templates.in:
Adding files to support building for debian.
debian/mysql-server.preinst.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-storage-MYVER.mysql-storage.init.in:
Adding files to support building for debian.
debian/mysql-test-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-test-MYVER.files.in:
Adding files to support building for debian.
debian/mysql-tools-MYVER.dirs.in:
Adding files to support building for debian.
debian/mysql-tools-MYVER.files.in:
Adding files to support building for debian.
debian/po/POTFILES.in.in:
Adding files to support building for debian.
debian/po/ca.po:
Adding files to support building for debian.
debian/po/cs.po:
Adding files to support building for debian.
debian/po/da.po:
Adding files to support building for debian.
debian/po/de.po:
Adding files to support building for debian.
debian/po/es.po:
Adding files to support building for debian.
debian/po/eu.po:
Adding files to support building for debian.
debian/po/fr.po:
Adding files to support building for debian.
debian/po/gl.po:
Adding files to support building for debian.
debian/po/it.po:
Adding files to support building for debian.
debian/po/ja.po:
Adding files to support building for debian.
debian/po/nb.po:
Adding files to support building for debian.
debian/po/nl.po:
Adding files to support building for debian.
debian/po/pt.po:
Adding files to support building for debian.
debian/po/pt_BR.po:
Adding files to support building for debian.
debian/po/ro.po:
Adding files to support building for debian.
debian/po/ru.po:
Adding files to support building for debian.
debian/po/sv.po:
Adding files to support building for debian.
debian/po/templates.pot:
Adding files to support building for debian.
debian/po/tr.po:
Adding files to support building for debian.
debian/rules:
Adding files to support building for debian.
---
Added semi-colons to fix syntax error.
debian/source.lintian-overrides.in:
Adding files to support building for debian.
debian/watch:
Adding files to support building for debian.