--- /dev/null
+#!/bin/bash
+#
+# Scripts to run by MySQL systemd service
+#
+# Needed argument: pre | post
+#
+# pre mode : try to perform sanity check for configuration, log, data
+# post mode : ping server until answer is received
+
+sanity () {
+ if [ ! -r /etc/mysql/my.cnf ]; then
+ echo "MySQL configuration not found at /etc/mysql/my.cnf. Please create one."
+ exit 1
+ fi
+
+ if [ ! -d /var/lib/mysql ] && [ ! -L /var/lib/mysql ]; then
+ echo "MySQL data dir not found at /var/lib/mysql. Please create one."
+ exit 1
+ fi
+
+ if [ ! -d /var/lib/mysql/mysql ] && [ ! -L /var/lib/mysql/mysql ]; then
+ echo "MySQL system database not found. Please run mysql_install_db tool."
+ exit 1
+ fi
+}
+
+pinger () {
+ server_up=false
+ for i in $(seq 1 30); do
+ sleep 1
+ if mysqladmin ping >/dev/null 2>&1; then
+ server_up=true
+ break
+ fi
+ done
+ if [ ! $server_up ]; then
+ echo "MySQL server not started"
+ exit 1
+ fi
+}
+
+case $1 in
+ "pre") sanity ;;
+ "post") pinger ;;
+esac
-mysql-wsrep-5.6 (5.6.33-0~u14.04+mos3) mos; urgency=low
+mysql-wsrep-5.6 (5.6.34-0~u14.04+mos1) mos; urgency=low
- * Revert dbg package due to performance degradation
+ * Newest version with merged pull request
+ https://github.com/codership/mysql-wsrep/pull/264
+ * Change replases for mysql-wsrep-common-5.6
- -- Ivan Suzdal <mos-linux@mirantis.com> Tue, 01 Nov 2016 14:29:16 +0000
+ -- Ivan Suzdal <mos-linux@mirantis.com> Wed, 23 Nov 2016 12:48:39 +0000
-mysql-wsrep-5.6 (5.6.33-0~u14.04+mos2) mos; urgency=low
+mysql-wsrep-5.6 (5.6.34-25.18) UNRELEASED; urgency=low
- * Add mysql-server-wsrep-core-5.6-dbg package (Closes: #LP1628104)
-
- -- Ivan Suzdal <mos-linux@mirantis.com> Mon, 03 Oct 2016 14:57:30 +0000
-
-mysql-wsrep-5.6 (5.6.33-0~u14.04+mos1) mos; urgency=low
-
- * Rebuilt for MOS
- * Galera 25.17
- * MySQL-wsrep from [0]
-
- [0] https://github.com/codership/mysql-wsrep/tree/wsrep_5.6.33-25.17
-
- -- Ivan Suzdal <mos-linux@mirantis.com> Fri, 16 Sep 2016 14:34:04 +0000
-
-mysql-wsrep-5.6 (5.6.30-0~u14.04+mos1) mos; urgency=high
-
- * SECURITY UPDATE: Update to 5.6.30 to fix security issues (LP: #1572559)
- * Closes: #1578370
- - http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- - http://www.ubuntu.com/usn/usn-2953-1
- - CVE-2016-0639
- - CVE-2016-0640
- - CVE-2016-0641
- - CVE-2016-0642
- - CVE-2016-0643
- - CVE-2016-0644
- - CVE-2016-0646
- - CVE-2016-0647
- - CVE-2016-0648
- - CVE-2016-0649
- - CVE-2016-0650
- - CVE-2016-0655
- - CVE-2016-0661
- - CVE-2016-0665
- - CVE-2016-0666
- - CVE-2016-0668
- - CVE-2016-2047
-
- Sourced from https://github.com/codership/mysql-wsrep/tree/wsrep_5.6.30-25.15
-
- -- Ivan Suzdal <mos-linux-team@mirantis.com> Thu, 09 Jun 2016 15:21:53 +0000
-
-mysql-wsrep-5.6 (5.6.23-1~u14.04+mos3) mos9.0; urgency=medium
-
- * Reverting temporary fix for LP Bug 1541338 as it's not RC
-
- -- Sergii Golovatiuk <sgolovatiuk@mirantis.com> Sat, 26 Mar 2016 13:19:00 +0100
-
-mysql-wsrep-5.6 (5.6.23-1~u14.04+mos2) mos9.0; urgency=medium
-
- * Temporary fix for LP Bug 1541338
-
- -- Dmitry Bilunov <dbilunov@mirantis.com> Wed, 23 Mar 2016 13:54:00 +0300
-
-mysql-wsrep-5.6 (5.6.23-1~u14.04+mos1) mos7.0; urgency=medium
-
- * Update to MySQL 5.6.23:
- - remove d/p/CVE-2014-0001.patch as it was merged.
- * Update to wsrep 25.10 (Closes: #1438516):
- - fix misuse of thread-safe functions in innodb-wsrep,
- - patch obtained by diffing mysql-5.6.23 against mysql-wsrep-5.6.23-25.10
- and resolving conflicts.
-
- -- Pavel Boldin <pboldin@mirantis.com> Sun, 12 Apr 2015 17:40:48 +0300
-
-mysql-wsrep-5.6 (5.6.16-2~u14.04+mos2) mos6.1; urgency=low
-
- * Fix version according to Fuel versioning policy:
- https://github.com/stackforge/fuel-specs/blob/master/specs/6.1/separate-mos-from-linux.rst
- * No actual changes in source package
- * Partial-Bug: #1454382
-
- -- Ivan Udovichenko <iudovichenko@mirantis.com> Tue, 12 May 2015 23:17:22 +0300
-
-mysql-wsrep-5.6 (5.6.16-2~u14.04+mos1) trusty; urgency=low
-
- * The package is maintained by MOS Linux team, update the info accordingly.
- * Adjust the package revision according to the blueprint separate-mos-from-linux
- (https://review.openstack.org/148279)
-
- -- Alexei Sheplyakov <asheplyakov@mirantis.com> Fri, 13 Mar 2015 12:18:26 +0300
-
-mysql-wsrep-5.6 (5.6.16-2~mos6.1+1) trusty; urgency=low
-
- * Enable only the simplest tests (as test-mtr fails for unknown reasons)
- * Adjust the version for Ubuntu 14.04 rebuild
-
- -- Alexei Sheplyakov <asheplyakov@mirantis.com> Thu, 29 Jan 2015 15:52:10 +0300
-
-mysql-wsrep-5.6 (5.6.16-2) precise; urgency=low
-
- * Add Set nice for wsrep_sst_mysqldump
-
- -- sgolovatiuk <sgolovatiuk@mirantis.com> Thu, 31 Jul 2014 17:24:00 +0000
-
-mysql-wsrep-5.6 (5.6.16-1) precise; urgency=low
-
- * Add wsrep patch
-
- -- dburmistrov <dburmistrov@mirantis.com> Fri, 27 Jun 2014 16:00:06 +0400
-
-mysql-5.6 (5.6.16-1~exp1) experimental; urgency=medium
-
- * New upstream point release:
- - d/p/*: Refreshed.
- * d/rules: Don't run dh_install with --fail-missing and exclusions until
- package is a complete replacement for mysql-5.5.
- * d/p/CVE-2014-0001.patch:
- - Fix buffer overflow in client/mysql.cc via a long server version string.
- CVE-2014-0001 (Closes: #741590).
- * d/mysql-server-5.6.mysql.upstart: Add upstart configuration.
- * d/tests/*,control: Add autopkgtest from mysql-5.5:
- - disable binlog.binlog_server_start_options as it requires writable /usr.
- - disable build autopkgtest until package ships libmysqlclient18.
- * d/rules,mysql-server-5.6.install,apparmor-profile: Fixup install of
- apparmor profile.
-
- -- James Page <james.page@ubuntu.com> Mon, 17 Mar 2014 08:56:24 +0000
-
-mysql-5.6 (5.6.15-1~exp2) experimental; urgency=medium
-
- * d/control,rules: Drop libmysqlclient18.1* and libmysqld-5.6* due to conflicts
- with libmysqlclient{18}-dev and incorrect SONAME naming (Closes: #741200).
- NOTE: libmysqlclient* and libmysqld* can be re-instated when the 5.5->5.6
- transition happens.
- * d/control: Align Conflicts/Breaks/Replaces/Provides with virtual-mysql-*
- approach for switching in/out MySQL alternatives.
- * d/mysql-server-5.6.mysql.init: Bump timeout on start to 30 seconds inline
- with mysql-5.5 changes.
-
- -- James Page <james.page@ubuntu.com> Mon, 10 Mar 2014 17:36:34 +0000
-
-mysql-5.6 (5.6.15-1~exp1) experimental; urgency=low
-
- [ Akhil Mohan ]
- * added libmysqlclient.so link to libmysqlclient18.1-dev package
- * revisited patches in d/patches/series; removed extra patches not needed
- * some patches were modified to handle 5.6 issues
- * mysql-server-5.6 and mysql-client-5.6 now depend on mysql-common (>= 5.5)
- * mysql-server-5.6 now provides only virtual-mysql-server
- * mysql-client-5.6 now provides only virtual-mysql-client
- * MySQL 5.6 now contains mysql-common-5.6 which is only suggested
- * moved mysql-common/etc/mysql/my.cnf to
- mysql-common-5.6/usr/share/mysql/my.cnf
- * MySQL 5.6 now gives libmysqlclient18.1, libmysqlclient18.1-dev,
- libmysqld-5.6-dev and libmysqld-5.6-pic
- * libmysqlclient18.1-dev, libmysqld-5.6-dev and libmysqld-5.6-pic packages
- conflict with their respective counterparts from MySQL 5.5
- * link traversal for libmysqlclient is
- libmysqlclient.so (contained in libmysqclient18.1-dev) ->
- libmysqlclient.so.18 (contained in libmysqclient18.1) ->
- libmysqlclient.so.18.1 (contained in libmysqclient18.1) ->
- libmysqlclient.so.18.1.0 (contained in libmysqclient18.1)
- * Placeholder packages mysql-server, mysql-client, mysql-testsuite
- have been discontinued
- * d/rules, d/control removed gcc-4.4 dependency and disable X86 assembly in
- taocrypt.
- - Cherry-pick from Debian svn r2231 with thanks to Clint Byrum.
- * changed mirror to download source tar
- * replaced mysql_install_db script with small shell script to create
- root accounts. This avoids creating anonymous users which were
- security concern.
- * Docs/mysql.info has been removed in the mysql 5.6.15 source
- * removed debian/repack.* and 'DFSG and repacking' section in
- debian/README.source because repack not needed
- * dropped '+dfsg' from version in changelog since there is no repack
- * simplified debian/watch since there is no repack
- * removed redundant *_r* links to mysql client library in libmysqlclient18
- and libmysqlclient-dev packages
- * updated debian/control to allow mysql-*-5.6 packages upgrade/ replace
- an existing installation of mysql-*-5.5 packages
- * modified debian/rules to use system zlib library, install additional
- man pages and remove execute bit on few test and result files
- * added patches to fix link path in man page mysql_client_test_embedded.1
- and mysqltest_embedded.1
- * added man page for mysql_config_pic at debian/additions/mysql_config_pic.1
- * added man page for mysql_embedded at debian/additions/mysql_embedded.1
- * moved libmysqlcient.so link from libmysqlclient18 to libmysqlclient-dev
- based on lintian warning non-dev-pkg-with-shlib-symlink
- * moved mysql_client_test_embedded binary from mysql-testsuite-5.6
- package to mysql-client-5.6 package
- * moved mysql_config_editor.1 man page to mysql-client-5.6 package
- * moved mysql_embedded from mysql-testsuite-5.6 package to mysql-client-5.6
- package
- * moved mysqltest_embedded binary from mysql-testsuite-5.6
- package to mysql-server-5.6 package
- * removed absolute path for mysql_install_db script in mysql-server-5.6
- postinst script based on lintian warning
-
- [ Bjoern Boschman ]
- * Initial release of mysql-5.6 package.
- * mysql_install_db is now a perl script. Do not run it with bash.
- * added innodb_data_file_path to my.cnf for mysql-5.1 => mysql-5.6 upgrade
- path.
- * added multiarch support
- * do not include .a files within libmysqlclient18
-
- -- James Page <jamespage@debian.org> Wed, 12 Feb 2014 12:11:53 +0000
-
-mysql-5.5 (5.5.25+dfsg-2) quantal; urgency=low
-
- [ Nicholas Bamber ]
- * Made DFSG repacking mechanism independent of local installs and improved
- the documentation
- * Setting the gcc/g++ version to 4.4 on i386 platforms (Closes: #674267)
- but see #678252 for follow up from upstream
- * Danish debconf translation (Closes: #599483)
- * Spanish debconf translation (Closes: #679053)
-
- [ Bjoern Boschman ]
- * mysqld_safe is now running as User 'mysql' (Closes: 664639)
- * logrotate now handles all /var/log/mysql/*log files
-
- -- Bjoern Boschman <bjoern.boschman@nfon.net> Wed, 09 Jan 2013 11:15:29 +0100
-
-mysql-5.5 (5.5.25+dfsg-1) experimental; urgency=low
-
- * Fixing regular expression in tests to guard against build path containing
- the '+' symbol (Closes: #674210)
- * Setting the gcc/g++ version to 4.5 on i386 platforms (cf. #674267)
- * Removed main_openssl_1 patch
- * Set SYSTEM_TYPE according to GNU Build System
- * In an effort to get a better handle on test coverage, made test failures
- on kfreebsd-i386 fatal and re-enabled full tests on hurd, skipped certain
- tests on kfreebsd and changed disabled tests to selectively skipped tests
- * Updated French translation (Closes: #674025)
- * Updated Dutch translation (Closes: #674124)
- * Updated Russian translation (Closes: #674189)
- * Updated Portuguese translation (Closes: #674953)
- * Updated Swedish translation (Closes: #675108)
- * Updated German translation (Closes: #675766)
- * Migrated libmysqlclient-dev, mysql-client-5.5, mysql-server-core-5.5
- and mysql-server-5.5 off dh_movefiles
- * Removed dh_movefiles override
- * Rewrote libmysqlclient_r linking stuff to generate
- ephemeral dh_link files so that the hack is more comprehensible
- * Stopped attempts to install non-existent files for libmysqlclient-dev
- and mysql-server-5.5
- * Added --fail-missing to dh_install to catch executables not being installed
- * Distributed unused resources amongst packages appropriately
- * Added fixes to mop up various permissions issues in auto-install rule
- * Enhanced documentation around the source package and the reasons for it
- being arch:any
- * Removed source cruft: debian/additions/*.1 (apart from mysqlreport.1)
- * Restored zlib1g-dev build dependency pending further investigation
- * Removed the numerical prefix from the patch files
- * Applied fix-mysqldump-test.patch from Ubuntu
- * Applied mysql-testsuite and mysql-client-core-5.5 package definitions
- from Ubuntu
- * Located and installed upstream changelog
- * Removed doxygen-latex, ghostscript as build dependency
- as these were needed only for the NDB docs
- * Added lintian overrides
- - spelling false positive: yuR
- - long lines in man pages that cannot be reformatted
- - missing symbols file (cf. #590905)
- * Added patch for hyphen/minus sign confusion
- * Dropped mailx to Suggests clause (Closes: #535496)
- * New upstream source
- * Refreshed patches
- * Standardized debian/watch and get-orig-source and made DFSG exclusion
- of Docs/mysql.info explicit (Closes: #673528)
- * Revert having libssl-dev as a build dependency and changed
- WITH_SSL option to 'bundled' from 'yes' (Closes: #590905)
- and (Closes: #673865)
- * Added patch to libmysql/CMakeLists.txt to restore symbol versioning
- and bumped dependency in shlibs (Closes: #660686)
- * Ensured that /etc/mysql/conf.d is installed as part of mysql-common
- so that client programs work without a co-located server (Closes: #672359)
- * Added versioned dependency on initscripts and revert /var/run
- to /run change (Closes: #676560)
-
- -- Nicholas Bamber <nicholas@periapt.co.uk> Wed, 13 Jun 2012 16:09:54 +0100
-
-mysql-5.5 (5.5.23-2) unstable; urgency=low
-
- * Stopped overriding the -j build parameter (Closes: #512964)
- * Stopped testing for /proc filesystem. It is no longer used
- for determining the number of CPUs.
- * Removed unnecessary build dependencies:
- - procps as it is required by cmake, cf. #96768
- - zlib1g newer version required by cmake
- - libtool obsoleted by cmake
- - file required by debhelper
- * Migrated libmysqld-dev, libmysqld-pic, libmysqlclient18 to using
- dh_install rather than dh_movefiles
- * Changed /var/run to /run as required by Debian Policy 3.9.3 (9.1.1)
- * Raised standards version to 3.9.3
- * Moved '-e' from shebang line to explicit 'set -e' as requested by lintian
- * Restored ha_example.so to mysql-server-5.5 but added Breaks/Replaces
- clauses (cf. LP: #912487) and (Closes: #666721)
- * Added additional Breaks/Replaces clauses for other clashes:
- - mysql-server-5.5 overwrites perror from mysql-client-5.1
- - mysql-server-core-5.5 overwrites my_print_defaults from mysql-client-5.1
-
- -- Nicholas Bamber <nicholas@periapt.co.uk> Tue, 08 May 2012 05:59:09 +0100
-
-mysql-5.5 (5.5.23-1) experimental; urgency=low
-
- * Added patch to test suite to accept socket paths less than 40
- characters long (Closes: #540153)
- * Disabled some more tests including some reported by Olaf van der Speck
- * Removed ha_example.so from mysql-server-5.5 install (Closes: #666721)
- * New upstream release: unspecified security issues CVE-2012-1697,
- CVE-2012-1696
- * Added patch to correct spelling mistakes: preceeding -> preceding
-
- -- Nicholas Bamber <nicholas@periapt.co.uk> Thu, 03 May 2012 18:03:34 +0100
-
-mysql-5.5 (5.5.20-1) experimental; urgency=low
-
- [ Guillaume Plessis ]
- * d/rules: Enabling ARCHIVE, BLACKHOLE, and FEDERATED engines.
- (Closes: #649484)
- * d/rules: Turn off embedded libedit/readline.(Closes: #659566)
-
- [ Clint Byrum ]
- * New Upstream Release
- * d/copyright: rearranging to have standalone license paragraphs
- silencing lintian complaints about missing paragraphs.
- * d/mysql-client-5.5.files: add mysql_plugin
- * d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
- change compiler back to system default.
- * Sync changes back from Ubuntu:
- * d/control: need to also break mysql-client-core-5.1 and
- mysql-server-core-5.1 as well so that apt knows not to
- remove mysql-server/mysql-client.
- * d/control: convert mysql-server back to a meta-package
- * d/control: convert mysql-client back to a meta-package as well.
- * d/patches/72_fix_standalone_tests.patch: fix testsuite so it
- will run all tests when run from system /usr/lib/mysql-testsuite
- directory.
- 5.1 is removed from the archive.
- * d/control: mysql-common includes configuration items that only
- work on mysql 5.5, so adding Breaks: for client and server 5.1.
- This will make mysql-server-5.1 and mysql-client-5.1
- uninstallable which is actually desired.
- * d/patches/71_disable_rpl_tests.patch: disables this test until
- Ubuntu bug #894146 can be triaged.
- * d/mysql-client-5.5.files: add missing mysql_plugin
- * d/libmysqlcient18.files,libmysqlclient-dev.files,d/rules: re-add
- libmysqlclient_r. In hindsight, removing it was not a productive
- change.
- * d/libmysqlclient-dev.files: ship entire contents of include dir,
- some of these files are included internally by others in the
- main dir.
- * d/patches/70_mysql_va_list.patch: cherry pick patch from
- upstream bug tracker to fix ARM build failure. (LP: #700982)
-
- [ Nicholas Bamber ]
- * Added myself to Uploaders
- * Added libssl-dev as a build dependency and patched main.openssl_1 test
- so that it works with that library (Closes: #660799)
- * Added patch to provide cmake options for GNU/Hurd (Closes: #651002)
- and tweaked debian/rules so that only 'make test' is run on Hurd.
- * Tweaked debian/rules to make build logs verbose (Closes: #651003)
- * Refreshed patches - and added a new patch to disable a further flurry
- of failing tests
- * Switched on native AIO in linux builds (Closes: #659565)
- * Numerous minor changes to improve lintian cleanliness (Closes: #663354)
- - Added dh_lintian lines to debian/rules to ensure that lintian
- overrides take effect and removed old commented out lines
- - Clarified Hurd procps dependency in debian/control
- - Rewrote short description of the libmysqld-pic package to be more accurate
- - Depersonalised long description of mysql-client
- - Removed dependencies relating to mysql-common-4.1
- - Tightened Breaks clauses for mysql-common
- - Removed duplicate entry from Replaces clauses for mysql-server-core-5.5
- - Rexpressed Conflicts clause as versioned dependency
- for mysql-testsuite-5.5
- - Added DEP-5 header fields to two patches
- - Refreshed and commented all lintian overrides and added override
- concerning lack of upstream changelog to all packages
- - Cleaned up debian/copyright
- * upgraded to latest version of DEP-5
- * encoding issues
- * out of date FSF address
- * Updated License short name from "PD" to "public-domain"
- * Converted to short form debhelper rules
- - Renamed stamp files to end in '-stamp' so that they are cleaned up
- automatically by dh_clean
- - Removed commented out lines
- - Removed obsolete -DINSTALL_LIBDIR clause from pic build
- - Overrode dh_auto_install so that the rules only run once
- - Migrated mysql-source, mysql-testsuite, mysql-common from
- dh_movefiles to dh_install
-
- -- Nicholas Bamber <nicholas@periapt.co.uk> Sat, 28 Apr 2012 15:02:16 +0100
-
-mysql-5.5 (5.5.17-4) experimental; urgency=low
-
- * d/control: Pre-Depend on multiarch-support and misc:Pre-Depends.
- also bump debhelper Build-Dep for multiarch.
- d/compat: raise to 9 for multiarch support.
-
- -- Clint Byrum <clint@ubuntu.com> Thu, 17 Nov 2011 17:38:19 -0800
-
-mysql-5.5 (5.5.17-3) experimental; urgency=low
-
- [Clint Byrum]
- * d/control: setting Multi-Arch fields where appropriate.
-
- [Norbert Tretkowski]
- * Add Clint Byrum to Uploaders.
-
- -- Clint Byrum <clint@ubuntu.com> Thu, 17 Nov 2011 14:36:50 -0800
-
-mysql-5.5 (5.5.17-2) experimental; urgency=low
-
- * d/rules, d/control: Build with gcc 4.5 to avoid
- gcc 4.6 compile problems (see Debian bug number 630471)
- * d/rules, d/libmysqlclient*.files: changes to support
- multiarch.
- * d/libmysqlclient18.files, d/libmysqlclient-dev.files: install
- symlinks to dev libraries properly and remove libmysqlclient_r
- since it is no longer needed. libmysqlclient is now perfectly
- thread safe. This will cause FTBFS but can be corrected by simply
- removing _r, and avoids uncomfortable problem of trying to properly
- mangle libmysqlclient_r symlinks to libmysqlclient.so.
-
- -- Clint Byrum <clint@ubuntu.com> Wed, 09 Nov 2011 23:27:36 -0800
-
-mysql-5.5 (5.5.17-1) experimental; urgency=low
-
- [Norbert Tretkowski]
- * New upstream release.
- * Fix empty libmysqld-pic package.
- * Run dh_apparmor on Ubuntu only.
-
- [Clint Byrum]
- * Rewrote debian/copyright file from scratch.
-
- -- Clint Byrum <clint@ubuntu.com> Tue, 08 Nov 2011 11:31:13 -0800
-
-mysql-5.5 (5.5.13-1) experimental; urgency=low
-
- [Clint Byrum]
- * New upstream major release. Changing source name to mysql-5.5.
- (closes: #609592, #637274)
- * Dropping usr/lib/libmysqlclient*.la as they are no longer built
- by the cmake build, and are not necessary for linking properly.
- * Removing obsolete automake and dpatch build deps.
- * Converted source format to 3.0 (quilt).
- * debian/patches: Converted to quilt, and removed all except disable
- long filename check to allow building on sbuild/chroots.
- * Renamed packages with -5.1 suffix to -5.5.
- * Renaming mysql-testsuite to mysql-testsuite-5.5.
- * Dropping unneeded docs files.
- * Dropping libmysqlclient16-dev as transition is complete.
- * Bumping libmysqlclient to v18 for new SONAME.
-
- [Norbert Tretkowski]
- * Update my.cnf to use --lc-messages-dir instead --language.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 23 Jun 2011 10:25:33 +0200
-
-mysql-5.1 (5.1.58-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 17 Jul 2011 17:26:27 +0200
-
-mysql-5.1 (5.1.57-3) unstable; urgency=low
-
- * Really fix syntax warning in preinst. (closes: #630672)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 21 Jun 2011 10:33:25 +0200
-
-mysql-5.1 (5.1.57-2) unstable; urgency=low
-
- * Acknowledge NMUs. (closes: #614044)
- * Fix syntax warning in preinst. (closes: #630672)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 18 Jun 2011 19:28:35 +0200
-
-mysql-5.1 (5.1.57-1.3) unstable; urgency=high
-
- * Non-maintainer upload.
- * Use correct DEB_HOST_GNU_TYPE and not DEB_HOST_BUILD_TYPE.
-
- -- Ondřej Surý <ondrej@debian.org> Mon, 13 Jun 2011 17:02:50 +0200
-
-mysql-5.1 (5.1.57-1.2) unstable; urgency=high
-
- * Non-maintainer upload.
- * Prefix gcc-4.5 and g++-4.5 with DEB_BUILD_GNU_TYPE to fix FTBFS on
- ia64, s390 and maybe more.
-
- -- Ondřej Surý <ondrej@debian.org> Mon, 13 Jun 2011 13:20:37 +0200
-
-mysql-5.1 (5.1.57-1.1) unstable; urgency=high
-
- * Non-maintainer upload (with permission of maintainer).
- * Build with gcc-4.5 (Closes: #614044)
- * Revert: "Build with -O2 instead -O3, MySQL seems not yet ready for -
- O3 when using gcc-4.6." since we are building with gcc-4.5.
-
- -- Ondřej Surý <ondrej@debian.org> Mon, 13 Jun 2011 08:51:51 +0200
-
-mysql-5.1 (5.1.57-1) unstable; urgency=medium
-
- * Bump libmysqlclient16 shlibs to 5.1.50-1 as it introduced a new symbol.
- (closes: #617240)
- * Build with -O2 instead -O3, MySQL seems not yet ready for -O3 when using
- gcc-4.6. (closes: #614044)
- * Ignore errors in testsuite run on ia64.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 14 May 2011 14:56:13 +0200
-
-mysql-5.1 (5.1.56-1) unstable; urgency=low
-
- * New upstream release.
- * Replace doxygen and texlive-latex-base build-deps with doxygen-latex.
- (closes: #616270)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 08 Mar 2011 20:59:41 +0100
-
-mysql-5.1 (5.1.55-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 08 Feb 2011 12:56:42 +0100
-
-mysql-5.1 (5.1.54-2) unstable; urgency=low
-
- * Upload to unstable.
- * Add mysql-source-5.1 package, patch from Clint Byrum. (closes: #611965)
- * Update debconf translations:
- - Dutch, from Eric Spreen. (closes: #605590)
- - Slovak, from Slavko. (closes: #608885)
- * Fix minor grammar infelicity in debian-start script. (closes: #582955)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 04 Feb 2011 16:28:08 +0100
-
-mysql-5.1 (5.1.54-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 17 Dec 2010 06:06:18 +0100
-
-mysql-5.1 (5.1.53-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 01 Dec 2010 12:41:28 +0100
-
-mysql-5.1 (5.1.51-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 02 Oct 2010 16:18:30 +0200
-
-mysql-5.1 (5.1.50-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 12 Sep 2010 20:13:25 +0200
-
-mysql-5.1 (5.1.49-3) unstable; urgency=high
-
- * SECURITY UPDATE: denial of service via incorrect propagation of type
- errors.
- - debian/patches/61_CVE-2010-3833.dpatch: properly check for execution
- errors in sql/item_func.cc. Add tests to mysql-test/*.
- - CVE-2010-3833
- * SECURITY UPDATE: denial of service via derived table materializing.
- - debian/patches/61_CVE-2010-3834.dpatch: handle temporary tables in
- sql/field.cc, sql/sql_select.*. Add tests to mysql-test/*.
- - CVE-2010-3834
- * SECURITY UPDATE: denial of service via user-variable assignment
- expression.
- - debian/patches/61_CVE-2010-3835.dpatch: fix logic in sql/item_func.*,
- Add tests to mysql-test/*.
- - CVE-2010-3835
- * SECURITY UPDATE: denial of service via pre-evaluation of LIKE
- predicates during view preparation.
- - debian/patches/61_CVE-2010-3836.dpatch: make sure we're not in view
- preparation mode in sql/item_cmpfunc.cc. Add tests to mysql-test/*.
- - CVE-2010-3836
- * SECURITY UPDATE: denial of service via use of GROUP_CONCAT() and
- WITH ROLLUP together.
- - debian/patches/61_CVE-2010-3837.dpatch: create a copy of the order
- structures in sql/item_sum.cc, sql/table.h. Add tests to
- mysql-test/*.
- - CVE-2010-3837
- * SECURITY UPDATE: denial of service via longblob and union or update
- with subquery.
- - debian/patches/61_CVE-2010-3838.dpatch: handle REAL_RESULT in
- sql/item_func.cc. Add tests to mysql-test/*.
- - CVE-2010-3838
- * SECURITY UPDATE: denial of service via certain queries with nested
- joins.
- - debian/patches/61_CVE-2010-3839.dpatch: fix nesting in
- sql/sql_select.cc. Add tests to mysql-test/*.
- - CVE-2010-3839
- * SECURITY UPDATE: denial of service via PolyFromWKB() function and
- improper data.
- - debian/patches/61_CVE-2010-3840.dpatch: improve data handling in
- sql/spatial.cc. Add tests to mysql-test/*.
- - CVE-2010-3840
-
- * Patches and changelog entries taken from Ubuntu. (closes: #599937)
- * Import and ACK NMU 5.1.49-2.1. (closes: #595120, #601152)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 30 Nov 2010 09:20:33 +0100
-
-mysql-5.1 (5.1.49-2.1) unstable; urgency=high
-
- * Non-maintainer upload.
- * debian/mysql-server-5.1.mysql.init: Remove $named from
- Should-Start/Should-Stop (closes: #595120).
- Thanks for Clint Byrum <clint@ubuntu.com> patch.
- * Update Portuguese translation (closes: #601152).
- Thanks for Miguel Figueiredo <elmig@debianpt.org> patch.
-
- -- Xavier Oswald <xoswald@debian.org> Sat, 27 Nov 2010 17:43:13 +0100
-
-mysql-5.1 (5.1.49-2) unstable; urgency=low
-
- * Check for server binary before executing any script. (closes: #583611)
- * Move my_print_defaults and perror from mysql-server-5.1 to mysql-client-5.1
- package. (closes: #591373)
- * Update debconf translations:
- - Spanish, from Javier Fernández-Sanguino. (closes: #592171)
- - Galician, from Jorge Barreiro. (closes: #592813)
- - Arabic, from Ossama Khayat. (closes: #596169, #600884)
- - Czech, from Miroslav Kure. (closes: #598339)
- - Danish, from Joe Dalton. (closes: #599483)
- - Portuguese, from Rui Branco. (closes: #599759)
- - Catalan, from Jordi Mallach. (closes: #601098)
- * Add patch 99_fix_testsuite_for_installed_env.dpatch from Ubuntu to fix
- mysql-testsuite to work with the installation location.
- * Add README.source file to make lintian happy.
- * Update Standards-Version to 3.9.1, no changes required.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 27 Oct 2010 14:41:19 +0200
-
-mysql-5.1 (5.1.49-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 31 Jul 2010 12:34:43 +0200
-
-mysql-5.1 (5.1.48-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 17 Jun 2010 22:38:56 +0200
-
-mysql-5.1 (5.1.47-1) unstable; urgency=low
-
- * New upstream release. (closes: #582526)
- * Add patch to fix compile issue with embedded enabled.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 22 May 2010 08:59:41 +0200
-
-mysql-5.1 (5.1.46-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 11 May 2010 18:47:32 +0200
-
-mysql-5.1 (5.1.45-3) unstable; urgency=low
-
- * Upload to unstable.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 10 Apr 2010 19:22:55 +0200
-
-mysql-5.1 (5.1.45-2) experimental; urgency=low
-
- * Add mysql-server-core-5.1 package, containing the package and its manpage,
- to let packages like akonadi use the mysqld binary without using system
- databases. Thanks to Didier Raboud for the patch! (closes: #548419)
- * Add libterm-readkey-perl suggestion to mysql-client-5.1 package.
- (closes: #574505, #575769)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 31 Mar 2010 11:36:25 +0200
-
-mysql-5.1 (5.1.45-1) unstable; urgency=low
-
- * New upstream release.
- * Drop patch 10_readline_build_fix.dpatch.
- * Rename source package to mysql-5.1.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 17 Mar 2010 14:56:02 +0100
-
-mysql-dfsg-5.1 (5.1.44-3) unstable; urgency=low
-
- * Add patch that reinstates the reloading of character set data when a
- mysql_library_init() is done after a mysql_library_end().
- (closes: #569549, #569595)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 01 Mar 2010 18:22:35 +0100
-
-mysql-dfsg-5.1 (5.1.44-2) unstable; urgency=low
-
- * Disable innodb.innodb_information_schema test in testsuite run, it fails
- randomly on at least i386. (closes: #570693)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 21 Feb 2010 20:45:59 +0100
-
-mysql-dfsg-5.1 (5.1.44-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 18 Feb 2010 21:38:09 +0100
-
-mysql-dfsg-5.1 (5.1.43-1) unstable; urgency=low
-
- * New upstream release.
- * Drop patches:
- + 11_binlog_wrong_offset.dpatch
- + 96_SECURITY_CVE-2009-4484.dpatch
- * Disable SSL related test in the testsuite until MySQL gets shipped with an
- updated SSL certificate.
- * Include symlinks for mysqlcheck manpages. (closes: #558760)
- * Fix some lintian warnings:
- + debian-news-entry-has-unknown-version
- + postinst-has-useless-call-to-ldconfig
- + postrm-has-useless-call-to-ldconfig
- * Bump Standards-Version to 3.8.4, no changes required.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 01 Feb 2010 22:03:42 +0100
-
-mysql-dfsg-5.1 (5.1.41-4) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2009-4484: Copying name tags into an internal buffer from
- incoming stream we didn't check the buffer overflow. That may lead to
- memory overrun, crash etc.
- * Add -fno-strict-aliasing to $CFLAGS to get around testsuite errors when
- building with gcc 4.4.x. (closes: #554207)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 18 Jan 2010 19:03:25 +0100
-
-mysql-dfsg-5.1 (5.1.41-3) unstable; urgency=low
-
- * Let mysql-server-5.1 replace libmysqlclient-dev (>= 5.1.41-1) because of
- moved InnoDB plugin. (closes: #557806)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 24 Nov 2009 19:20:36 +0100
-
-mysql-dfsg-5.1 (5.1.41-2) unstable; urgency=low
-
- * Move InnoDB plugin into -server package.
- * Fix some lintian errors and warnings:
- + weak-library-dev-dependency
- + dir-or-file-in-var-run
- + command-with-path-in-maintainer-script
- * Ignore errors in testsuite run on s390.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 21 Nov 2009 13:37:17 +0100
-
-mysql-dfsg-5.1 (5.1.41-1) unstable; urgency=medium
-
- * New upstream release.
- * Drop patch 60_zlib_innodb_workaround.dpatch, merged upstream.
- * Make $DATADIR readable/writeable only for user mysql. (closes: #555626)
- * Build with --without-readline to use system readline instead of bundled
- copy. (closes: #552003)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 20 Nov 2009 17:35:42 +0100
-
-mysql-dfsg-5.1 (5.1.40-1) unstable; urgency=low
-
- * New upstream release.
- * Set thread_stack size to 192K rather than 128K.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 23 Oct 2009 19:12:45 +0200
-
-mysql-dfsg-5.1 (5.1.39-1) unstable; urgency=low
-
- * New upstream release.
- * New patch 60_zlib_innodb_workaround.dpatch to fix an incompatibility
- between zlib and innodb during testsuite run.
- * Wait in the SIGHUP trap to avoid killing an existing mysqld process when a
- HUP signal is sent to mysqld_safe, patch based based on Mathias Gug's fix
- from 5.0 series. (closes: #545044)
- * Update debconf translations:
- - Japanese, from Hideki Yamane. (closes: #545329)
- - Swedish, from Martin Bagge. (closes: #545731)
- * Fix some options in my.cnf about log_file have their named changed, patch
- from Mathias Gug. (closes: #545761)
- * Do not upgrade if there is an ndb management node configured, patch from
- Mathias Gug. (closes: #545760)
- * Switch build-dependency from libreadline5-dev to libreadline-dev.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 28 Sep 2009 17:41:51 +0200
-
-mysql-dfsg-5.1 (5.1.37-2) unstable; urgency=low
-
- * Update debconf translations:
- - Swedish, from Martin Bagge. (closes: #539207)
- - Russian, from Yuri Kozlov. (closes: #540216)
- - French, from Christian Perrier. (closes: #540508)
- - Italian, from Luca Monducci. (closes: #541465)
- - German, from Thomas Mueller. (closes: #544477)
- * Handle DEB_BUILD_OPTIONS correctly, patch from Stephen Depooter.
- (closes: #523928)
- * Support ANSI mode in debian-start.inc.sh, patch from Mathias Gug.
- (closes: #534606)
- * Enable hardening. (closes: #542746)
- * Drop old_passwords option. (closes: #540366)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 02 Sep 2009 20:26:59 +0200
-
-mysql-dfsg-5.1 (5.1.37-1) unstable; urgency=low
-
- * New upstream release.
- * Drop empty transitional package libmysqlclient15-dev, and provide/replace
- it with libmysqlclient-dev. (closes: #538659)
- * Ignore errors in testsuite on all archs but amd64, i386, ia64 and s390.
- (closes: #539679)
- * Update debconf translations:
- - French, from Christian Perrier. (closes: #539703)
- * Fixed typo regarding log_type in my.cnf.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 04 Aug 2009 19:25:45 +0200
-
-mysql-dfsg-5.1 (5.1.36-5) unstable; urgency=low
-
- [ Christian Hammers ]
- * Applied debconf template patch from debian-l10n-english (thanks to
- Justin B Rye).
- * Added a missing misc:Depends to debian/control for lintian.
- * Fixes typo in initscript (thanks to Gaspar Lajos).
-
- [ Norbert Tretkowski ]
- * Ignore errors in testsuite run on mips. (closes: #539095)
- * Update debconf translations:
- - Basque, from Piarres Beobide. (closes: #539130)
- - Russian, from Yuri Kozlov. (closes: #539459)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 01 Aug 2009 11:13:55 +0200
-
-mysql-dfsg-5.1 (5.1.36-4) unstable; urgency=low
-
- * dpkg-gensymbols caused a lot of FTBFS because the C++ libraries have
- slightly different symbol names on other archs (long vs. int somebody
- told me on IRC). We now limit the ABI compatibility check to amd64.
-
- -- Christian Hammers <ch@debian.org> Sun, 26 Jul 2009 11:46:20 +0200
-
-mysql-dfsg-5.1 (5.1.36-3) unstable; urgency=low
-
- * Moving from experimental to unstable!
-
- -- Christian Hammers <ch@debian.org> Sat, 25 Jul 2009 20:42:39 +0200
-
-mysql-dfsg-5.1 (5.1.36-2) experimental; urgency=low
-
- * Build both -fPIC (libmysql_pic.a) and non -fPIC (libmysqld.a) as
- some packages seem to need the -fPIC variant for their own build
- process. Documented in README.Debian. Thanks to Modestas Vainius
- for the patch. Closes: #508406
- * Switch to out-of-source true build mode was a side effect of this change.
- * Added libmysqlclient16.symbols file (thanks to Raphael Hertzog).
- * Raised debian/compat from 4 to 7.
- * Updated innotop to 1.7.1.
- * Minor cleanups that lintian suggested.
-
- -- Christian Hammers <ch@debian.org> Sun, 19 Jul 2009 18:48:53 +0200
-
-mysql-dfsg-5.1 (5.1.36-1) experimental; urgency=low
-
- * Ex-maintainer upload :)
- * New upstream release.
- * SECURITY: Upstream fix for "mysql client does not escape strings in
- --html mode." (CVE-2008-4456) Closes: #526254
- * Upstream fixes REPEAT() function. Closes: #447028
- * Upstream fixes problems when mixing ORDER and GROUP BY. Closes: #470854
- * There were many innodb fixes in the last two years, probably
- also for this unreproducible crash. CLoses: #447713
- * Removed amd64 specific -fPIC compiler option that was introduced
- especially for building the NDB cluster module which is no longer
- part of this package (thanks to Modestas Vainius). Closes: #508406
- * Put /etc/mysql/conf.d to mysql-server-5.1.dirs (thanks to Alexander
- Gerasiov). Closes: #515145
- * Fixed mysql-test suite by adding 50_mysql-test__db_test.dpatch.
- It now passes 100% of the tests again. Also Closes: #533999
- * Preinst now prevents Installation if NDB configuration is detected.
- * Applied Ubuntu patch that fixes privilege bootstrapping in postinst
- (thanks to Mathias Gug). Closes: #535492
- * Applied Ubuntu patch that sets the debconf prio for the root password
- question to high and prevents it from being asked on 5.0 -> 5.1 upgrades
- (thanks to Mathias Gug). Closes: #535500
- * Removed the check for ISAM tables as the only supported upgrade path is
- from lenny's MySQL-5.0.
- * Added /etc/mysql/conf.d/mysqld_safe_syslog.cnf which enables mysqld_safe
- to pipe all mysqld output into the syslog. The reason for not letting dpkg
- handle it via a normal config file change was that my.cnf is usually
- heavily tuned by the admin so the setting would go lost too easily.
- * Updated mysqlreport to version 3.5 (including two minor patches by me).
-
- -- Christian Hammers <ch@debian.org> Wed, 01 Jul 2009 20:54:58 +0200
-
-mysql-dfsg-5.1 (5.1.34-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 20 Apr 2009 20:23:10 +0200
-
-mysql-dfsg-5.1 (5.1.33-2) experimental; urgency=low
-
- * Remove no longer active developers from uploaders field.
- * Drop workaround for upgrades from MySQL 3.23, not necessary any more.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 07 Apr 2009 11:23:25 +0200
-
-mysql-dfsg-5.1 (5.1.33-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 02 Apr 2009 21:12:23 +0200
-
-mysql-dfsg-5.1 (5.1.32-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 06 Mar 2009 18:48:23 +0100
-
-mysql-dfsg-5.1 (5.1.31-2) experimental; urgency=low
-
- * Update SSL certificates, and re-enable SSL related tests when running
- the testsuite.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 10 Feb 2009 16:08:42 +0100
-
-mysql-dfsg-5.1 (5.1.31-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 08 Feb 2009 17:07:11 +0100
-
-mysql-dfsg-5.1 (5.1.30-2) experimental; urgency=low
-
- * Drop MySQL Cluster support, it's deprecated since 5.1.24-RC.
- * Fix FTBFS if build twice in a row. (closes: #487091)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 05 Dec 2008 21:04:55 +0100
-
-mysql-dfsg-5.1 (5.1.30-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 27 Nov 2008 09:09:55 +0100
-
-mysql-dfsg-5.1 (5.1.29rc-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 27 Oct 2008 20:00:43 +0100
-
-mysql-dfsg-5.1 (5.1.26rc-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 14 Jul 2008 21:46:59 +0200
-
-mysql-dfsg-5.1 (5.1.25rc-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 21 Jun 2008 13:55:02 +0200
-
-mysql-dfsg-5.1 (5.1.24rc-1) experimental; urgency=low
-
- * New upstream release.
- * Ignore errors in testsuite on ia64 and s390.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 16 Apr 2008 22:03:44 +0200
-
-mysql-dfsg-5.1 (5.1.23rc-1) experimental; urgency=low
-
- * New upstream release.
-
- [ Christian Hammers ]
- * Add PIC support for NDB libraries on amd64 (thanks to Monty Taylor).
- * Add extra information when aborting due to a detected downgrade (thanks to
- Raphael Pinson).
- * Move libndbclient.so.3 to its own package as it now has a version != 0
- (thanks to Raphael Pinson for reminding me).
-
- [ Monty Taylor ]
- * Remove 85_ndb__staticlib.dpatch since we have a libndbclient package now.
- * Add myself to the uploaders so that I don't get complaints about package
- signing.
- * Add libndbclient-dev package to go with libndbclient3.
-
- [ Norbert Tretkowski ]
- * Update patches:
- + 41_scripts__mysql_install_db.sh__no_test.dpatch
- * Drop patches:
- + 70_upstream_debian__configure.dpatch
- + 71_upstream_debian__Makefile.in.dpatch
- + 99_TEMP_minmax.dpatch
- * Remove Adam Conrad from uploaders on his request. Thanks for your work in
- the past!
- * Ignore errors in testsuite on amd64 and i386.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 29 Feb 2008 10:38:27 +0100
-
-mysql-dfsg-5.1 (5.1.22rc-1) experimental; urgency=low
-
- * New upstream version.
- * Let mysql-server-5.1 pre-depend on debconf as it uses it in the preinst.
- * Fixed mysql-client-5.1 menu entry for upcoming menu policy 1.4.
-
- -- Christian Hammers <ch@debian.org> Tue, 02 Oct 2007 22:45:37 +0200
-
-mysql-dfsg-5.1 (5.1.21beta-1) experimental; urgency=low
-
- * My "Greetings from FrOSCon!" release.
- * New upstream version.
- * libmysqlclient.so.15 has been superseded by libmysqlclient.so.16.
- * Renamed libmysqlclient15-dev to libmysqlclient-dev but added an empty
- package libmysqlclient15-dev to ease the transition for packages with
- a versioned build-dep to libmysqlclient15-dev which is something that
- currently does not work with "Provides:".
- * Synced with 5.0 branch up to subversion release r909.
- * Commented out most of the compile conditionals in the hope that
- all architectures can be build the same way.
- * Added a lot of new binaries and manpages.
- * Switched to plugin based engines.
-
- -- Christian Hammers <ch@debian.org> Sat, 25 Aug 2007 14:24:40 +0200
-
-mysql-dfsg-5.1 (5.1.19beta-1) experimental; urgency=low
-
- * New upstream release.
-
- -- Christian Hammers <ch@debian.org> Mon, 11 Jun 2007 23:18:35 +0200
-
-mysql-dfsg-5.1 (5.1.16beta-4) experimental; urgency=high
-
- * Merged with 5.0 r850:
- * SECURITY:
- In some previous versions mysql_install_db was not idempotent and did
- always create passwordless root accounts although it should only on
- initial installs (thanks to Olaf van der Spek). Closes: #418672
- * Added check for passwordless root accounts to debian-start.
- * As MySQL-5.0 is, at least currently, incompatible with Kernel 2.4 the
- installation is aborted for such old kernels. Debian Etch does not
- support them anyway according to the release notes but this might be
- unexpected and many production servers still have self build ones
- installed (thanks to Marc-Christian Petersen). See: #416841
- * Adjusted TeX build-deps to texlive.
- * Added innotop.
- * Changed maintainer email address to
- pkg-mysql-commits@lists.alioth.debian.org
-
- -- Christian Hammers <ch@debian.org> Thu, 19 Apr 2007 19:29:29 +0200
-
-mysql-dfsg-5.1 (5.1.16beta-3) experimental; urgency=low
-
- * Merged with 5.0 r837:
- * Activated the blackhole engine as it's needed for replicating partition
- designs (thanks to Cyril SCETBON).
- * Fixed segfault on i486 systems without cpuid instruction (thanks to
- Lennart Sorensen). Closes: #410474
- * Only use of the non-essential debconf package in postrm if it is
- still installed (thanks to Michael Ablassmeier). Closes: #416838
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Mar 2007 21:48:11 +0100
-
-mysql-dfsg-5.1 (5.1.16beta-2) experimental; urgency=low
-
- * Merged with 5.0 r818:
- * Fixed FTBFS on Sparc introduced with the "make -j" trick in
- 5.0.32-8 (thanks to Frank Lichtenheld). Closes: #415026
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Mar 2007 21:20:11 +0100
-
-mysql-dfsg-5.1 (5.1.16beta-1) experimental; urgency=low
-
- * New upstream release.
- * SECURITY: Using an INFORMATION_SCHEMA table with ORDER BY in a subquery
- could cause a server crash (CVE-2007-1420).
- * Added temporary patch 90_TEMP_sqlparse-ifdef to avoid build problems.
- * Merged with 5.0 r809:
- * Updated mysqlreport to latest upstream (and patched --help usage
- message and "return if qcache_size==0").
- * Merged with 5.0 r798:
- * Adapt MAKE_J to use the -j option with the number of available
- processors. (thanks to Raphael Pinson).
- * Merged with 5.0 r758:
- * Changed minimum required version in dh_makeshlibs to 5.0.27-1 as
- 5.0.26 had an ABI breakage in it!
- This is the cause for Perl programs crashing with the following error:
- Transactions not supported by database at /usr/lib/perl5/DBI.pm line 672
- * Added some more comments to the default my.cnf.
- * Added support for /etc/mysql/conf.d/.
- * The debian-start script that runs on every server start now first upgrades
- the system tables (if neccessary) and then check them as it sometimes did
- not work the other way around (e.g. for MediaWiki). The script now uses
- mysql_update instead of mysql_update_script as recommended. See: 409780
-
- -- Christian Hammers <ch@debian.org> Fri, 2 Mar 2007 01:00:55 +0100
-
-mysql-dfsg-5.1 (5.1.15beta-1) experimental; urgency=low
-
- * New upstream release.
- [Monty Taylor]
- * Removed patches/25_mysys__default.c - fixed upstream.
- * Removed patches/26_client__mysql_upgrade.c - fixed upstream.
- * Removed patches/29_scripts__mysqlbug.sh - fixed upstream.
- * Removed patches/39_scripts__mysqld_safe.sh__port_dir - fixed upstream.
- * Removed patches/42_scripts__mysqldumpslow__slowdir - fixed upstream.
- * Removed patches/45_warn-CLI-passwords - fixed upstream.
- * Removed patches/89_ndb__records.dpatch - fixed upstream.
- * Removed patches/86_ndbapi_tc_selection.dpatch - fixed upstream.
- [Christian Hammers]
- * Synced with 5.0.32-4.
- * mysql-server-5.0 pre-depends on adduser now and has --disabled-login
- explicitly added to be on the safe side (thanks to the puiparts team).
- Closes: #408362
- * Corrections the terminology regarding NDB in the comments of all config
- files and init scripts (thanks to Geert Vanderkelen of MySQL).
-
- -- Christian Hammers <ch@debian.org> Wed, 7 Feb 2007 11:34:52 -0200
-
-mysql-dfsg-5.1 (5.1.14beta-2) experimental; urgency=low
-
- [Christian Hammers]
- * Readded 85_ndb__staticlib.dpatch with slight modifications.
- * Backported debian-start scripts from 5.0.
- [Monty Taylor]
- * Now build-depends on bison.
- * Updated to standards 3.7.2.
- * Removed references to comp_err.
- * build-depend on automake1.9 to match upstream
- * Merged runlevel changes from 5.0.
- * Added 26_client__mysql_upgrade.c.dpatch to fix a segfault in mysql_upgrade
- when using a password. It's been fixed upstream in 5.1.15.
- * Moved BDB check to sanity_checks() and added a note about deprecation.
- * Use my_print_defaults instead of mysqld --print-defaults
- * Changed NDB Data and Management node startup seqence. Prevented both
- from restarting on upgrade to address rolling upgrade issues.
- * Added a "start-initial" option to the Data Node init script to support
- initial node starts.
- * Added 86_ndbapi_tc_selection.dpatch to fix a bug that causes a segfault
- when using the NdbApi. http://bugs.mysql.com/bug.php?id=24914
- Fixed in 5.1.15
- * Added 89_ndb__records.dpatch to fix
- http://bugs.mysql.com/bug.php?id=25567, which causes a table scan per
- table per query.
-
- -- Christian Hammers <ch@debian.org> Wed, 31 Jan 2007 01:17:35 +0100
-
-mysql-dfsg-5.1 (5.1.14beta-1) experimental; urgency=low
-
- * New upstream.
- * Removed references to mysql_explain_log
- * Changed context for patch to mysqld_multi.1
- * Removed 70_kfreebsd.dpatch - applied to upstream
- * Removed 87_ps_Hurd - applied to upstream
- * Replaced --without-readline to --with-libedit to configure options, as
- --without-readline doesn't seem to do the right thing anymore.
-
- -- Monty Taylor <mordred@inaugust.com> Wed, 10 Jan 2007 12:59:55 -0800
-
-mysql-dfsg-5.1 (5.1.11beta-1) experimental; urgency=low
-
- * Starting new 5.1 branch!
- * FIXME: Following patch couldn't be applied:
- ## 85_ndb__staticlib.dpatch by <ch@debian.org>
- * FIXME: Following patch couldn't be applied:
- ## 86_PATH_MAX.dpatch
-
- -- Christian Hammers <ch@debian.org> Sat, 29 Jul 2006 11:35:42 +0200
-
-mysql-dfsg-5.0 (5.0.84-1) unstable; urgency=low
-
- * New upstream release.
- * Update patches:
- + debian/patches/60_disabled_tests.dpatch
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 24 Jul 2009 18:05:11 +0200
-
-mysql-dfsg-5.0 (5.0.83-1) unstable; urgency=low
-
- * New upstream release.
- * Update patches:
- + debian/patches/45_warn-CLI-passwords.dpatch (closes: #536548)
- + debian/patches/60_disabled_tests.dpatch
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 18 Jul 2009 08:18:53 +0200
-
-mysql-dfsg-5.0 (5.0.81-1) unstable; urgency=low
-
- * New upstream release.
- * Remove patches:
- + debian/patches/63_update_ssl_certs.dpatch
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 04 May 2009 18:53:05 +0200
-
-mysql-dfsg-5.0 (5.0.77-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 17 Feb 2009 18:42:46 +0100
-
-mysql-dfsg-5.0 (5.0.75-1) unstable; urgency=low
-
- * New upstream release.
- * Update patches:
- + debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch
- * Remove patches:
- + debian/patches/50_fix_agg_functions.dpatch
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Mon, 22 Dec 2008 11:01:38 +0100
-
-mysql-dfsg-5.0 (5.0.67-3) unstable; urgency=low
-
- * Really apply patch from 5.0.74 to fix check for non-aggregated columns
- in queries.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 16 Dec 2008 07:19:23 +0100
-
-mysql-dfsg-5.0 (5.0.67-2) unstable; urgency=low
-
- * New patch from 5.0.74 to fix check for non-aggregated columns in queries.
- (closes: #505179, #505181)
- * Add patch from Dan Munckton:
- + Clearly indicate that we do not support running multiple instances
- of mysqld by duplicating the init script.
- (closes: #314785, #324834, #435165, #444216)
- + Properly parameterize all existing references to the mysql config
- file (/etc/mysql/my.cnf).
- * Really fix FTBFS if build twice in a row. (closes: #442684)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 14 Dec 2008 10:12:30 +0100
-
-mysql-dfsg-5.0 (5.0.67-1) unstable; urgency=low
-
- * New upstream release.
- * Update patches:
- + debian/patches/25_mysys__default.c.dpatch
- + debian/patches/80_fix_user_setup_on_localhost.dpatch
- * Remove patches:
- + debian/patches/50_fix_mysqldump.dpatch
- + debian/patches/51_incorrect-order.dpatch
- + debian/patches/52_ndb-gcc-4.2.dpatch
- + debian/patches/53_integer-gcc-4.2.dpatch
- + debian/patches/54_ssl-client-support.dpatch
- + debian/patches/55_testsuite-2008.dpatch
- + debian/patches/56_fix_order_by.dpatch
- + debian/patches/57_fix_mysql_replication.dpatch
- + debian/patches/58_disable-ndb-backup-print.dpatch
- + debian/patches/59_fix_relay_logs_corruption.dpatch
- + debian/patches/60_rpl_test_failure.dpatch
- + debian/patches/90_upstreamdebiandir.dpatch
- + debian/patches/91_SECURITY_CVE-2007-5925.dpatch
- + debian/patches/92_SECURITY_CVE-2008-2079.dpatch
- + debian/patches/93_SECURITY_CVE-2008-3963.dpatch
- * Fix FTBFS if build twice in a row. (closes: #442684)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 02 Nov 2008 13:51:50 +0100
-
-mysql-dfsg-5.0 (5.0.51a-24) testing-proposed-updates; urgency=low
-
- * Update SSL certificates, and re-enable SSL related tests when running
- the testsuite.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 03 Feb 2009 15:40:47 +0100
-
-mysql-dfsg-5.0 (5.0.51a-23) testing-proposed-updates; urgency=medium
-
- * Reset debconf password variable root_password_again immediately after
- using it. (closes: #513262)
- * Disable SSL related tests when running the testsuite until MySQL bug
- #42366 gets fixed.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 29 Jan 2009 14:07:32 +0100
-
-mysql-dfsg-5.0 (5.0.51a-22) testing-proposed-updates; urgency=low
-
- * New patch 10_mysql_secure_installation.dpatch to fix failure on passwords
- which need quoting. (closes: #511929)
- * New patch 62_delete_with_self-join.dpatch from 5.0.54 to fix MyISAM
- storage engine error (134) doing delete with self-join. (closes: #512651)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 25 Jan 2009 10:02:35 +0100
-
-mysql-dfsg-5.0 (5.0.51a-21) testing-proposed-updates; urgency=low
-
- * Ask for MySQL root password at high priority, because otherwise all
- default installations will miss this question, thanks to Thijs Kinkhorst
- for the patch. (closes: #510875)
- * Do not fail checking tables when using sql-mode ansi-quotes, thanks to
- Renato Alves for the patch. (closes: #507049)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 09 Jan 2009 10:24:23 +0100
-
-mysql-dfsg-5.0 (5.0.51a-20) testing-proposed-updates; urgency=low
-
- * New patch 60_fix_leap_seconds.dpatch from 5.0.74 to return leap second
- values with a time part that ends with :59:59. (closes: #510177)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 30 Dec 2008 10:32:46 +0100
-
-mysql-dfsg-5.0 (5.0.51a-19) testing-proposed-updates; urgency=low
-
- * New patch 50_fix_mysqldump2.dpatch from 5.0.60 to fix dumping databases
- from mysql 4.0 server. (closes: #507789)
- * Do not create a guest account during bootstrap. (closes: #463704)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 04 Dec 2008 23:07:19 +0100
-
-mysql-dfsg-5.0 (5.0.51a-18) testing-proposed-updates; urgency=high
-
- * SECURITY:
- Fix for CVE-2008-4098: Inadequate validation of paths used in DATA
- DIRECTORY and INDEX DIRECTORY clauses of CREATE TABLE statements enabled
- attackers to write to tables in other databases to which they could not
- ordinarily have access.
-
- -- Devin Carraway <devin@debian.org> Tue, 25 Nov 2008 05:38:45 +0000
-
-mysql-dfsg-5.0 (5.0.51a-17) testing-proposed-updates; urgency=low
-
- * Don't use commented out passwords from debian.cnf. (closes: #453820)
- * Update watch file to recognize releases > 5.0.45.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 02 Nov 2008 13:31:32 +0100
-
-mysql-dfsg-5.0 (5.0.51a-16) unstable; urgency=low
-
- * New patch 60_rpl_test_failure.dpatch from 5.0.54 to fix a race condition
- with the rpl_packet test in some cases. (closes: #501413)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 09 Oct 2008 08:50:43 +0200
-
-mysql-dfsg-5.0 (5.0.51a-15) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2008-3963: An empty bit-string literal (b'') caused a server
- crash. Now the value is parsed as an empty bit value (which is treated as
- an empty string in string context or 0 in numeric context).
- (closes: #498362)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 14 Sep 2008 18:27:46 +0200
-
-mysql-dfsg-5.0 (5.0.51a-14) unstable; urgency=low
-
- * Update debconf translations:
- - Swedish, from Martin Bagge. (closes: #491688)
- - Netherlands, from Thijs Kinkhorst. (closes: #492723)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 07 Sep 2008 20:18:31 +0200
-
-mysql-dfsg-5.0 (5.0.51a-13) unstable; urgency=medium
-
- * New patch 59_fix_relay_logs_corruption.dpatch from 5.0.56 to fix
- corruption in relay logs. (closes: #463515)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 03 Sep 2008 09:13:46 +0200
-
-mysql-dfsg-5.0 (5.0.51a-12) unstable; urgency=low
-
- * Disable rpl_ndb_innodb_trans test when running the testsuite, fails
- randomly on i386. (closes: #494238)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 09 Aug 2008 15:56:45 +0200
-
-mysql-dfsg-5.0 (5.0.51a-11) unstable; urgency=low
-
- * Disable innodb_handler test when running the testsuite, fails randomly
- on s390. (closes: #491363)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 23 Jul 2008 08:34:51 +0200
-
-mysql-dfsg-5.0 (5.0.51a-10) unstable; urgency=high
-
- * Merge testing-security upload to finally fix CVE-2008-2079, thanks to
- Devin Carraway and Steffen Joeris. (closes: #480292)
- * New patch 58_disable-ndb-backup-print.dpatch from 5.0.54 to disable
- ndb_backup_print, ndb_alter_table and ndb_replace tests when running the
- testsuite. (closes: #474893)
- * Reenable error handling in testsuite on i386, disabling it was just a
- workaround for the problem which is now fixed with the above patch.
- * Update debconf translations:
- - Vietnamese, from Clytie Siddall. (closes: #486443)
- - Spanish, from Javier Fernández-Sanguino Peña. (closes: #488740)
- - Slovak, from helix84. (closes: #489266)
- * Make lintian happy:
- - Fix build-dependency on -1 revision.
- - Fix deprecated chown usage.
- - Fix spelling error in description.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Tue, 15 Jul 2008 19:37:35 +0200
-
-mysql-dfsg-5.0 (5.0.51a-9+lenny2) testing-security; urgency=high
-
- * Non-maintainer upload by the security team.
- * Correct error number in symlink.test to avoid FTBFS on some archs.
-
- -- Steffen Joeris <white@debian.org> Sun, 13 Jul 2008 11:44:57 +0000
-
-mysql-dfsg-5.0 (5.0.51a-9+lenny1) testing-security; urgency=high
-
- * Non-maintainer upload by the security team.
- * Correct and expand 92_SECURITY_CVE-2008-2079.dpatch to cover all symlinks
- and check the output of fn_format(). (closes: #480292)
- Fixes: CVE-2008-2079
-
- -- Steffen Joeris <white@debian.org> Sat, 12 Jul 2008 05:30:39 +0000
-
-mysql-dfsg-5.0 (5.0.51a-9) unstable; urgency=low
-
- * Ignore errors in testsuite on i386. (workaround for #474893)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 25 Jun 2008 15:07:03 +0200
-
-mysql-dfsg-5.0 (5.0.51a-8) unstable; urgency=low
-
- * New patch 80_fix_user_setup_on_localhost.dpatch from Daniel Hahler to fix
- a duplicate key error when install MySQL server on a host with hostname
- localhost. (closes: #478319)
- * Really fix build on non-linux systems, this time without producing a build
- error on some architectures. (closes: #485971)
- * Update debconf translations:
- - French, from Christian Perrier. (closes: #478553)
- - German, from Alwin Meschede. (closes: #478672)
- - Italian, from Luca Monducci. (closes: #479363)
- - Czech, from Miroslav Kure. (closes: #480924)
- - Galician, from Jacobo Tarrio. (closes: #480965)
- - Basque, from Piarres Beobide. (closes: #481840)
- - Swedish, from Martin Bagge. (closes: #482466, #486307)
- - Turkish, from Mert Dirik. (closes: #484704)
- - Russian, from Yuri Kozlov. (closes: #486149)
- - Finnish, from Esko Arajärvi. (closes: #486554)
- - Portuguese, from Miguel Figueiredo. (closes: #486709)
- - Romanian, from Eddy Petrișor. (closes: #486944)
- - Japanese, from Hideki Yamane. (closes: #487270)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 21 Jun 2008 19:20:48 +0200
-
-mysql-dfsg-5.0 (5.0.51a-7) unstable; urgency=high
-
- [ Norbert Tretkowski ]
- * SECURITY:
- Fix for CVE-2008-2079: It was possible to circumvent privileges through
- the creation of MyISAM tables employing the DATA DIRECTORY and INDEX
- DIRECTORY options to overwrite existing table files in the MySQL data
- directory. Use of the MySQL data directory in DATA DIRECTORY and INDEX
- DIRECTORY is now disallowed. Patch from openSUSE 11.0, thanks to Michal
- Marek. (closes: #480292)
- * Fix build on non-linux systems, like hurd-i386. (closes: #480362)
- * Include symlinks for mysqlcheck. (closes: #480647)
-
- [ Monty Taylor ]
- * Remove ndb_cpcd, as it is only for the NDB test suite and not useful as a
- public program.
- * Fix debian-start.inc.sh for table names with characters needing quotes.
- Thanks Felix Rublack! (closes: #480525, #481154, #481303, #484012)
- * Delete mysql-common.README.Debian. Nothing in it was relevant, and the
- useful information is in mysql-server anyway. (closes: #480940)
- * Remove a spurious HOME= in logrotate script.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 05 Jun 2008 11:49:45 +0200
-
-mysql-dfsg-5.0 (5.0.51a-6) unstable; urgency=low
-
- * Fix debian-start.inc.sh to not print the row counts of the tables
- queried. (closes: #478256, #479697)
-
- -- Monty Taylor <mordred@inaugust.com> Wed, 14 May 2008 00:47:46 -0700
-
-mysql-dfsg-5.0 (5.0.51a-5) unstable; urgency=medium
-
- * New patch 57_fix_mysql_replication.dpatch from 5.0.54 to fix directory for
- relay logs when using replication.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 27 Apr 2008 13:55:04 +0200
-
-mysql-dfsg-5.0 (5.0.51a-4) unstable; urgency=low
-
- [ Monty Taylor ]
- * Remove build of ndb docs, since they are not installed. Removed build deps
- on TeX and doxygen since that's all they were there for.
- * Replace script in check_for_crashed_tables with a myisam-recover option
- and a script to trigger a check of those tables. (thanks HarrisonF and
- kolbe)
- * Replace direct calls to test suite with calls to the make targets used by
- the MySQL build and qa teams for releases.
- * Add --skip-ndbcluster to the postinst bootstrap command. It's really a
- workaround for a bug in 5.1, but it's probably a good idea anyway since we
- certainly don't need cluster to spin up, and if people have enabled
- cluster in their my.cnf file, there could be postinst issues if cluster
- isn't running.
- * Remove reference to configure options that no longer exist.
- * Add myself to uploaders.
-
- [ Norbert Tretkowski ]
- * New patch 56_fix_order_by.dpatch from Ubuntu to fix ORDER BY not working
- with GROUP BY. (closes: #471737)
- * Add note about filename extensions in the /etc/mysql/conf.d/ directory in
- my.cnf. (closes: #461759)
- * Confirm password on install, patch from Nicolas Valcárcel.
- (closes: #471887)
- * Remove Adam Conrad from uploaders on his request. Thanks for your work in
- the past!
- * Use lsb_release to detect distribution.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sat, 05 Apr 2008 21:51:43 +0200
-
-mysql-dfsg-5.0 (5.0.51a-3) unstable; urgency=low
-
- * Disable patch 60_raise-max-keylength.dpatch in default build, but still
- ship it in the source package.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 17 Feb 2008 18:54:42 +0100
-
-mysql-dfsg-5.0 (5.0.51a-2) unstable; urgency=low
-
- * Replace 54_ssl-client-support.dpatch added in 5.0.51-2 with patch from
- upstream.
- * Ignore errors in testsuite on powerpc.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 17 Feb 2008 12:42:58 +0100
-
-mysql-dfsg-5.0 (5.0.51a-1) unstable; urgency=low
-
- [ Norbert Tretkowski ]
- * New upstream security hotfix release. Low priority upload anyway because
- 5.0.51-3 already contained all security fixes.
- * Remove patches:
- + debian/patches/51_mysqlcheck-result.dpatch
- + debian/patches/92_SECURITY_CVE-2007-6303.dpatch
- + debian/patches/93_SECURITY_CVE-2007-6304.dpatch
- + debian/patches/94_SECURITY_CVE-2008-0226+0227.dpatch
- * Add recommendation on libhtml-template-perl to -server package, used by
- ndb_size. (closes: #462265)
- * New patch 60_raise-max-keylength.dpatch to raise the maximum key length to
- 4005 bytes or 1335 UTF-8 characters. (closes: #463137)
- * New patch 51_sort-order.dpatch from 5.0.52 to fix incorrect order when
- using range conditions on 2 tables or more.
- * Support DEB_BUILD_OPTIONS option 'nocheck' to skip tests.
- * Update mysqlreport to 3.4a release.
-
- [ Luk Claes ]
- * Updated Japanese debconf translation. (closes: #462158)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 06 Feb 2008 11:57:45 +0100
-
-mysql-dfsg-5.0 (5.0.51-3) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2008-0226 and CVE-2008-0227: Three vulnerabilities in yaSSL
- versions 1.7.5 and earlier were discovered that could lead to a server
- crash or execution of unauthorized code. The exploit requires a server
- with yaSSL enabled and TCP/IP connections enabled, but does not require
- valid MySQL account credentials. The exploit does not apply to OpenSSL.
- (closes: #460873)
- * Fix LSB header in init scripts (patch from Petter Reinholdtsen).
- (closes: #458798)
- * Run testsuite on all archs, but ignore errors on alpha, arm, armel, hppa,
- mipsel and sparc. (closes: #460402)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 23 Jan 2008 11:37:11 +0100
-
-mysql-dfsg-5.0 (5.0.51-2) unstable; urgency=low
-
- [ Monty Taylor ]
- * Added --with-system-type to set the version_compile_os field.
- * Cleaned up some lintian warnings.
- * Removed 43_scripts__mysql_update__password.dpatch since we don't use
- mysql_upgrade_shell anymore and use mysql_upgrade instead.
- * Removed 88_mctype_attrib.dpatch, http://bugs.mysql.com/bug.php?id=25118 is
- closed with http://lists.mysql.com/commits/24337
- * Added mysql-community/mysql-enterprise virtual packages in provides and
- conflicts to ease transitions between versions.
-
- [ Norbert Tretkowski ]
- * Add -fPIC to CFLAGS to allow other packages to be built against
- libmysqld.a on amd64. (closes: #457915)
- * New patch 55_testsuite-2008.dpatch to fix FTBFS in testsuite.
- (closes: #458695)
- * New patch 54_ssl-client-support.dpatch to fix SSL client support.
- * Don't run testsuite on alpha, arm, hppa, mipsel and sparc.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 02 Jan 2008 18:40:04 +0100
-
-mysql-dfsg-5.0 (5.0.51-1) unstable; urgency=low
-
- * New upstream release.
- + Fix a crash in mysql_client_test due to gcc 4.x optimizations.
- (closes: #452558)
- * Update patches:
- + debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch
- + debian/patches/89_ndb__staticlib.dpatch
- * Run testsuite after build.
- * Re-add manpages, they are licensed under GPL now and redistribution is
- permitted.
- * Drop linux-libc-dev build-dependency, it's now being pulled by libc-dev
- which is build-essential. (closes: #431018)
- * Remove old optimizations for MySQL 3.23.x, they are no longer required.
- (closes: #436552)
- * Don't fail when upgrading mysql-common if $datadir is empty or not defined
- (patch from Edward Allcutt). (closes: #453127)
- * New patch from 5.0.52 to fix mysqldump because 'null' is shown as type of
- fields for view with bad definer. (closes: #454227)
- * New patch from 5.0.52 to fix mysqlcheck test result.
- * New patch from 5.0.52 to fix wrong optimization in ndb code when building
- with gcc 4.2.x.
- * New patch from 5.0.54 to fix wrong number output due to integer overflow
- when building with gcc 4.2.x.
- * New Finnish debconf translation from Esko Arajärvi. (closes: #448776)
- * Update Basque debconf translation from Aitor Ibañez. (closes: #456193)
- * Add Vcs-* and Homepage fields to source stanza in control file.
- * Update mysqlreport to 3.2 release.
- * Let mysql-server-5.0 pre-depend on debconf, because it's preinst is using
- it.
- * Drop menu item for innotop.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Fri, 14 Dec 2007 09:59:36 +0100
-
-mysql-dfsg-5.0 (5.0.45-5) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2007-6303: ALTER VIEW retained the original DEFINER value,
- even when altered by another user, which could allow that user to gain the
- access rights of the view. Now ALTER VIEW is allowed only to the original
- definer or users with the SUPER privilege. (closes: #455737)
- * SECURITY:
- Fix for CVE-2007-6304: When using a FEDERATED table, the local server can
- be forced to crash if the remote server returns a result with fewer columns
- than expected.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 12 Dec 2007 20:23:43 +0100
-
-mysql-dfsg-5.0 (5.0.45-4) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2007-5969: Using RENAME TABLE against a table with explicit
- DATA DIRECTORY and INDEX DIRECTORY options can be used to overwrite system
- table information by replacing the file to which the symlink points.
- (closes: #455010)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Sun, 09 Dec 2007 12:29:54 +0100
-
-mysql-dfsg-5.0 (5.0.45-3) unstable; urgency=high
-
- * SECURITY:
- Fix for CVE-2007-5925: The convert_search_mode_to_innobase function in
- ha_innodb.cc in the InnoDB engine in MySQL 5.1.23-BK and earlier allows
- remote authenticated users to cause a denial of service (database crash)
- via a certain CONTAINS operation on an indexed column, which triggers an
- assertion error. (closes: #451235)
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Thu, 15 Nov 2007 18:40:11 +0100
-
-mysql-dfsg-5.0 (5.0.45-2) unstable; urgency=low
-
- * Package is now team-maintained. (closes: #421026)
-
- [ Sean Finney ]
- * New/updated debconf translations:
- - Spanish, from Javier Fernández-Sanguino Peña (closes: #426442).
- - German, from Alwin Meschede (closes: #426545).
- - Danish, from Claus Hindsgaul (closes: #426783).
- - French, from Christian Perrier (closes: #430944).
- * Add Recommends on libterm-readkey-perl for mysql-client-5.0 package, used
- by mysqlreport add-on to mask password entry (closes: #438375).
-
- [ Norbert Tretkowski ]
- * Add myself to uploaders.
- * Suggest usage of an update statement on the user table to change the mysql
- root user password instead using mysqladmin, to catch all root users from
- all hosts. (closes: #435744)
- * Remove informations about a crash in the server during flush-logs when
- having expire_logs_days enabled but log-bin not, this bug was fixed in
- 5.0.32 already. (closes: #368547)
- * Disable log_bin option in default config file and add a note to the NEWS
- file. (closes: #349661)
- * Fix FTBFS if build twice in a row. (closes: #442684)
- * Remove check for buggy options from init script.
- * Update innotop to 1.6.0 release.
- * Add mysqlreport and innotop to mysql-client description.
- * Use shorter server version string.
-
- -- Norbert Tretkowski <norbert@tretkowski.de> Wed, 14 Nov 2007 20:00:06 +0100
-
-mysql-dfsg-5.0 (5.0.45-1) unstable; urgency=low
-
- * New upstream release.
-
- [sean finney]
- * removed patches that are incorporated into the latest release:
- - 70_cpuid_on_i486.dpatch
- - 91_SECURITY_CVE-2007-2691_alter-drop
- * new patch 90_upstreamdebiandir.dpatch to keep a few lingering references
- to the upstream ./debian dir out of the build, at least until we find
- a nice way to collaborate on sharing the directory.
- * updated CRUFT list to fix double-build breakage (closes: #424590).
- * add conditional build-deps for linux-libc-dev to fix FTBFS for
- non-linux arch's (closes: #431018).
- * added notes to my.cnf and README.Debian about setting tmpdir when
- configuring a replication slave. thanks to Rudy Gevaert for pointing
- this out (closes: #431825).
-
- -- sean finney <seanius@debian.org> Tue, 17 Jul 2007 23:50:33 +0200
-
-mysql-dfsg-5.0 (5.0.41a-1) unstable; urgency=high
-
- [sean finney]
- * SECURITY:
- Fix for CVE-2007-2691: DROP/RENAME TABLE statements (closes: #424778).
- [Christian Hammers]
- * Removed all manpages from the source (therefore the "41a") as they
- are not licensed under the GPL and redistribution is not permitted
- (thanks to Mathias Gug). Closes: #430018
- * Added linux-libc-dev to the build-depends as else an illegal dependency to
- asm/atomic.h is generated in /usr/include/mysql/my_global.h. Closes: 424276
- [Christian Perrier]
- * Debconf templates and debian/control reviewed by the debian-l10n-
- english team as part of the Smith review project. Closes: #419974
- * Debconf translation updates:
- - French. Closes: #422187
- - Galician. Closes: #420118
- - Italian. Closes: #421349
- - Brazilian Portuguese. Closes: #421516
- - Arabic. Closes: #421751
- - Czech. Closes: #421766
- - Portuguese. Closes: #422428
-
- -- Christian Hammers <ch@debian.org> Sun, 24 Jun 2007 21:12:42 +0200
-
-mysql-dfsg-5.0 (5.0.41-2) unstable; urgency=low
-
- * the previous "translation changes" inadvertently introduced unrelated
- changes in the package control file.
-
- -- sean finney <seanius@debian.org> Sun, 13 May 2007 12:32:45 +0200
-
-mysql-dfsg-5.0 (5.0.41-1) unstable; urgency=low
-
- * New upstream release
- [sean finney]
- * Bump the priority of the debconf prompt for the root password to high, to
- ensure the question shows up in a default installation (closes: #418672).
- * Debconf templates and debian/control reviewed by the debian-l10n-
- english team as part of the Smith review project. Closes: #419974
- * Debconf translation updates:
- - French. Closes: #422187
- - Galician. Closes: #420118
- - Italian. Closes: #421349
- - Brazilian Portuguese. Closes: #421516
- - Arabic. Closes: #421751
- - Czech. Closes: #421766
- - Portuguese. Closes: #422428
- * massaged the local PATH_MAX patch.
- * removed temp sql parsing patch which has been incorporated upstream
- * upstream no longer includes the mysql_create_system_tables command,
- so removed our local patches for it.
- * the following issues may have been fixed in a previous version of
- mysql-server-5.0, but the exact version is not clear so they will be
- marked as fixed in this version.
- * lots of NDB-related fixes, including those related to problems with
- AUTO_INCREMENT (closes: #310878).
- * fix for "connections remaining in sleep state" (closes: #318011).
- * fix for "denies queries randomly" (closes: #399602).
- * problems indexing on char() binary fields were ISAM specific, which is
- no longer supported (closes: #326698).
- * fix for problems with "complicated joins" (closes: 348682).
- * fix for problems with "flushing logs, server crash" (closes: #348682).
- * fix for AUTO_INCREMENT and duplicate keys (closes: #416145).
- * fix for "DROP FUNCTIONS doesn't work" (closes: #290670).
-
- -- sean finney <seanius@debian.org> Sat, 12 May 2007 12:10:20 +0200
-
-mysql-dfsg-5.0 (5.0.38-3) unstable; urgency=low
-
- * Added innotop.
- * Changed maintainer email address to
- pkg-mysql-commits@lists.alioth.debian.org
-
- -- Christian Hammers <ch@debian.org> Thu, 19 Apr 2007 19:21:15 +0200
-
-mysql-dfsg-5.0 (5.0.38-2) unstable; urgency=high
-
- * SECURITY:
- In some previous versions mysql_install_db was not idempotent and did
- always create passwordless root accounts although it should only on
- initial installs (thanks to Olaf van der Spek). Closes: #418672
- * Added check for passwordless root accounts to debian-start.
- * As MySQL-5.0 is, at least currently, incompatible with Kernel 2.4 the
- installation is aborted for such old kernels. Debian Etch does not support
- them anyway according to the release notes but this might be unexpected
- and many production servers still have self build ones installed (thanks
- to Marc-Christian Petersen). See: #416841
- * Adjusted TeX build-deps to texlive.
-
- -- Christian Hammers <ch@debian.org> Tue, 17 Apr 2007 01:00:41 +0200
-
-mysql-dfsg-5.0 (5.0.38-1) unstable; urgency=low
-
- * New upstream release.
- * Activated the blackhole engine as it's needed for replicating partition
- designs (thanks to Cyril SCETBON).
- * Fixed segfault on i486 systems without cpuid instruction (thanks to
- Lennart Sorensen). Closes: #410474
- * Only use of the non-essential debconf package in postrm if it is still
- installed (thanks to Michael Ablassmeier). Closes: #416838
-
- -- Christian Hammers <ch@debian.org> Thu, 5 Apr 2007 22:43:41 +0200
-
-mysql-dfsg-5.0 (5.0.36-1) unstable; urgency=low
-
- * New upstream release.
- Closes: #400460, #408159, #408533
-
- -- Christian Hammers <ch@debian.org> Thu, 22 Mar 2007 22:16:31 +0100
-
-mysql-dfsg-5.0 (5.0.32-10) unstable; urgency=high
-
- * Really fixed FTBFS on Sparc introduced with the "make -j" trick in
- 5.0.32-8 (thanks to Frank Lichtenheld). Closes: #415026
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Mar 2007 20:52:33 +0100
-
-mysql-dfsg-5.0 (5.0.32-9) unstable; urgency=high
-
- * Fixed FTBFS on Sparc introduced with the "make -j" trick in 5.0.32-8
- (thanks to Frank Lichtenheld). Closes: #415026
-
- -- Christian Hammers <ch@debian.org> Tue, 15 Mar 2007 18:55:42 +0100
-
-mysql-dfsg-5.0 (5.0.32-8) unstable; urgency=high
-
- [Sean Finney]
- * SECURITY:
- - CVE-2007-1420: Single Row Subselect DoS. Specially crafted subselect
- queries could crash the mysql server. Patch backported from upstream
- changeset 19685 (46_CVE-2007-1420_subselect_dos.dpatch)
- closes: #414790.
- [Christian Hammers]
- * Adapt MAKE_J to use the -j option with the number of available processors.
- (thanks to Raphael Pinson).
- * Updated mysqlreport to latest upstream (and patched --help usage message
- and "return if qcache_size==0").
-
- -- sean finney <seanius@debian.org> Wed, 14 Mar 2007 20:19:08 +0100
-
-mysql-dfsg-5.0 (5.0.32-7) unstable; urgency=low
-
- * Updated French Debconf translation (thanks to Christian Perrier).
- Closes: #411330
- * Updated Danish Debconf translation (thanks to Claus Hindsgaul).
- Closes: #411328
- * Updated Portuguese Debconf translation (thanks to "Traduz").
- Closes: #411339
- * Updated Czech Debconf translation (thanks to Miroslav Kure).
- Closes: #411341
- * Added Norwegian Debconf translation (thanks to Bjorn Steensrud).
- Closes: #411345
- * Updated Spanish Debconf translation (thanks to Javier Fernandez-Sanguino
- Pena). Closes: #411347
- * Updated Japanese Debconf translation (thanks to Hideki Yamane).
- Closes: #411368
- * Updated Swedish Debconf translation (thanks to Andreas Henriksson).
- Closes: #411370
- * Updated Italian Debconf translation (thanks to Luca Monducci).
- Closes: #411377
- * Updated Galician Debconf translation (thanks to Jacobo Tarrio).
- Closes: #411379
- * Updated Russian Debconf translation (thanks to Yuriy Talakan).
- Closes: #411442
- * Updated Basque Debconf translation (thanks to Piarres Beobide).
- Closes: #411457
- * Updated German Debconf translation (thanks to Alwin Meschede).
- Closes: #411480
- * Updated Dutch Debconf translation (thanks to Thijs Kinkhorst).
- * Updated Brazilian Portuguese translation (thanks to Andre Luis Lopes).
- Closes: #411536
- * Updated Romanian Debconf translation (thanks to Stan Ioan-Eugen).
- Closes: #411764
-
- -- Christian Hammers <ch@debian.org> Fri, 16 Feb 2007 23:20:42 +0100
-
-mysql-dfsg-5.0 (5.0.32-6) unstable; urgency=low
-
- * Changed wording in Debconf templates to better fit to the graphical
- interface (thanks to Frank Kuester). Closes: #411165
- * Lintian suggested style changes to some other Debconf questions.
- * Removed accidently stdout output from init script.
-
- -- Christian Hammers <ch@debian.org> Fri, 16 Feb 2007 20:29:18 +0100
-
-mysql-dfsg-5.0 (5.0.32-5) unstable; urgency=medium
-
- * Backported upstream patch for a bug that crashed the server when using
- certain join/group/limit combinations.
- Users of the Joomla CMS seemed to be affected by this. Closes: #403721
- * The debian-start script that runs on every server start now first upgrades
- the system tables (if neccessary) and then check them as it sometimes did
- not work the other way around (e.g. for MediaWiki). The script now uses
- mysql_update instead of mysql_update_script as recommended. Closes: 409780
- * Remove the Debconf generated config file in postrm.
-
- -- Christian Hammers <ch@debian.org> Thu, 15 Feb 2007 04:47:04 +0100
-
-mysql-dfsg-5.0 (5.0.32-4) unstable; urgency=high
-
- [Christian Hammers]
- * Changed minimum required version in dh_makeshlibs to 5.0.27-1 as
- 5.0.26 had an ABI breakage in it!
- This is the cause for Perl programs crashing with the following error:
- "Transactions not supported by database at /usr/lib/perl5/DBI.pm line 672"
- * The old_passwords setting that is set according to a Debconf question is
- now written to /etc/mysql/conf.d/old_passwords.cnf instead directly to the
- conffile /etc/mysql/my.cnf which would be fobidden by policy (thanks to
- Robert Bihlmeyer). Closes: #409750
- * Added some more comments to the default my.cnf.
- [Monty Taylor]
- * Added bison to build dependencies.
- * Added a "start-initial" option to the Data Node init script to support
- initial node starts.
- * Changed NDB Data and Management node startup seqence. Prevented both from
- restarting on upgrade to address rolling upgrade issues.
- * Updated build-depends to depend on automake1.9 instead of automake1.8
- to match what upstream uses.
-
- -- Christian Hammers <ch@debian.org> Wed, 31 Jan 2007 01:14:09 +0100
-
-mysql-dfsg-5.0 (5.0.32-3) unstable; urgency=high
-
- * mysql-server-5.0 pre-depends on adduser now and has --disabled-login
- explicitly added to be on the safe side (thanks to the puiparts team).
- Closes: #408362
- * Corrections the terminology regarding NDB in the comments of all config
- files and init scripts (thanks to Geert Vanderkelen of MySQL).
- * Updated Swedish Debconf translation (thanks to Andreas Henriksson).
- Closes: #407859
- * Updated Czech Debconf translation (thanks to Miroslav Kure).
- Closes: #407809
-
- -- Christian Hammers <ch@debian.org> Thu, 11 Jan 2007 11:18:47 +0100
-
-mysql-dfsg-5.0 (5.0.32-2) unstable; urgency=high
-
- * The last upload suffered from a regression that made NDB totally
- unusable and caused a dependency to libmysqlclient15-dev in the
- mysql-server-5.0 package. The relevant 85_* patch was re-added again.
- Closes: #406435
- * Added lintian-overrides for an error that does not affect our packages.
- There are now only warnings and not errors left.
-
- -- Christian Hammers <ch@debian.org> Tue, 9 Jan 2007 23:55:10 +0100
-
-mysql-dfsg-5.0 (5.0.32-1) unstable; urgency=high
-
- * New upstream version.
- * SECURITY: mysql_fix_privilege_tables.sql altered the
- table_privs.table_priv column to contain too few privileges, causing
- loss of the CREATE VIEW and SHOW VIEW privileges. (MySQL Bug#20589)
- * SECURITY (DoS): ALTER TABLE statements that performed both RENAME TO
- and {ENABLE|DISABLE} KEYS operations caused a server crash. (MySQL
- Bug#24089)
- * SECURITY (DoS): LAST_DAY('0000-00-00') could cause a server crash.
- (MySQL Bug#23653)
- * SECURITY (DoS): Using EXPLAIN caused a server crash for queries that
- selected from INFORMATION_SCHEMA in a subquery in the FROM clause.
- (MySQL Bug#22413)
- * SECURITY (DoS): Invalidating the query cache (e.g. when using stored procedures)
- caused a server crash for INSERT INTO ... SELECT statements that
- selected from a view. (MySQL Bug#20045)
- * Using mysql_upgrade with a password crashed the server. Closes: #406229
- * yaSSL crashed on pre-Pentium Intel and Cyrix CPUs. (MySQL Bug#21765)
- Closes: #383759
- * Lots of small fixes to the NDB cluster storage engine.
- * Updated Japanese Debconf template (thanks to Hideki Yamane).
- Closes: #405793
- * Fixed comment regarding "mycheck" in debian-start (thanks to
- Enrico Zini). Closes: #405787
-
- -- Christian Hammers <ch@debian.org> Sat, 6 Jan 2007 14:26:20 +0100
-
-mysql-dfsg-5.0 (5.0.30-3) unstable; urgency=low
-
- * Updated Brazilian Debconf translation (thanks to Andre Luis Lopes).
- Closes: #403821
- * Added Romanian Debconf translation (thanks to Stan Ioan-Eugen).
- Closes: #403943
- * Updated Spanish Debconf translation (thanks to Javier Fernandez-Sanguino
- Pena). Closes: #404084
- * Updated Galician Debconf translation (thanks to Jacobo Tarrio).
- Closes: #404318
- * Updated Dutch Debconf translation (thanks to Vincent Zweije).
- Closes: #404566
- * Updated Danish Debconf translation (thanks to Claus Hindsgaul).
- Closes: #405018
-
- -- Christian Hammers <ch@debian.org> Thu, 21 Dec 2006 21:35:09 +0100
-
-mysql-dfsg-5.0 (5.0.30-2) unstable; urgency=high
-
- * Fixed upstream regression in header files that lead to FTBFS for
- mysql-admin, mysql-query-browser and probably other pacakges.
- (thanks to Andreas Henriksson). Closes: #403081, #403082
- * Fixed some upstream scripts by replacing /etc by /etc/mysql (thanks to
- Julien Antony). Closes: #401083
- * Updated French Debconf translation (thanks to Christian Perrier).
- Closes: #401434
- * Added Spanish Debconf translation (thanks to Javier Fernandez-Sanguino
- Pena). Closes: #401953
- * Marked a Debconf question that is just a dummy and only internally
- used as not-needing-translation. Closes: #403163
- * Fixed mysqlslowdump patch to not remove the usage() function (thanks
- to Monty Tailor).
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Dec 2006 19:20:10 +0100
-
-mysql-dfsg-5.0 (5.0.30-1) unstable; urgency=low
-
- * New upstream version (switch to the MySQL Enterprise branch).
- * Upstream bugfix for the Innodb performance bug:
- "Very poor performance with multiple queries running
- concurrently (Bug#15815)".
- * Upstream bugfix for a possible server crash:
- "Selecting from a MERGE table could result in a server crash if the
- underlying tables had fewer indexes than the MERGE table itself
- (Bug#22937)"
- * Upstream bugfies for *lot* of NDB problems.
- * Upstream bugfix for Innodb optimizer bug. Closes: #397597
- * Updated Italian Debconf translation (thanks to Luca Monducci).
- Closes: #401305
- * Updated debian/watch file to MySQL Enterprise branch.
-
- -- Christian Hammers <ch@debian.org> Sat, 2 Dec 2006 16:36:38 +0100
-
-mysql-dfsg-5.0 (5.0.27-2) unstable; urgency=medium
-
- * Disabled YaSSL x86 assembler as it was reported to crash applications
- like pam-mysql or proftpd-mysql which are linked against libmysqlclient
- on i486 and Cyrix (i586) CPUs. Closes: #385147
- * Adjusted mysql-server-4.1 priority to extra and section to oldlibs
- according to the ftp masters overrides.
- * Updated German Debconf translation (thanks to Alwin Meschede).
- Closes: #400809
-
- -- Christian Hammers <ch@debian.org> Wed, 22 Nov 2006 13:36:31 +0100
-
-mysql-dfsg-5.0 (5.0.27-1) unstable; urgency=medium
-
- * New upstream version (but no codechange, the only difference to 5.0.26
- was a patch to the ABI change which Debian already included.
- * When dist-upgrading from mysql-server-4.1/sarge dpkg does not longer
- ask unnecessary "config file has changed" questions regarding
- /etc/init.d/mysql, /etc/logrotate.d/mysql-server and
- /etc/mysql/debian-start just because these files previously belonged
- to mysql-server-4.1 and not to mysql-server-5.0.
- To archive this mysql-server-5.0 now pre-depends on mysql-common which
- provides current versions of those files.
- * The automatic run mysql_upgrade now works with non-standard datadir
- settings, too (thanks to Benjami Villoslada). Closes: #394607
- * Debconf now asks if the old_passwords option is really needed.
- * Improved explanations of the old_passwords variable in my.cnf.
- * Removed possibly leftover cron script from MySQL-4.1 (thanks to
- Mario Oyorzabal Salgado). Closes: #390889
- * Postrm ignores failed "userdel mysql".
- * Updated Danish Debconf translation (thanks to Claus Hindsgaul).
- Closes: #398784
- * Added Euskarian Debconf translation (thanks to Piarres Beobide).
- Closes: #399045
- * Updated Japanese Debconf translation (thanks to Hideki Yamane).
- Closes: #399074
- * Updated German Debconf translation (thanks to Alwin Meschede).
- Closes: #399087
- * New Portuguese debconf translations from Miguel Figueiredo.
- Closes: #398186
-
- -- Christian Hammers <ch@debian.org> Tue, 7 Nov 2006 21:26:25 +0100
-
-mysql-dfsg-5.0 (5.0.26-3) unstable; urgency=high
-
- [sean finney]
- * Fix for the deadly ISAM trap. Now during upgrades we will do our
- very best to convert pre-existing ISAM format tables using the
- binaries from the previous package. Success is not guaranteed, but
- this is probably as good as it gets. Note that this also necessitates
- re-introducing an (empty transitional) mysql-server-4.1 package.
- Closes: #354544, #354850
- * Remove a couple spurious and wrongly placed WARNING statements from
- 45_warn-CLI-passwords.dpatch. thanks to Dan Jacobsen for pointing these
- out. Closes: #394262
-
- -- sean finney <seanius@debian.org> Fri, 03 Nov 2006 18:34:46 +0100
-
-mysql-dfsg-5.0 (5.0.26-2) unstable; urgency=high
-
- * Fixed FTBFS for Alpha by applying an upstream patch (thanks to Falk
- Hueffner). Closes: #395921
-
- -- Christian Hammers <ch@debian.org> Sat, 28 Oct 2006 20:13:46 +0200
-
-mysql-dfsg-5.0 (5.0.26-1) unstable; urgency=high
-
- * SECURITY:
- This combined release of 5.0.25 and 5.0.26 fixes lot of possible server
- crashs so it should get into Etch. Quoting the changelog (bug numbers are
- bugs.mysql.com ones):
- - character_set_results can be NULL to signify no conversion, but some
- code did not check for NULL, resulting in a server crash. (Bug#21913)
- - Using cursors with READ COMMITTED isolation level could cause InnoDB to
- crash. (Bug#19834)
- - Some prepared statements caused a server crash when executed a second
- time. (Bug#21166)
- - When DROP DATABASE or SHOW OPEN TABLES was issued while concurrently
- issuing DROP TABLE (or RENAME TABLE, CREATE TABLE LIKE or any other
- statement that required a name lock) in another connection, the server
- crashed. (Bug#21216)
- - Use of zero-length variable names caused a server crash. (Bug#20908)
- - For InnoDB tables, the server could crash when executing NOT IN ()
- subqueries. (Bug#21077)
- - Repeated DROP TABLE statements in a stored procedure could sometimes
- cause the server to crash. (Bug#19399)
- - Performing an INSERT on a view that was defined using a SELECT that
- specified a collation and a column alias caused the server to crash
- (Bug#21086).
- - A query of the form shown here caused the server to crash. (Bug#21007)
- - NDB Cluster: Some queries involving joins on very large NDB tables could
- crash the MySQL server. (Bug#21059)
- - The character set was not being properly initialized for CAST() with a
- type like CHAR(2) BINARY, which resulted in incorrect results or even a
- server crash. (Bug#17903)
- - For certain queries, the server incorrectly resolved a reference to an
- aggregate function and crashed. (Bug#20868)
- - The server crashed when using the range access method to execut a
- subquery with a ORDER BY DESC clause. (Bug#20869)
- - Triggers on tables in the mysql database caused a server crash. Triggers
- for tables in this database now are disallowed. (Bug#18361)
- - Using SELECT on a corrupt MyISAM table using the dynamic record format
- could cause a server crash. (Bug#19835)
- - Use of MIN() or MAX() with GROUP BY on a ucs2 column could cause a
- server crash. (Bug#20076)
- - Selecting from a MERGE table could result in a server crash if the
- underlying tables had fewer indexes than the MERGE table itself.
- (Bug#21617, Bug#22937)
-
- * New upstream release.
- - This bug would cause trouble for Sarge->Etch upgrades, it was supposed to
- have been fixed in 5.0.16 but that apparently did not fix the whole
- problem:
- Using tables from MySQL 4.x in MySQL 5.x, in particular those with VARCHAR
- fields and using INSERT DELAYED to update data in the table would result in
- either data corruption or a server crash. (Bug#16611, Bug#16218, Bug#17294)
- Closes: #386337
- - Fixes data corruption as an automatic client reconnect used to set
- the wrong character set. Closes: #365050
- - Fixes an undefined ulong type in an include file. Closes: #389102
- - Fixes wrong output format when using Unicode characters. Closes: #355302
- - Fixes mysql_upgrade when using a password. Closes: #371841
-
- [Christian Hammers]
- * Removed --sysconfdir from debian/rules as it puts /etc/mysql/ at the
- end of the my.cnf search patch thus overriding $HOME/my.cnf
- (thanks to Christoph Biedl). Closes: #394992
- * The provided patch from bug #385947 was wrong, the variable is called
- BLOCKSIZE not BLOCK_SIZE according to "strings `which df`" (thanks to
- Bruno Muller). Closes: #385947
-
- [sean finney]
- * new dutch debconf translations from Vincent Zweije (closes: #392809).
- * new japanese debconf translations from Hideki Yamane (closes: #391625).
- * new italian debconf translations from Luca Monducci (closes: #391741).
- * new french debconf translations from Christian Perrier (closes: #393334).
- * ran debconf-updatepo to merge the fuzzies into svn.
- * massage the following patches so they continue to apply cleanly:
- - 44_scripts__mysql_config__libs.dpatch to cleanly apply.
- - 45_warn-CLI-passwords.dpatch
- - 96_TEMP__libmysqlclient_ssl_symbols.dpatch (note, this patch might
- no longer be needed, but is retained "just in case" after massaging it)
- * the following patches have been incorporated upstream:
- - 70_kfreebsd.dpatch
- - 80_hurd_mach.dpatch
- - 87_ps_Hurd.dpatch
- - 90_TEMP__client__mysql_upgrade__O_EXEC.dpatch
- - 91_TEMP__client__mysql_upgrade__password.dpatch
- - 92_TEMP__client__mysql_upgrade__defaultgroups.dpatch
- - 94_TEMP__CVE-2006-4227.dpatch
- - 95_TEMP__CVE-2006-4226.dpatch
- * the udf_example.cc has disappeared from the source code, but there's
- a udf_example.c which seems to be a good example to use instead :)
- * update documentation in the configuration to no longer reference
- using my.cnf in the DATADIR, as it's never been the recommended
- method for debian systems and hasn't worked since 5.0 was released
- anyway (closes: #393868).
-
- -- Christian Hammers <ch@debian.org> Wed, 25 Oct 2006 19:54:04 +0200
-
-mysql-dfsg-5.0 (5.0.24a-9) unstable; urgency=medium
-
- * Having expire_logs_days enabled but log-bin not crashes the server. Using
- both or none of those options is safe. To prevent this happening during the
- nightly log rotation via /etc/logrotate.d/mysql the initscript checks for
- malicious combination of options. See: #368547
- * The Sarge package "mysql-server" which used to include the mysqld daemon
- may still be in unselected-configured state (i.e. after a remove but not
- purge) in which case its now obsolete cronscript has to be moved away
- (thanks to Charles Lepple). Closes: #385669
- * Updated Danish Debconf translation (thanks to Claus Hindsgaul).
- Closes: #390315
- * Updated Frensh Debconf translation (thanks to Christian Perrier).
- Closes: #390980
-
- -- Christian Hammers <ch@debian.org> Tue, 3 Oct 2006 14:55:31 +0200
-
-mysql-dfsg-5.0 (5.0.24a-8) unstable; urgency=low
-
- * (broken upload)
-
- -- Christian Hammers <ch@debian.org> Tue, 3 Oct 2006 14:55:31 +0200
-
-mysql-dfsg-5.0 (5.0.24a-7) unstable; urgency=low
-
- * Stopped mysql_config from announcing unnecessary library dependencies
- which until now cause "NEEDED" dependencies in the "readelf -d" output
- of libraries who only depend on libmysqlclient.so (thanks to Michal
- Cihar). Closes: #390692
-
- -- Christian Hammers <ch@debian.org> Sun, 1 Oct 2006 23:59:43 +0200
-
-mysql-dfsg-5.0 (5.0.24a-6) unstable; urgency=low
-
- [sean finney]
- * finally add support for setting a root password at install.
- while this is not a random password as requested in one bug
- report, we believe it is the best solution and provides a
- means to set a random password via preseeding if it's really
- desired (Closes: #316127, #298295).
-
- -- sean finney <seanius@debian.org> Sun, 01 Oct 2006 23:34:30 +0200
-
-mysql-dfsg-5.0 (5.0.24a-5) unstable; urgency=low
-
- * Added ${shlibs:Depends} to debian/control section libmysqlclient-dev as it
- contains the experimental /usr/lib/mysql/libndbclient.so.0.0.0.
- * Bumped standards version to 3.7.2.
- * Added LSB info section to init scripts.
- * Rephrased Debconf templates as suggested by lintian.
- * Added benchmark suite in /usr/share/mysql/sql-bench/.
- * The mysql.timezone* tables are now filled by the postinst script (thanks
- to Mark Sheppard). Closes: #388491
- * Moved Debconf install notes to README.Debian. Displaying them with
- medium priority was a bug anyway. Closes: #388941
- * Replaced /usr/bin/mysql_upgrade by /usr/bin/mysql_upgrade_shell in
- /etc/mysql/debian-start.sh as it works without errors (thanks to Javier
- Kohen). Closes: #389443
-
- -- Christian Hammers <ch@debian.org> Wed, 20 Sep 2006 15:01:42 +0200
-
-mysql-dfsg-5.0 (5.0.24a-4) unstable; urgency=high
-
- * libmysqlclient.so.15 from 5.0.24 accidentaly exports some symbols that are
- historically exported by OpenSSL's libcrypto.so. This bug was supposed to
- be fixed in 5.0.24a bug according to the mysql bug tracking system will
- only be fixed in 5.0.25 so I backported the patch. People already reported
- crashing apps due to this (thanks to Duncan Simpson). See also: #385348
- Closes: #388262
- * Fixed BLOCKSIZE to BLOCK_SIZE in initscript (thanks to Bruno Muller).
- Closes: #385947
- * Added hint to "--extended-insert=0" to mysqldump manpage (thanks to Martin
- Schulze).
- * Documented the meaning of "NDB" in README.Debian (thanks to Dan Jacobson).
- Closes: #386274
- * Added patch to build on hurd-i386 (thanks to Cyril Brulebois). Closes: #387369
- * Fixed debian-start script to work together with the recend LSB modifications in
- the initscript (thanks to wens). Closes: #387481
- * Reverted tmpdir change in my.cnf back to /tmp to comply with FHS (thanks
- to Alessandro Valente). Closes: #382778
- * Added logcheck filter rule (thanks to Paul Wise). Closes: #381043
- * I will definetly not disable InnoDB but added a note to the default my.cnf
- that disabling it saves about 100MB virtual memory (thanks to Olivier
- Berger). Closes: #384399
- * Added thread_cache_size=8 to default my.cnf as this variable seems to have
- a negligible memory footprint but can improve performance when lots of
- threads connect simultaneously as often seen on web servers.
-
- -- Christian Hammers <ch@debian.org> Mon, 4 Sep 2006 00:21:50 +0200
-
-mysql-dfsg-5.0 (5.0.24a-3) unstable; urgency=low
-
- * Fixed potential tempfile problem in the newly added mysqlreport script.
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Sep 2006 23:17:24 +0200
-
-mysql-dfsg-5.0 (5.0.24a-2) unstable; urgency=low
-
- * Added "mysqlreport" (GPL'ed) from hackmysql.com.
- * Temporarily disabled expire_days option as it causes the server
- to crash. See #368547
- * Made output of init scripts LSB compliant (thanks to David Haerdeman).
- Closes: #385874
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Sep 2006 19:06:53 +0200
-
-mysql-dfsg-5.0 (5.0.24a-1) unstable; urgency=high
-
- * New upstream version.
- * The shared library in the 5.0.24 upstream release accidently exported
- some symbols that are also exported by the OpenSSL libraries (notably
- BN_bin2bn) causing unexpected behaviour in applications using these
- functions (thanks to Peter Cernak). Closes: #385348
- * Added note about possible crash on certain i486 clone CPUs.
- * Made recipient address of startup mysqlcheck output configurable
- (thanks to Mattias Guns). Closes: #385119
-
- -- Christian Hammers <ch@debian.org> Mon, 28 Aug 2006 01:22:12 +0200
-
-mysql-dfsg-5.0 (5.0.24-3) unstable; urgency=high
-
- * SECURITY:
- CVE-2006-4226:
- When run on case-sensitive filesystems, MySQL allows remote
- authenticated users to create or access a database when the database
- name differs only in case from a database for which they have
- permissions.
- CVE-2006-4227:
- MySQL evaluates arguments of suid routines in the security context of
- the routine's definer instead of the routine's caller, which allows
- remote authenticated users to gain privileges through a routine that
- has been made available using GRANT EXECUTE.
- Thanks to Stefan Fritsch for reporting. Closes: #384798
-
- -- Christian Hammers <ch@debian.org> Sat, 26 Aug 2006 04:55:17 +0200
-
-mysql-dfsg-5.0 (5.0.24-2) unstable; urgency=high
-
- * 5.0.24-1 introduced an ABI incompatibility, which this patch reverts.
- Programs compiled against 5.0.24-1 are not compatible with any other
- version and needs a rebuild.
- This bug already caused a lot of segfaults and crashes in various
- programs. Thanks to Chad MILLER from MySQL for quickly providing a patch.
- The shlibdeps version has been increased to 5.0.24-2.
- Closes: #384047, #384221, #383700
-
- -- Christian Hammers <ch@debian.org> Fri, 25 Aug 2006 21:47:35 +0200
-
-mysql-dfsg-5.0 (5.0.24-1) unstable; urgency=high
-
- * SECURITY: Upstream fixes a security bug which allows a user to continue
- accessing a table using a MERGE TABLE after the right to direct access to
- the database has been revoked (CVE-2006-4031, MySQL bug #15195).
- (Well they did not exactly fixed it, they documented the behaviour and
- allow the admin to disable merge table alltogether...). Closes: #380271
- * SECURITY: Applied patch that fixes a possibly insecure filehandling
- in the recently added mysql_upgrade binary file (MySQL bug #10320).
- * New upstream version.
- - Fixes nasty MySQL bug #19618 that leads to crashes when using
- "SELECT ... WHERE ... not in (1, -1)" (e.g. vbulletin was affected).
- - Fixes upstream bug #16803 so that linking ~/.mysql_history to /dev/null
- now has the desired effect of having no history.
- * Really fixed the runlevels. Closes: #377651
- * Added patch for broken upstream handling of "host=" to mysql_upgrade.c.
- * Adjusted /etc/mysql/debian-start to new mysql_upgrade.c
-
- -- Christian Hammers <ch@debian.org> Tue, 8 Aug 2006 00:44:13 +0200
-
-mysql-dfsg-5.0 (5.0.22-5) unstable; urgency=low
-
- * Added further line to the logcheck ignore files (thanks to Paul Wise).
- Closes: #381038
-
- -- Christian Hammers <ch@debian.org> Wed, 2 Aug 2006 00:28:50 +0200
-
-mysql-dfsg-5.0 (5.0.22-4) unstable; urgency=low
-
- * Upstream fixes a bug in the (never released) version 5.0.23 which could
- maybe used to crash the server if the mysqlmanager daemon is in use
- which is not yet the default in Debian. (CVE-2006-3486 *DISPUTED*)
- * Changed runlevel priority of mysqld from 20 to 19 so that it gets started
- before apache and proftpd etc. which might depend on an already running
- database server (thanks to Martin Gruner). Closes: #377651
- * Added patch which sets PATH_MAX in ndb (thanks to Cyril Brulebois).
- Closes: #378949
- * Activated YaSSL as licence issues are settled according to:
- http://bugs.mysql.com/?id=16755. This also closes the FTBFS bug
- regarding OpenSSL as it is discouraged to use now. Closes: #368639
- * Removed SSL-MINI-HOWTO as the official documentation is good enough now.
- * mysql_upgrade no longer gives --password on the commandline which would
- be insecure (thanks to Dean Gaudet). Closes: #379199
- * Adjusted debian/patches/45* to make consecutive builds in the same source
- tree possible (thanks to Bob Tanner). Closes: #368661
- * mysql-server-5.0 is now suggesting tinyca as yaSSL is enabled and tinyca
- was found to be really cool :)
- * Moved tempdir from /tmp to /var/tmp as it will more likely have enough
- free space as /tmp is often on the root partition and /var or at least
- /var/tmp is on a bigger one.
-
- -- Christian Hammers <ch@debian.org> Mon, 10 Jul 2006 23:30:26 +0200
-
-mysql-dfsg-5.0 (5.0.22-3) unstable; urgency=low
-
- * Added patch for MySQL bug #19618: "select x from x
- where x not in(1,-1)" may crash the server" (thanks to
- Ruben Puettmann).
-
- -- Christian Hammers <ch@debian.org> Fri, 9 Jun 2006 01:41:44 +0200
-
-mysql-dfsg-5.0 (5.0.22-2) unstable; urgency=high
-
- * Fixed debian-sys-maint related bug in postinst (thanks to
- Jean-Christophe Dubacq). Closes: #369970
- * The last upload was a security patch (which I did not know as I
- uploaded before the announcement came). I now added the CVE id for
- reference and set urgency to high as the last entry did not.
-
- -- Christian Hammers <ch@debian.org> Wed, 31 May 2006 01:04:11 +0200
-
-mysql-dfsg-5.0 (5.0.22-1) unstable; urgency=low
-
- * SECURITY: This upstream release fixes an SQL-injection with multibyte
- encoding problem. (CVE-2006-2753)
- * New upstream release.
- * Upstream fixes REPAIR TABLE problem. Closes: #354300
- * Upstream fixes problem that empty strings in varchar and text columns
- are displayed as NULL. Closes: #368663
-
- -- Christian Hammers <ch@debian.org> Tue, 30 May 2006 23:43:24 +0200
-
-mysql-dfsg-5.0 (5.0.21-4) unstable; urgency=low
-
- * Added "BLOCKSIZE=" to the diskfree check (thanks to Farzad FARID).
- Closes: #367027, #367083
- * Further fixed mysql_upgrade upstream script (thanks to Andreas Pakulat)
- Closes: #366155
- * Adjusted the /proc test in debian/rules from /proc/1 to /proc/self
- to make building on grsec systems possible (thanks to K. Rosenegger).
- Closes: #366824
- * Updated Russion Debconf translation (thanks to Yuriy Talakan).
- Closes: #367141
- * Updated Czech Debconf translation (thanks to Kiroslav Kure).
- Closes: #367160
- * Updated Galician Debconf translation (thanks to Jacobo Tarrio).
- Closes: #367384
- * Updated Swedish Debconf translation (thanks to Daniel Nylander).
- Closes: #368186
-
- -- Christian Hammers <ch@debian.org> Wed, 10 May 2006 08:45:42 +0200
-
-mysql-dfsg-5.0 (5.0.21-3) unstable; urgency=low
-
- * Fixed FTBFS problem which was caused by a patch that modifies Makefile.am
- as well as Makefile.in and was not deteced because my desktop was fast
- enough to patch both files within the same second and so fooled automake.
- (thanks to Blars Blarson for notifying me). Closes: #366534
-
- -- Christian Hammers <ch@debian.org> Sat, 6 May 2006 19:03:58 +0200
-
-mysql-dfsg-5.0 (5.0.21-2) unstable; urgency=low
-
- * Fixed bug in postinst that did not correctly rewrite
- /etc/mysql/debian.cnf (thanks to Daniel Leidert).
- Closes: #365433, #366155
-
- -- Christian Hammers <ch@debian.org> Thu, 4 May 2006 02:37:03 +0200
-
-mysql-dfsg-5.0 (5.0.21-1) unstable; urgency=high
-
- * SECURITY: New upstream release with some security relevant bugfixes:
- * "Buffer over-read in check_connection with usernames lacking a
- trailing null byte" (CVE-2006-1516)
- * "Anonymous Login Handshake - Information Leakage" (CVE-2006-1517)
- * "COM_TABLE_DUMP Information Leakage and Arbitrary command execution"
- (CVE-2006-1518)
- Closes: #365938, #365939
- * Added diskfree check to the init script (thanks to Tim Baverstock).
- Closes: #365460
- * First amd64 upload!
-
- -- Christian Hammers <ch@debian.org> Sat, 29 Apr 2006 04:31:27 +0200
-
-mysql-dfsg-5.0 (5.0.20a-2) unstable; urgency=low
-
- * The new mysql-upgrade which is started from /etc/mysql/debian-start
- does now use the debian-sys-maint user for authentication (thanks to
- Philipp). Closes: #364991
- * Wrote patch debian/patches/43* which adds a password option to
- mysql_update. See MySQL bug #19400.
- * Added "Provides: libmysqlclient-dev" to libmysqlclient15-dev as I saw no
- obvious reasons against it (problems should be documented in
- debian/README.Maintainer!) (thanks to Olaf van der Spek). Closes: #364899
- * Updated Netherlands debconf translation (thanks to Vincent Zweije)
- Closes: #364464
- * Updated French debconf translation (thanks to Christian Perrier)
- Closes: #364401
- * Updated Danish debconf translation (thanks to Claus Hindsgaul)
- Closes: #365135
-
- -- Christian Hammers <ch@debian.org> Wed, 26 Apr 2006 01:14:53 +0200
-
-mysql-dfsg-5.0 (5.0.20a-1) unstable; urgency=low
-
- * New upstream release.
- * Added the new mysql_upgrade script and added it to
- /etc/mysql/debian-start (thanks to Alessandro Polverini).
- The script is currently very noise that is a known bug and will be
- fixed in the next release!
- Closes: #363458
- * No longer creates the "test" database. This actuallay had been tried
- to archive before (at least patches) exists but apparently was not the
- case in the last versions (thanks to Olaf van der Spek). Closes: #362126
- * Reformatted libmysqlclient15off.NEWS.Debian to changelog format
- (thanks to Peter Palfrader). Closes: #363062
-
- -- Christian Hammers <ch@debian.org> Sat, 15 Apr 2006 13:05:22 +0200
-
-mysql-dfsg-5.0 (5.0.20-1) unstable; urgency=high
-
- * Upstream contains a fix for a nasty bug (MySQL#18153) that users
- already experienced and that caused corrupted triggers after
- REPAIR/OPTIMIZE/ALTER TABLE statements.
- (thanks to Jerome Despatis for pointing out)
- * Added patch for the "updates on multiple tables is buggy after
- upgrading from 4.1 to 5.0" problem which MySQL has been committed
- for the upcoming 5.0.21 release. Closes #352704
- * Added Netherlands debconf translation (thanks to Vincent Zweije).
- Closes: #360443
- * Added Galician debconf translation (thanks to Jacobo Tarrio).
- Closes: #361257
-
- -- Christian Hammers <ch@debian.org> Fri, 7 Apr 2006 00:00:43 +0200
-
-mysql-dfsg-5.0 (5.0.19-3) unstable; urgency=high
-
- [ Christian Hammers ]
- * Fixed libmysqlclient15.README.Debian regarding package name changes
- (thanks to Leppo).
- * Moved libheap.a etc. back to /usr/lib/mysql/ as their names are just
- too generic. Closes: #353924
- [ Sean Finney ]
- * updated danish debconf translation, thanks to Claus Hindsgaul
- (closes: #357424).
- [ Adam Conrad ]
- * Send stderr from 'find' in preinst to /dev/null to tidy up chatter.
- * Backport patch for CVE-2006-0903 from the upcoming release to resolve
- a log bypass vulnerability when using non-binary logs (closes: #359701)
-
- -- Adam Conrad <adconrad@0c3.net> Tue, 4 Apr 2006 15:23:18 +1000
-
-mysql-dfsg-5.0 (5.0.19-2) unstable; urgency=medium
-
- * New upstream release.
- * Renamed package libmysqlclient15 to libmysqlclient15off due to
- binary incompatible changes.
- See /usr/share/doc/libmysqlclient15off/README.Debian
- * Updated Czech debconf translation (thanks to Miroslav Kure).
- Closes: #356503
- * Updated French debconf translation (thanks to Christian Perrier).
- Closes: #356332
- * Improved README.Debian (thanks to Olaf van der Spek). Closes: #355702
- * Fixed 5.0.18-8 changelog by saying in which package the NEWS.Debian
- file is (thanks to Ross Boylan). Closes: #355978
-
- -- Christian Hammers <ch@debian.org> Fri, 17 Mar 2006 02:32:19 +0100
-
-mysql-dfsg-5.0 (5.0.19-1) experimental; urgency=medium
-
- * New upstream release.
- * SECURITY: CVE-2006-3081: A bug where str_to_date(1,NULL) lead to a
- server crash has been fixed.
- (this note has been added subsequently for reference)
- * Renamed package libmysqlclient15 to libmysqlclient15off.
- See /usr/share/doc/libmysqlclient15off/NEWS.Debian
- * Updated Czech debconf translation (thanks to Miroslav Kure).
- Closes: #356503
- * Updated French debconf translation (thanks to Christian Perrier).
- Closes: #356332
- * Improved README.Debian (thanks to Olaf van der Spek). Closes: #355702
- * Fixed 5.0.18-8 changelog by saying in which package the NEWS.Debian
- file is (thanks to Ross Boylan). Closes: #355978
-
- -- Christian Hammers <ch@debian.org> Tue, 14 Mar 2006 22:56:13 +0100
-
-mysql-dfsg-5.0 (5.0.18-9) unstable; urgency=medium
-
- [ Christian Hammers ]
- * When using apt-get the check for left-over ISAM tables can abort the
- installation of mysql-server-5.0 but not prevent the mysql-server-4.1
- package from getting removed. The only thing I can do is reflect this
- in the Debconf notice that is shown and suggest to reinstall
- mysql-server-4.1 for converting. See: #354850
- * Suggests removing of /etc/cron.daily/mysql-server in last NEWS message
- (thanks to Mourad De Clerck). Closes: #354111
- * Added versioned symbols for kfreebsd and Hurd, too (thanks to Aurelien
- Jarno and Michael Bank). Closes: #353971
- * Added versioned symbols for kfreebsd, too (thanks to Aurelien Jarno).
- Closes: #353971
- [ Adam Conrad ]
- * Add 39_scripts__mysqld_safe.sh__port_dir.dpatch to ensure that the
- permissions on /var/run/mysqld are always correct, even on a tmpfs.
-
- -- Christian Hammers <ch@debian.org> Mon, 6 Mar 2006 21:42:13 +0100
-
-mysql-dfsg-5.0 (5.0.18-8) unstable; urgency=low
-
- * The rotation of the binary logs is now configured via
- expire-logs-days in /etc/mysql/my.cnf and handled completely
- by the server and no longer in configured in debian-log-rotate.conf
- and handled by a cron job. Thanks to David Johnson.
- See /usr/share/doc/mysql-server-5.0/NEWS.Debian
- * Ran aspell over some files in debian/ and learned a lot :)
- * debian/rules: Added check if versioned symbols are really there.
- * Updated SSL-MINI-HOWTO.
- * Updated copyright (removed the parts regarding the now removed
- BerkeleyDB table handler and mysql-doc package).
- * Relocated a variable in preinst (thanks to Michael Heldebrant).
- Closes: #349258, #352587, #351216
- * Updated Danish debconf translation (thanks to Claus Hindsgaul).
- Closes: #349013
- * Updated Swedish debconf translation (thanks to Daniel Nylander).
- Closes: #349522
- * Updated French debconf translation (thanks to Christian Perrier).
- Closes: #349592
- * Fixed typo in README.Debian (thanks to Vincent Ricard).
- * Prolonged waiting time for mysqld in the init script. Closes: #352070
-
- -- Christian Hammers <ch@debian.org> Mon, 23 Jan 2006 23:13:46 +0100
-
-mysql-dfsg-5.0 (5.0.18-7) unstable; urgency=low
-
- * Made mailx in debian-start.inc.sh optional and changed the dependency on it
- on it to a mere recommendation. Closes: #316297
- * the previous FTBFS patches for GNU/Hurd inadvertently led to configure
- being regenerating, losing a couple trivial things like our versioned
- symbols patch, causing many nasty problems (closes: #348854).
-
- -- sean finney <seanius@debian.org> Fri, 20 Jan 2006 20:59:27 +0100
-
-mysql-dfsg-5.0 (5.0.18-6) unstable; urgency=low
-
- * Added version comment (thanks to Daniel van Eeden).
- * Added two patches to build on GNU/Hurd (thanks to Michael Bank).
- Closes: #348182
- * Abort upgrade if old and now unsupported ISAM tables are present
- (thanks to David Coe). Closes: #345895
-
- -- Christian Hammers <ch@debian.org> Tue, 17 Jan 2006 19:25:59 +0100
-
-mysql-dfsg-5.0 (5.0.18-5) unstable; urgency=low
-
- * Bump shlibdeps for libmysqlclient15 to (>= 5.0.15-1), which was
- the first non-beta release from upstream, as well as being shortly
- after we broke the ABI in Debian by introducing versioned symbols.
-
- -- Adam Conrad <adconrad@0c3.net> Fri, 13 Jan 2006 13:18:03 +1100
-
-mysql-dfsg-5.0 (5.0.18-4) unstable; urgency=low
-
- * Munge our dependencies further to smooth upgrades even more, noting
- that we really need 5.0 to conflict with 4.1, and stealing a page from
- the book of mysql-common, it doesn't hurt to hint package managers in
- the direction of "hey, this stuff is a complete replacement for 4.1"
- * Change the description of mysql-server and mysql-client to remove the
- references to it being "transition", and instead point out that it's
- the way to get the "current best version" of each package installed.
-
- -- Adam Conrad <adconrad@0c3.net> Wed, 11 Jan 2006 11:39:45 +1100
-
-mysql-dfsg-5.0 (5.0.18-3) unstable; urgency=low
-
- * Make the mysql-{client,server}-5.0 conflict against mysql-{client,server}
- versioned, so they can be installed side-by-side and upgrade properly.
- * Add myself to Uploaders; since I have access to the alioth repository.
-
- -- Adam Conrad <adconrad@0c3.net> Tue, 10 Jan 2006 19:15:48 +1100
-
-mysql-dfsg-5.0 (5.0.18-2) unstable; urgency=low
-
- * Removed the transitional package that forced an upgrade from
- mysql-server-4.1 to mysql-server-5.0 as I was convinced that
- having a general "mysql-server" package with adjusted dependencies
- is enough (thanks to Adam Conrad).
- * Updated logcheck.ignore files (thanks to Jamie McCarthy). Closes: #340193
-
- -- Christian Hammers <ch@debian.org> Mon, 9 Jan 2006 21:54:53 +0100
-
-mysql-dfsg-5.0 (5.0.18-1) unstable; urgency=low
-
- * New upstream version.
- * Added empty transitional packages that force an upgrade from the
- server and client packages that have been present in Sarge.
- * Fixed SSL-MINI-HOWTO (thanks to Jonas Smedegaard). Closes: #340589
-
- -- Christian Hammers <ch@debian.org> Mon, 2 Jan 2006 21:17:51 +0100
-
-mysql-dfsg-5.0 (5.0.17-1) unstable; urgency=low
-
- * Never released as Debian package.
-
- -- Christian Hammers <ch@debian.org> Thu, 22 Dec 2005 07:49:52 +0100
-
-mysql-dfsg-5.0 (5.0.16-1) unstable; urgency=low
-
- * New upstream version.
- * Removed the error logs from the logrotate script as Debian does
- not use them anymore. Closes: #339628
-
- -- Christian Hammers <ch@debian.org> Tue, 22 Nov 2005 01:19:11 +0100
-
-mysql-dfsg-5.0 (5.0.15-2) unstable; urgency=medium
-
- * Added 14_configure__gcc-atomic.h.diff to fix FTBFS on m68k
- (thanks to Stephen R Marenka). Closes: #337082
- * Removed dynamic linking against libstdc++ as it was not really
- needed (thanks to Adam Conrad). Closes: #328613
- * Fixed the "/var/lib/mysql is a symlink" workaround that accidently
- left a stalled symlink (thanks to Thomas Lamy). Closes: #336759
- * As the init script cannot distinguish between a broken startup and
- one that just takes very long the "failed" message now says
- "or took more than 6s" (thanks to Olaf van der Spek). Closes: #335547
-
- -- Christian Hammers <ch@debian.org> Thu, 3 Nov 2005 22:00:15 +0100
-
-mysql-dfsg-5.0 (5.0.15-1) unstable; urgency=low
-
- * New upstream version. 5.0 has finally been declared STABLE!
- * Added small patch to debian/rules that fixed sporadic build errors
- where stdout and stderr were piped together, got mixed up and broke
- * Added --with-big-tables to ./configure (thanks to tj.trevelyan).
- Closes: #333090
- * Added capability to parse "-rc" to debian/watch.
- * Fixed cronscript (thanks to Andrew Deason). Closes: #335244
- * Added Swedish debconf translation (thanks to Daniel Nylander).
- Closes: #333670
- * Added comment to README.Debian regarding applications that manually
- set new-style passwords... Closes: #334444
- * Sean Finney:
- - Fix duplicate reference to [-e|--extended-insert]. Closes: #334957
- - Fix default behavior for mysqldumpslow. Closes: #334517
- - Reference documentation issue in mysql manpage. Closes: #335219
-
- -- Christian Hammers <ch@debian.org> Fri, 30 Sep 2005 00:10:39 +0200
-
-mysql-dfsg-5.0 (5.0.13rc-1) unstable; urgency=low
-
- * New upstream release. Now "release-candidate"!
- * Removed any dynamic link dependencies to libndbclient.so.0 which
- is due to its version only distributed as a static library.
- * Sean Finney:
- - FTBFS fix related to stripping rpath in debian/rules
-
- -- Christian Hammers <ch@debian.org> Mon, 26 Sep 2005 22:09:26 +0200
-
-mysql-dfsg-5.0 (5.0.12beta-5) unstable; urgency=low
-
- * The recent FTBFS were probably result of a timing bug in the
- debian/patches/75_*.dpatch file where Makefile.in got patched just
- before the Makefile.shared which it depended on. For that reason
- only some of the autobuilders failed. Closes: #330149
- * Fixed chrpath removal (option -k had to be added).
- * Corrected debconf dependency as requested by Joey Hess.
-
- -- Christian Hammers <ch@debian.org> Mon, 26 Sep 2005 18:37:07 +0200
-
-mysql-dfsg-5.0 (5.0.12beta-4) unstable; urgency=low
-
- * Removed experimental shared library libndbclient.so.0.0.0 as it
- is doomed to cause trouble as long as it is present in both MySQL 4.1
- and 5.0 without real soname and its own package. We still have
- libndbclient.a for developers. (thanks to Adam Conrad and
- mediaforest.net). Closes: #329772
-
- -- Christian Hammers <ch@debian.org> Fri, 23 Sep 2005 12:36:48 +0200
-
-mysql-dfsg-5.0 (5.0.12beta-3) unstable; urgency=medium
-
- * Symbol versioning support! wooooohoooooo!
- (thanks to Steve Langasek) Closes: #236288
- * Moved libndbcclient.so.0 to the -dev package as it is provided by
- libmysqlclient14 and -15 which must be installable simultaneously.
- * Removed mysql-*-doc suggestions.
-
- -- Christian Hammers <ch@debian.org> Tue, 20 Sep 2005 00:07:03 +0200
-
-mysql-dfsg-5.0 (5.0.12beta-2) unstable; urgency=low
-
- * Added patch to build on GNU/kFreeBSD (thanks to Aurelien Jarno).
- Closes: #327702
- * Added patch that was already been present on the 4.1 branch which
- makes the "status" command of the init script more sensible
- (thanks to Stephen Gildea). Closes: #311836
- * Added Vietnamese Debconf translation (thanks to Clytie Siddal).
- Closes: #313006
- * Updated German Debconf translation (thanks to Jens Seidel).
- Closes: #313957
- * Corrected commends in example debian-log-rotate.conf. The default is
- unlike the mysql-sever-4.1 package which needed to stay backwards
- compatible now 2 to avoid filling up the disk endlessly.
- * Fixed watch file to be "-beta" aware.
-
- -- Christian Hammers <ch@debian.org> Thu, 15 Sep 2005 20:50:19 +0200
-
-mysql-dfsg-5.0 (5.0.12beta-1) unstable; urgency=medium
-
- * Christian Hammers:
- - New upstream release.
- - Changed build-dep to libreadline5-dev as requested by Matthias Klose.
- Closes: #326316
- - Applied fix for changed output format of SHOW MASTER LOGS for
- binary log rotation (thanks to Martin Krueger). Closes: #326427, #326427
- - Removed explicit setting of $PATH as I saw no sense in it and
- it introduced a bug (thanks to Quim Calpe). Closes: #326769
- - Removed PID file creation from /etc/init.d/mysql-ndb as it does
- not work with this daemon (thanks to Quim Calpe).
- - Updated French Debconf translation (thanks to Christian Perrier).
- Closes: #324805
- - Moved conflicts line in debian/control from libmysqlclient15 to
- libmysqlclient15-dev and removed some pre-sarge conflicts as
- suggested by Adam Majer. Closes: #324623
- * Sean Finney:
- - For posterity, CAN-2005-2558 has been fixed since 5.0.7beta.
-
- -- Christian Hammers <ch@debian.org> Thu, 15 Sep 2005 19:58:22 +0200
-
-mysql-dfsg-5.0 (5.0.11beta-3) unstable; urgency=low
-
- * Temporarily build only with -O2 to circumvent gcc internal errors
- (thanks to Matthias Klose). Related to: #321165
-
- -- Christian Hammers <ch@debian.org> Thu, 18 Aug 2005 15:44:04 +0200
-
-mysql-dfsg-5.0 (5.0.11beta-2) unstable; urgency=low
-
- * Fixed README.Debian regarding the status of mysql-doc.
- * Added "set +e" around chgrp in mysql-server-5.0.preinst to
- not fail on .journal files (thanks to Christophe Nowicki).
- Closes: #318435
-
- -- Christian Hammers <ch@debian.org> Sun, 14 Aug 2005 18:02:08 +0200
-
-mysql-dfsg-5.0 (5.0.11beta-1) unstable; urgency=low
-
- * New upstream version.
- * Added Danish Debconf translations (thanks to Claus Hindsgaul).
- Closes: #322384
- * Updated Czech Debconf translations (thanks to Miroslav Kure).
- Closes: #321765
-
- -- Christian Hammers <ch@debian.org> Sat, 13 Aug 2005 11:56:15 +0000
-
-mysql-dfsg-5.0 (5.0.10beta-1) unstable; urgency=low
-
- * New upstream release.
- * Christian Hammers:
- - Added check for mounted /proc to debian/rules.
- * Sean Finney:
- - fix for fix_mysql_privilege_tables/mysql_fix_privilege_tables typo
- in mysql-server-5.0's README.Debian (see #319838).
-
- -- Christian Hammers <ch@debian.org> Sun, 31 Jul 2005 00:30:45 +0200
-
-mysql-dfsg-5.0 (5.0.7beta-1) unstable; urgency=low
-
- * Second try for new upstream release.
- * Renamed mysql-common-5.0 to mysql-common as future libmysqlclient16
- from e.g. MySQL-5.1 would else introduce mysql-common-5.1 which makes
- a simultanous installation of libmysqlclient14 impossible as that
- depends on either mysql-common or mysql-common-5.0 but not on future
- versions. Thus we decided to always let the newest MySQL version
- provide mysql-common.
- * Added ${misc:Depends} as suggested by debhelper manpage.
- * Raised standard in control file to 3.6.2.
- * Removed DH_COMPAT from rules in faviour of debian/compat.
- * Checkes for presence of init script before executing it in preinst.
- Referres: 315959
- * Added 60_includes_mysys.h__gcc40.dpatch for GCC-4.0 compatibility.
-
- -- Christian Hammers <ch@debian.org> Wed, 29 Jun 2005 00:39:05 +0200
-
-mysql-dfsg-5.0 (5.0.5beta-1) unstable; urgency=low
-
- * New major release! Still beta so be carefull...
- * Added federated storage engine.
-
- -- Christian Hammers <ch@debian.org> Wed, 8 Jun 2005 19:29:45 +0200
-
-mysql-dfsg-4.1 (4.1.12-1) unstable; urgency=low
-
- * Christian Hammers:
- - New upstream release.
- - Disabled BerkeleyDB finally. It has been obsoleted by InnoDB.
- * Sean Finney:
- - Updated French translation from Christian Perrier (Closes: #310526).
- - Updated Japanese translation from Hideki Yamane (Closes: #310263).
- - Updated Russian translation from Yuriy Talakan (Closes: #310197).
-
- -- Christian Hammers <ch@debian.org> Sat, 4 Jun 2005 05:49:11 +0200
-
-mysql-dfsg-4.1 (4.1.11a-4) unstable; urgency=high
-
- * Fixed FTBFS problem which was caused due to the fact that last uploads
- BerkeleyDB patch was tried to applied on all architectures and not only
- on those where BerkeleyDB is actually beeing built. Closes: #310296
-
- -- Christian Hammers <ch@debian.org> Mon, 23 May 2005 00:54:51 +0200
-
-mysql-dfsg-4.1 (4.1.11a-3) unstable; urgency=high
-
- * Added patch from Piotr Roszatycki to compile the bundled db3 library
- that is needed for the BerkeleyDB support with versioned symbols so
- that mysqld no longer crashes when it gets linked together with the
- Debian db3 version which happens when e.g. using libnss-db.
- Closes: #308966
-
- -- Christian Hammers <ch@debian.org> Thu, 19 May 2005 01:41:14 +0200
-
-mysql-dfsg-4.1 (4.1.11a-2) unstable; urgency=high
-
- * Okay, the hackery with /var/lib/dpkg/info/mysql-server.list will not
- stand and is removed from the preinst of mysql-server.
- * New workaround for the symlink problem that does not involve mucking
- with dpkg's file lists is storing the symlinks in a temporary location
- across upgrades.
- As this sometimes fails since apt-get does not always call new.preinst
- before old.postrm, some remarks were added to README.Debian and the
- Debconf installation notes to minimize the inconvinience this causes.
-
- -- sean finney <seanius@debian.org> Sun, 15 May 2005 10:25:31 -0400
-
-mysql-dfsg-4.1 (4.1.11a-1) unstable; urgency=high
-
- * Added the "a" to the version number to be able to upload a new
- .orig.tar.gz file which now has the non-free Docs/ directory removed
- as this has been forgotten in the 4.1.11 release (thanks to Goeran
- Weinholt). Closes: #308691
- * The Woody package listed /var/lib/mysql and /var/log/mysql in its
- /var/lib/dpkg/info/mysql-server.list. These directories are often
- replaced by symlinks to data partitions which triggers a dpkg bug
- that causes these symlinks to be removed on upgrades. The new preinst
- prevents this by removing the two lines from the .list file
- (thanks to Andreas Barth and Jamin W. Collins). See dpkg bug #287978.
- * Updated French Debconf translation (thanks to Christian Perrier).
- Closes: #308353
-
- -- Christian Hammers <ch@debian.org> Thu, 12 May 2005 21:52:46 +0200
-
-mysql-dfsg-4.1 (4.1.11-3) unstable; urgency=high
-
- * The "do you want to remove /var/lib/mysql when purging the package" flag
- from old versions is removed once this package is beeing installed so
- that purging an old Woody mysql-server package while having a
- mysql-server-4.1 package installed can no longer lead to the removal of
- all databases. Additionaly clarified the wording of this versions Debconf
- template and added a check that skips this purge in the postrm script
- if another mysql-server* package has /usr/sbin/mysqld installed.
- (thanks to Adrian Bunk for spotting that problem) Closes: #307473
- * Cronfile was not beeing installed as the filename was not in the
- correct format for "dh_installcron --name" (thanks to Tomislav
- Gountchev). Closes: #302712
-
- -- Christian Hammers <ch@debian.org> Sat, 23 Apr 2005 22:55:15 +0200
-
-mysql-dfsg-4.1 (4.1.11-2) unstable; urgency=low
-
- * Sean Finney:
- - don't freak out if we can't remove /etc/mysql during purge.
- - debian/rules clean works again.
- * Christian Hammers:
- - Fixed typo in README.Debian (thanks to Joerg Rieger). Closes: #304897
- - Completely removed the passwordless test user as it was not only
- insecure but also lead to irritations as MySQL checks first the
- permissions of this user and then those of a password having one.
- See bug report from Hilko Bengen for details. Closes: #301741
-
- -- Christian Hammers <ch@debian.org> Sat, 16 Apr 2005 15:55:00 +0200
-
-mysql-dfsg-4.1 (4.1.11-1) unstable; urgency=low
-
- * New upstream version.
- * Upstream fix for charset/collation problem. Closes: #282256
- * Upstream fix for subselect crash. Closes: #297687
- * Corrected minor issue in Debconf template regarding skip-networking
- (thanks to Isaac Clerencia). Closes: #303417
- * Made dependency to gawk unnecessary (thanks to Zoran Dzelajlija).
- Closes: #302284
- * Removed obsolete 50_innodb_mixlen.dpatch.
- * Removed obsolete 51_CAN-2004-0957_db_grant_underscore.dpatch.
-
- -- Christian Hammers <ch@debian.org> Fri, 8 Apr 2005 00:23:53 +0200
-
-mysql-dfsg-4.1 (4.1.10a-7) unstable; urgency=low
-
- * Sean Finney:
- - fix for the mysteriously disappeared cronjob. thanks to
- Peter Palfrader <weasel@debian.org> for pointing out this omission.
- (closes: #302712).
-
- -- sean finney <seanius@debian.org> Sat, 02 Apr 2005 16:54:13 -0500
-
-mysql-dfsg-4.1 (4.1.10a-6) unstable; urgency=high
-
- * Sean Finney:
- - the previous upload did not completely address the issue. this one
- should do so. d'oh.
-
- -- sean finney <seanius@debian.org> Thu, 31 Mar 2005 03:35:50 +0000
-
-mysql-dfsg-4.1 (4.1.10a-5) unstable; urgency=high
-
- * Sean Finney:
- - the following security issue is addressed in this upload:
- CAN-2004-0957 (grant privilege escalation on tables with underscores)
- thanks to sergei at mysql for all his help with this.
-
- -- sean finney <seanius@debian.org> Wed, 30 Mar 2005 21:19:26 -0500
-
-mysql-dfsg-4.1 (4.1.10a-4) unstable; urgency=low
-
- * Sean Finney:
- - FTBFS fix for amd64/gcc-4.0. Thanks to Andreas Jochens <aj@andaco.de>
- for reporting this (closes: #301807).
- - ANSI-compatible quoting fix in daily cron job. thanks to
- Karl Hammar <karl@aspodata.se> for pointing out the problem in
- the 4.0 branch.
- - Added myself as a co-maintainer in the control file (closes: #295312).
-
- -- sean finney <seanius@debian.org> Tue, 29 Mar 2005 18:54:42 -0500
-
-mysql-dfsg-4.1 (4.1.10a-3) unstable; urgency=low
-
- * BerkeleyDB is now disabled by default as its use is discouraged by MySQL.
- * Added embedded server libraries as they finally do compile.
- They are currently in libmysqlclient-dev as they are still
- experimental and only available as .a library (thanks to Keith Packard).
- Closes: #297062
- * Fixed obsolete "tail" syntax (thanks to Sven Mueller). Closes: #301413
- * Added CAN numbers for the latest security bugfix upload.
- * Updated manpage of mysqlmanager (thanks to Justin Pryzby). Closes: #299844
- * Added comments to default configuration.
-
- -- Christian Hammers <ch@debian.org> Sun, 20 Mar 2005 17:40:18 +0100
-
-mysql-dfsg-4.1 (4.1.10a-2) unstable; urgency=low
-
- * Disabled "--with-mysqld-ldflags=-all-static" as it causes sig11 crashes
- if LDAP is used for groups in /etc/nsswitch.conf. Confirmed by Sean Finney
- and Daniel Dehennin. Closes: #299382
-
- -- Christian Hammers <ch@debian.org> Mon, 14 Mar 2005 03:01:03 +0100
-
-mysql-dfsg-4.1 (4.1.10a-1) unstable; urgency=high
-
- * SECURITY:
- - The following security related updates are addressed:
- CAN-2005-0711 (temporary file creation with "CREATE TEMPORARY TABLE")
- CAN-2005-0709 (arbitrary library injection in udf_init())
- CAN-2005-0710 (arbitrary code execution via "CREATE FUNCTION")
- Closes: #299029, #299031, #299065
- * New Upstream Release.
- - Fixes some server crash conditions.
- - Upstream includes fix for TMPDIR overriding my.cnf tmpdir setting
- Closes: #294347
- - Fixes InnoDB error message. Closes: #298875
- - Fixes resouce limiting. Closes: #285044
- * Improved checking whether or not the server is alive in the init script
- which should make it possible to run several mysqld instances in
- different chroot environments. Closes: #297772
- * Fixed cron script name as dots are not allowed (thanks to Michel
- v/d Ven). Closes: #298447
- * Added -O3 and --with-mysqld-ldflags=-all-static as MySQL recommends to
- build the server binary statically in order to gain about 13% more
- performance (thanks to Marcin Kowalski).
- * Added patch to let mysqld_safe react to signals (thanks to Erich
- Schubert). Closes: #208364
- * (Thanks to Sean Finney for doing a great share of work for this release!)
-
- -- Christian Hammers <ch@debian.org> Thu, 3 Mar 2005 02:36:39 +0100
-
-mysql-dfsg-4.1 (4.1.10-4) unstable; urgency=medium
-
- * Fixed bug that prevented MySQL from starting after upgrades.
- Closes: #297198, #296403
- * Added comment about logging to syslog to the default my.cnf
- and the logrotate script (thanks to Ryszard Lach). Closes: #295507
-
- -- Christian Hammers <ch@debian.org> Thu, 3 Mar 2005 00:28:02 +0100
-
-mysql-dfsg-4.1 (4.1.10-3) unstable; urgency=low
-
- * Sean Finney: Cronjobs now exit silently when the server package
- has been removed but not purged (thanks to Vineet Kumar).
- Closes: #297404
- * Fixed comments of /etc/mysql/debian-log-rotate.conf (thanks to
- Philip Ross). Closes: #297467
- * Made mysqld_safe reacting sane on signals (thanks to Erich Schubert).
- Closes: #208364
-
- -- Christian Hammers <ch@debian.org> Tue, 1 Mar 2005 19:44:34 +0100
-
-mysql-dfsg-4.1 (4.1.10-2) unstable; urgency=low
-
- * Converted to dpatch.
- * debian/ is now maintained via Subversion on svn.debian.org.
-
- -- Christian Hammers <ch@debian.org> Tue, 1 Mar 2005 02:16:36 +0100
-
-mysql-dfsg-4.1 (4.1.10-1) unstable; urgency=low
-
- * New upstream version.
- * Upstream fixed memleak bug. Closes: #205587
- * Added debian/copyright.more for personal reference.
- * Lowered default query cache size as suggested by Arjen from MySQL.
- * Switched from log to log-bin as suggested by Arjen from MySQL.
- * Fixed typo in my.cnf (thanks to Sebastian Feltel). Closes: #295247
- * Replaced --defaults-extra-file by --defaults-file in Debian scripts
- as former lets password/host etc be overwriteable by /root/.my.cnf.
- Added socket to /etc/mysql/debian.cnf to let it work. (thanks to
- SATOH Fumiyasu). Closes: #295170
-
- -- Christian Hammers <ch@debian.org> Tue, 15 Feb 2005 23:47:02 +0100
-
-mysql-dfsg-4.1 (4.1.9-4) unstable; urgency=low
-
- * Improved the way mysqld is started and registered with update-rc.d
- in cases where the admin modifies the runlevel configuration.
- Most notably removed the debconf question whether or not mysql should
- start on when booting. Closes: #274264
- * Renamed configuration option old-passwords to the more preferred
- naming convention old_passwords. Same for some others (thanks to
- Patrice Pawlak). Closes: #293983
-
- -- Christian Hammers <ch@debian.org> Tue, 8 Feb 2005 02:21:18 +0100
-
-mysql-dfsg-4.1 (4.1.9-3) unstable; urgency=low
-
- * Renamed ca_ES.po to ca.po to reach a broader audience (thanks to
- Christian Perrier). Closes: #293786
- * Expicitly disabled mysqlfs support as it has never been enabled by
- configure during the autodetection but fails due to broken upstream
- code when users try to build the package theirselves while having
- liborbit-dev installed which triggers the mysqlfs autodetection
- (thanks to Max Kellermann). Closes: #293431
- * Added dependencies to gawk as one script does not work with original-awk
- (thanks to Petr Ferschmann). Closes: #291634
-
- -- Christian Hammers <ch@debian.org> Sun, 6 Feb 2005 23:33:11 +0100
-
-mysql-dfsg-4.1 (4.1.9-2) unstable; urgency=high
-
- * SECURITY:
- For historical reasons /usr/share/mysql/ was owned and writable by
- the user "mysql". This is a security problem as some scripts that
- are run by root are in this directory and could be modified and used
- by a malicious user who already has mysql privileges to gain full root
- rights (thanks to Matt Brubeck). Closes: #293345
- * Changed "skip-networking" to "bind-address 127.0.0.1" which is more
- compatible and not less secure but maybe even more, as less people enable
- networking for all interfaces (thanks to Arjen Lentz).
- * Enabled InnoDB by default as recommended by Arjen Lentz from MySQL.
- * Added remarks about hosts.allow to README.Debian (thanks to David
- Chappell). Closes: #291300
- * mysql-server-4.1 now provides mysql-server (thanks to Paul van den Berg).
- Closes: #287735
-
- -- Christian Hammers <ch@debian.org> Wed, 2 Feb 2005 23:31:55 +0100
-
-mysql-dfsg-4.1 (4.1.9-1) unstable; urgency=low
-
- * New upstream version.
- * mysql-client-4.1 now provides "mysql-client" so that packages depending
- on mysql-client (ca. 40) can now be used with MySQL-4.1, too.
-
- -- Christian Hammers <ch@debian.org> Sun, 23 Jan 2005 22:52:48 +0100
-
-mysql-dfsg-4.1 (4.1.8a-6) unstable; urgency=high
-
- * SECURITY:
- Javier Fernandez-Sanguino Pena from the Debian Security Audit Project
- discovered a temporary file vulnerability in the mysqlaccess script of
- MySQL that could allow an unprivileged user to let root overwrite
- arbitrary files via a symlink attack and could also could unveil the
- contents of a temporary file which might contain sensitive information.
- (CAN-2005-0004, http://lists.mysql.com/internals/20600) Closes: #291122
-
- -- Christian Hammers <ch@debian.org> Tue, 18 Jan 2005 23:11:48 +0100
-
-mysql-dfsg-4.1 (4.1.8a-5) unstable; urgency=medium
-
- * Fixed important upstream bug that causes from_unixtime(0) to return
- NULL instead of "1970-01-01 00:00:00" which fails on NOT NULL columns.
- Closes: #287792
- * Fixes upstream bug in mysql_list_fields() . Closes: #282486
- * Fixes bug that lead to double rotated logfiles when mysql-server 4.0
- was previously installed (thanks to Olaf van der Spek). Closes: #289851
- * Fixed typo in README.Debian (thanks to Mark Nipper). Closes: #289131
- * Changed max_allowed_packet in my.cnf to 16M as in 4.0.x (thanks to
- Olaf van der Spek). Closes: #289840
- * Updated French debconf translation (thanks to Christian Perrier).
- Closes: #287955
-
- -- Christian Hammers <ch@debian.org> Thu, 13 Jan 2005 01:29:05 +0100
-
-mysql-dfsg-4.1 (4.1.8a-4) unstable; urgency=low
-
- * Broken patch again :-(
-
- -- Christian Hammers <ch@debian.org> Sun, 9 Jan 2005 23:47:55 +0100
-
-mysql-dfsg-4.1 (4.1.8a-3) unstable; urgency=low
-
- * The mutex patch was a bit too x86 centric. This broke the alpha build.
-
- -- Christian Hammers <ch@debian.org> Sun, 9 Jan 2005 14:18:49 +0100
-
-mysql-dfsg-4.1 (4.1.8a-2) unstable; urgency=medium
-
- * Some Makefiles that were patched by me got overwritten by the GNU
- autotools, probably because I also patched ./configure. Fixed now,
- the critical mutex patch is now back in again. Closes: #286961
- * Added patch to make MySQL compile on ARM (thanks to Adam Majer).
- Closes: #285071
-
- -- Christian Hammers <ch@debian.org> Thu, 6 Jan 2005 09:30:13 +0100
-
-mysql-dfsg-4.1 (4.1.8a-1) unstable; urgency=medium
-
- * Upstream 4.1.8 had some problems in their GNU Autotools files so they
- released 4.1.8a. Debian's 4.1.8 was fixed by running autoreconf but this
- again overwrote MySQL changes to ltmain.sh which are supposed to fix some
- problems on uncommon architectures (maybe the FTBFS on alpha, arm, m68k
- and sparc?).
- * libmysqlclient_r.so.14 from 4.1.8-3 also missed a link dependency to
- libz which lead to unresolved symbols visible with "ldd -r" (thanks
- to Laurent Bonnaud). Closes: #287573
-
- -- Christian Hammers <ch@debian.org> Wed, 29 Dec 2004 14:26:33 +0100
-
-mysql-dfsg-4.1 (4.1.8-3) unstable; urgency=low
-
- * Fixed checking for error messages by forcing english language
- output by adding LC_ALL=C to debian-start (thanks to Rene
- Konasz) Closes: #285709
- * Fixed bashisms in Debian scripts. Closes: #286863
- * Updated Japanese Debconf translation (thanks to Hideki Yamane).
- Closes: #287003
- * Improved 4.0 to 4.1 upgrade if /var/lib/mysql is a symlink
- (thanks to Thomas Lamy). Closes: #286560
- * Added patch for FTBFS problem where no LinuxThreads can be found.
- I don't know if this still applies but it should not hurt.
- The patch is debian/patches/configure__AMD64-LinuxThreads-vs-NPTL.diff
-
- -- Christian Hammers <ch@debian.org> Sun, 26 Dec 2004 14:04:20 +0100
-
-mysql-dfsg-4.1 (4.1.8-2) unstable; urgency=low
-
- * If /var/lib/mysql is a symlink then it is kept as such.
- * Added the old-passwords option to the default my.cnf to stay
- compatible to clients that are still compiled to libmysqlclient10
- and libmysqlclient12 for licence reasons.
- * Adjusted tetex build-deps to ease backporting (thanks to Norbert
- Tretkowski from backports.org).
-
- -- Christian Hammers <ch@debian.org> Tue, 21 Dec 2004 01:00:27 +0100
-
-mysql-dfsg-4.1 (4.1.8-1) unstable; urgency=medium
-
- * New upstream version. Closes: #286175
- * Added conflict to libmysqlclient-dev (thanks to Adam Majer).
- Closes: #286538
- * Added debconf-updatepo to debian/rules:clean.
- * Updated Japanese Debconf translation (thanks to Hideki Yamane).
- Closes: #285107
- * Updated French Debconf translation (thanks to Christian Perrier).
- Closes: #285977
- * Renamed cz.po to cs.po (thanks to Miroslav Kure). Closes: #285438
- * Aplied patch for changed server notice to debian-start (thanks to
- Adam Majer). Closes: #286035
- * Changed nice value in default my.cnf as nohup changed its behaviour
- (thanks to Dariush Pietrzak). Closes: #285446
- * Increased verbosity of preinst script in cases where it cannot stop
- a running server (thanks to Jan Minar). Closes: #285982
- * Splitted the code parts of /etc/mysql/debian-start to
- /usr/share/mysql/debian-start.inc.sh (thanks to Jan Minar).
- Closes: #285988
-
- -- Christian Hammers <ch@debian.org> Mon, 20 Dec 2004 00:33:21 +0100
-
-mysql-dfsg-4.1 (4.1.7-4) unstable; urgency=medium
-
- * Removed OpenSSL support.
- After a short discussion with MySQL, I decided to drop OpenSSL support as
- 1. MySQL started shipping their binaries without it, too and do not
- seem to support it in favour of using a different library somewhen.
- 2. MySQL did not adjust their licence to grant permission to link
- against OpenSSL.
- 3. Even if they did, third parties who use libmysqlclient.so often
- do not realise licencing problems or even do not want OpenSSL.
- (thanks to Jordi Mallach and the responders to MySQL bug #6924)
- Closes: #283786
- * debian/control: Improved depends and conflicts to mysql-4.0.
-
- -- Christian Hammers <ch@debian.org> Thu, 2 Dec 2004 22:02:28 +0100
-
-mysql-dfsg-4.1 (4.1.7-3) unstable; urgency=low
-
- * Raised version to make it higher as the one in experimental.
-
- -- Christian Hammers <ch@debian.org> Wed, 1 Dec 2004 21:09:20 +0100
-
-mysql-dfsg-4.1 (4.1.7-2) unstable; urgency=low
-
- * Patched scripts/mysql_install_db so that it no longer creates a
- passwordless test database during installation (thanks to Patrick
- Schnorbus). Closes: #281158
- * Added Czech debconf translation (thanks to Miroslav Kure).
- Closes: #283222
-
- -- Christian Hammers <ch@debian.org> Wed, 1 Dec 2004 01:29:31 +0100
-
-mysql-dfsg-4.1 (4.1.7-1) unstable; urgency=low
-
- * New upstream branch!
- * Adjusted debian/control to make this package suitable to get parallel
- to version 4.0.x into unstable and sarge. The package names are
- different so that "mysql-server" still defaults to the rock-stable
- 4.0 instead to this announced-to-be-stable 4.1.
- * Added --with-mutex=i86/gcc-assemler to the Berkeley-DB configure
- to prevent the use of NPLT threads when compiling under kernel 2.6
- because the binaries are else not runable on kernel 2.4 hosts.
- Closes: #278638, #274598
-
- -- Christian Hammers <ch@debian.org> Sun, 31 Oct 2004 20:15:03 +0100
-
-mysql-dfsg (4.1.6-1) experimental; urgency=low
-
- * New upstream version.
- * Fixed symlinks in libmysqlclient-dev package. Closes: #277028
- * This time I did not update the libtool files as they were pretty
- up to date and I want to have a shorter diff file.
-
- -- Christian Hammers <ch@debian.org> Wed, 20 Oct 2004 00:07:58 +0200
-
-mysql-dfsg (4.1.5-3) experimental; urgency=low
-
- * debian/postinst: mysql_install_db changed parameter from --IN-RPM
- to --rpm which caused problems during installs. Closes: #276320
-
- -- Christian Hammers <ch@debian.org> Sat, 16 Oct 2004 20:36:46 +0200
-
-mysql-dfsg (4.1.5-2) experimental; urgency=low
-
- * Activated support for ndb clustering (thanks to Kevin M. Rosenberg).
- Closes: #275109
-
- -- Christian Hammers <ch@debian.org> Wed, 6 Oct 2004 01:58:00 +0200
-
-mysql-dfsg (4.1.5-1) experimental; urgency=low
-
- * WARNING:
- The upstream branch 4.1 is still considered BETA.
- The Debian packages for 4.1 were done without big testing. If you miss
- a new functionality or binary, contact me and I check add the relevant
- configure option or include the program.
- * New MAJOR upstream version.
- Thanks to the great demand here's now the first MySQL 4.1 experimental
- release. FEEDBACK IS WELCOME.
- * 4.0->4.1 notes:
- - debian/patches/alpha.diff could not be applied, I fix that later
- - debian/patches/scripts__mysql_install_db.sh.diff was obsolete
- - debian/patches/scripts__Makefile.in was neccessary due to a dependency
- to the removed non-free Docs/ directory. Upstream has been contacted.
- - Build-Deps: += automake1.7
- - debian/rules: embedded servers examples did not compile, removed
-
- -- Christian Hammers <ch@debian.org> Sun, 26 Sep 2004 19:46:47 +0200
-
-mysql-dfsg (4.0.21-3) unstable; urgency=low
-
- * Upstream tried to fix a security bug in mysqlhotcopy and broke it :-)
- Applied a patch (see debian/patches) from Martin Pitt. Closes: #271632
- * Between 4.0.20 and 4.0.21 the Debian specific changes in
- /usr/bin/mysqld_safe that piped the error log to syslog got lost
- and are now back again.
- * Fixed capitalization in debconf headings.
- * Changed wording of the initscript status message to make heartbeat
- happier. Closes: #271591
-
- -- Christian Hammers <ch@debian.org> Fri, 17 Sep 2004 18:42:25 +0200
-
-mysql-dfsg (4.0.21-2) unstable; urgency=medium
-
- * The dependencies between mysql-client and libmysqlclient12 were
- too loose, when upgrading only the client this can lead to non working
- binaries due to relocation errors (thanks to Dominic Cleal).
- Closes: #271803
- * Fixed typo in mysqldump.1 manpage (thanks to Nicolas Francois).
- Closes: #271334
-
- -- Christian Hammers <ch@debian.org> Wed, 15 Sep 2004 15:38:11 +0200
-
-mysql-dfsg (4.0.21-1) unstable; urgency=high
-
- * SECURITY:
- This upstream version fixes some security problems that might at least
- allow a DoS attack on the server.
- * Fixed an old bug in concurrent accesses to `MERGE' tables (even
- one `MERGE' table and `MyISAM' tables), that could've resulted in
- a crash or hang of the server. (Bug #2408)
- * Fixed bug in privilege checking where, under some conditions, one
- was able to grant privileges on the database, he has no privileges
- on. (Bug #3933)
- * Fixed crash in `MATCH ... AGAINST()' on a phrase search operator
- with a missing closing double quote. (Bug #3870)
- * Fixed potential memory overrun in `mysql_real_connect()' (which
- required a compromised DNS server and certain operating systems).
- (Bug #4017)
- * New upstream version.
- * Fixes bug that made x="foo" in WHERE sometimes the same as x="foo ".
- Closes: #211618
- * Updated Japanese Debconf translation (thanks to Hideki Yamane).
- Closes: #271097
-
- -- Christian Hammers <ch@debian.org> Sat, 11 Sep 2004 23:15:44 +0200
-
-mysql-dfsg (4.0.20-14) unstable; urgency=low
-
- * Dave Rolsky spottet that -DBIG_JOINS was not properly enabled.
- It allowes joining 64 instead of an 32 tables to join.
-
- -- Christian Hammers <ch@debian.org> Thu, 9 Sep 2004 20:24:02 +0200
-
-mysql-dfsg (4.0.20-13) unstable; urgency=medium
-
- * Fixed a bug in the initscript which caused the check for not properly
- closed i.e. corrupt tables that is executed when the server starts
- not to run in background as supposed.
- Although the check does not repair anything on servers with several
- thousand tables the script was reported to take some minutes which
- is quite annoying. (Thanks to Jakob Goldbach). Closes: #270800
-
- -- Christian Hammers <ch@debian.org> Thu, 9 Sep 2004 17:11:05 +0200
-
-mysql-dfsg (4.0.20-12) unstable; urgency=medium
-
- * Filter messages regarding table handles that do not support CHECK TABLE
- in the script that checks for corrupted tables on every start which lead
- to unnecessary mails (thanks to David Everly). Closes: #269811
- * Added a note to the corrupt-table-check mail which notes that a
- false-positive is reported in the case that immediately after starting
- the server a client starts using a table (thanks to Uwe Kappe).
- Closes: #269985
- * Added "quote-names" as default to the [mysqldump] section in
- /etc/mysql/my.cnf as too many users stumble over dump files that
- could not be read in again due to the valid use of reserved words
- as table names. This has also be done by upstream in 4.1.1 and has
- no known drawbacks. Closes: #269865
- * Binary logs can now be rotated as well. Defaults to off, though, for
- compatibilty reasons (thanks to Mark Ferlatte). Closes: #94230, #269110
- * The mysql user "debian-sys-maint" now gets all possible rights which
- makes binary logging possible and helps other package maintainer who
- wants to use it to create package specific databases and users.
- * Added example how to change daemon nice level via /etc/mysql/my.cnf
- * Updated French debconf translations (thanks to Christian Perrier).
- Closes: #265811
- * Renamed options in the default config file that still had old names
- (thanks to Yves Kreis). Closes: #266445
- * Fixed spelling in debconf note.
- * Added -l and -L to dh_shlibdeps.
-
- -- Christian Hammers <ch@debian.org> Fri, 3 Sep 2004 20:10:46 +0200
-
-mysql-dfsg (4.0.20-11) unstable; urgency=high
-
- * SECURITY
- This version fixes a security flaw in mysqlhotcopy which created
- temporary files in /tmp which had predictable filenames and such
- could be used for a tempfile run attack.
- The issue has been recorded as CAN-2004-0457.
-
- -- Christian Hammers <ch@debian.org> Sat, 14 Aug 2004 18:27:19 +0200
-
-mysql-dfsg (4.0.20-10) unstable; urgency=low
-
- * MySQL finally updated their copyright page and installed v1.5 of
- the "Free/Libre and Open Source Software License (FLOSS) - Exception"
- which will hopefully end the license hell they created by putting the
- client libraries under GPL instead of LGPL which conflicts with PHP and
- other software that used to link against MySQL.
- The license text is not yet in any release MySQL version but visible
- on their web site and copied into the debian/copyright file.
- Special thanks to Zak Greant <zak@mysql.com> and the debian-legal list
- for helping to solve this release critical problem.
- Closes: #242449
- * Updated Brazil debconf translation (thanks to Andre Luis Lopes).
- Closes: #264233
- * Updated Japanese debconf translation (thanks to Hideki Yamane).
- Closes: #264620
- * Fixed minor typo in debconf description (thanks to TROJETTE Mohammed
- Adnene). Closes: #264840
- * Improved init and preinst script which now detects stalled servers which
- do no longer communicate but are present in the process list (thanks to
- Henrik Johansson). Closes: #263215
-
- -- Christian Hammers <ch@debian.org> Mon, 9 Aug 2004 19:44:28 +0200
-
-mysql-dfsg (4.0.20-9) unstable; urgency=medium
-
- * Partly reverted the last patch which gave the mysql-user
- "debian-sys-maint" more rights as there are old versions of MySQL which
- have fewer privlige columns. Now only those are set (thanks to Alan Tam).
- Closes: #263111
-
- -- Christian Hammers <ch@debian.org> Tue, 3 Aug 2004 13:03:02 +0200
-
-mysql-dfsg (4.0.20-8) unstable; urgency=low
-
- * The mysqlcheck that is started from the initscript will now be
- backgrounded because it might else prevent the boot process to continue.
- It also now notifies root by mail and syslog if a table is corrupt.
- * The "debian-sys-maint" MySQL user now has almost full rights so that other
- packages might use this account to create databases and user (thanks to
- Andreas Barth). Closes: #262541
- * Added paranoid rules for logcheck.
-
- -- Christian Hammers <ch@debian.org> Sun, 1 Aug 2004 21:00:55 +0200
-
-mysql-dfsg (4.0.20-8) unstable; urgency=low
-
- * Upload stalled. Not released.
-
- -- Christian Hammers <ch@debian.org> Sun, 1 Aug 2004 20:27:55 +0200
-
-mysql-dfsg (4.0.20-7) unstable; urgency=medium
-
- * Solved the upstream bug that error messages of the server are written
- in a file that is then rotated away leaving mysqld logging effectively
- to /dev/null. It now logs to a /usr/bin/logger process which puts the
- messages into the syslog.
- Modified files: /etc/init.d/mysql, /usr/bin/mysqld_safe and the
- logchecker files. Closes: #254070
- * The initscript does no longer call mysqlcheck directly but via
- /etc/mysql/debian-start which is a user customizable config script.
- * Splitted the debconf "install and update notes" and only show them
- when it is appropriate (thanks to Steve Langasek). Closes: #240515
- * Added NEWS.Debian.
- * Added hint to -DBIG_ROWS, which is currently not used, to README.Debian.
- * Corrected typo in myisampack manpage (thanks to Marc Lehmann).
- Closes: #207090
- * Added Catalan debconf translation (thanks to Aleix Badia i Bosch).
- Closes: #236651
-
- -- Christian Hammers <ch@debian.org> Wed, 28 Jul 2004 01:41:51 +0200
-
-mysql-dfsg (4.0.20-6) unstable; urgency=low
-
- * The build arch detected by configure was "pc-linux-gnu (i686)"
- instead of "pc-linux-gnu (i386)". Was no problem AFAIK but
- Adam Majer asked me to explicitly change it to i386. Closes: #261382
- * Removed some unused shell scripts from /usr/share/mysql.
- * Added lintian overrides.
- * Removed rpath by using chrpath.
-
- -- Christian Hammers <ch@debian.org> Mon, 26 Jul 2004 00:17:12 +0200
-
-mysql-dfsg (4.0.20-5) unstable; urgency=medium
-
- * The mysqlcheck in the init script is only called when the server
- is really alive. Also, the mysql-user 'debian-sys-maint' now has
- global select rights (thanks to Nathan Poznick). Closes: #261130
- * Moved the debconf question whether to remove the databases or not
- from mysql-server.config to mysql-server.postrm so that it shows
- up on purge time and not months earlier (thanks to Wouter Verhelst).
- Closes: #251838
-
- -- Christian Hammers <ch@debian.org> Fri, 23 Jul 2004 22:41:13 +0200
-
-mysql-dfsg (4.0.20-4) unstable; urgency=low
-
- * Added a "mysqlcheck -A --fast" to the 'start' section of the
- init script to help admins detect corrupt tables after a server crash.
- Currently it exists with an error message but leaves the server
- running. Feedback appreciated!
- * Made postinst script more robust by calling db_stop earlier and
- so prevent pipe-deadlocks.
- * Fixed minor typos in initscript (thanks to "C.Y.M."). Closes: 259518
- * Added the undocumented "-DBIG_JOINS" that MySQL apparently uses in
- their MAX binaries. It enables 62 instead of 30 tables in a "join".
- (thanks to Dave Rolsky). Closes: #260843
- * Added a "df --portability /var/lib/mysql/." check to the preinst
- script as users experienced hard to kill hanging mysqlds in such
- a situation (thanks to Vaidas Pilkauskas). Closes: #260306
-
- -- Christian Hammers <ch@debian.org> Fri, 23 Jul 2004 00:51:32 +0200
-
-mysql-dfsg (4.0.20-3) unstable; urgency=low
-
- * Improved tolerance if the init script has been deleted (thanks to
- Leonid Shulov for spotting the problem).
- * Minor wording changes to README.Debian generalizing /root/ by $HOME
- (thanks to Santiago Vila). Closes: #257725
- * Added Japanese debconf translation (thanks to Hideki Yamane).
- Closes: #256485
- * Fixed commend in my.cnf regarding logfile directory (thanks to Jayen
- Ashar). Closes: #253434
- * Correted "ease to" by "ease of" in package description (thanks to
- Johannes Berg). Closes: #253510
-
- -- Christian Hammers <ch@debian.org> Fri, 9 Jul 2004 00:57:42 +0200
-
-mysql-dfsg (4.0.20-2) unstable; urgency=low
-
- * Removed RPM .spec file from the included documentation as it is pretty
- useless (thanks to Loic Minier).
- * Added turkish debconf translation (thanks to Recai Oktas). Closes: #252802
-
- -- Christian Hammers <ch@debian.org> Sun, 6 Jun 2004 14:48:26 +0200
-
-mysql-dfsg (4.0.20-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Christian Hammers <ch@debian.org> Mon, 31 May 2004 23:36:39 +0200
-
-mysql-dfsg (4.0.18-8) unstable; urgency=low
-
- * Updated french translation (thanks to Christian Perrier). Closes: #246789
-
- -- Christian Hammers <ch@debian.org> Tue, 4 May 2004 23:26:54 +0200
-
-mysql-dfsg (4.0.18-7) unstable; urgency=low
-
- * Added CVE ids for the recent security fixes.
- 4.0.18-4 is CAN-2004-0381 (mysqlbug) and
- 4.0.18-6 is CAN-2004-0388 (mysql_multi)
-
- -- Christian Hammers <ch@debian.org> Mon, 19 Apr 2004 18:32:03 +0200
-
-mysql-dfsg (4.0.18-6) unstable; urgency=medium
-
- * SECURITY:
- Fixed minor tempfile-run security problem in mysqld_multi.
- Unprivileged users could create symlinks to files which were then
- unknowingly overwritten by run when this script gets executed.
- Upstream informed. Thanks to Martin Schulze for finding this.
-
- -- Christian Hammers <ch@debian.org> Wed, 7 Apr 2004 01:28:22 +0200
-
-mysql-dfsg (4.0.18-5) unstable; urgency=low
-
- * Little improvements in debian scripts for last upload.
- * Added check to logrotate script for the case that a mysql
- server is running but not be accessible with the username and
- password from /etc/mysql/debian.conf (thanks to Jeffrey W. Baker).
- Closes: 239421
-
- -- Christian Hammers <ch@debian.org> Sun, 4 Apr 2004 15:27:40 +0200
-
-mysql-dfsg (4.0.18-4) unstable; urgency=medium
-
- * SECURITY:
- Aplied fix for unprobable tempfile-symlink security problem in
- mysqlbug reported by Shaun Colley on bugtraq on 2004-03-24.
- * Updated french debconf translation (thanks to Christian Perrier).
- Closes: #236878
- * Updated portugesian debconf translation (thanks to Nuno Senica).
- Closes: #239168
- * Updated german debconf translation (thanks to Alwin Meschede).
- Closes: #241749
- * Improved debconf template regarding fix_privileges_tables (thanks
- to Matt Zimmermann for suggestions). Closes: #219400
- * Improved README.Debian regarding to password settings (thanks to
- Yann Dirson). Closes: #241328
-
- -- Christian Hammers <ch@debian.org> Sat, 3 Apr 2004 19:52:15 +0200
-
-mysql-dfsg (4.0.18-3) unstable; urgency=medium
-
- * Added Build-Depend to po-debconf to let it build everywhere.
-
- -- Christian Hammers <ch@debian.org> Wed, 31 Mar 2004 23:43:33 +0200
-
-mysql-dfsg (4.0.18-2) unstable; urgency=low
-
- * Added a "2>/dev/null" to a "which" command as there are two
- "which" versions in Debian of which one needs it. Closes: #235363
-
- -- Christian Hammers <ch@debian.org> Tue, 2 Mar 2004 23:31:28 +0100
-
-mysql-dfsg (4.0.18-1) unstable; urgency=low
-
- * New upstream version.
- * Should now compile and run on ia64 (thanks to Thorsten Werner and
- David Mosberger-Tang). Closes: #226863 #228834
- * Converted init scripts to invoce-rc.d (thanks to Erich Schubert).
- Closes: 232118
- * Secondlast upload changed logfile location. Closes: #182655
- * Updated Brasilian translation (thanks to Andre Luis Lopes). Closes:
- #219847
-
- -- Christian Hammers <ch@debian.org> Tue, 17 Feb 2004 23:44:58 +0100
-
-mysql-dfsg (4.0.17-2) unstable; urgency=low
-
- * Improved manpage for mysqldumpslow.1 (thanks to Anthony DeRobertis).
- Closes: #231039
- * Improved stopping of crashed daemons in init script (thanks to
- Matthias Urlichs). Closes: #230327
-
- -- Christian Hammers <ch@debian.org> Mon, 9 Feb 2004 21:54:29 +0100
-
-mysql-dfsg (4.0.17-1) unstable; urgency=low
-
- * Made logging into /var/log/mysql/ the default. Closes: #225206
-
- * New upstream version. Closes: #225028
- * Turned on a 25MB query cache by default (thanks to Cyril Bouthors).
- Closes: #226789
- * Updated russian translation (thanks to Ilgiz Kalmetev). Closes: #219263
- * Upstream fixes the problem that AND was not commutative (thanks for
- Iain D Broadfoot for mentioning). Closes: #227927
- * Fixed minor typo in my.cnf comments (thanks to James Renken).
- Closes: #221496
- * Better documents regex. Closes: #214952
- * Fixed minor germanism in debconf template (thanks to Marc Haber).
- Closes: #224148
- * Added explaining comment to my.cnf regarding quoted passwords
- (Thanks to Patrick von der Hagen). Closes: #224906
- * Changed "find -exec" to "find -print0 | xargs -0" in preinst to
- speed it up. Thanks to Cyril Bouthors. Closes: #220229
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Jan 2004 16:16:25 +0100
-
-mysql-dfsg (4.0.16-2) unstable; urgency=low
-
- * Tried to repair undefined weak symbols by adding a little Makefile
- patch. Closes: #215973
-
- -- Christian Hammers <ch@debian.org> Mon, 27 Oct 2003 22:52:10 +0100
-
-mysql-dfsg (4.0.16-1) unstable; urgency=low
-
- * New upstream release.
- (Mostly little memory problems and other bugfixes it seems)
- * Replaced "." by ":" in chown calls to comply with the env setting
- "_POSIX2_VERSION=2000112" (thanks to Robert Luberda). Closes: #217399
- * Adjusted syntax in my.cnf to 4.x standard (thanks to Guillaume Plessis).
- Closes: #217273
- * Improved README.Debian password instructions (thanks to Levi Waldron).
- Closes: #215046
- * Improved NIS warning debconf-template (thanks to Jeff Breidenbach).
- Closes: #215791
- * Explicitly added libssl-dev to the libmysqlclient-dev package as it
- is needed for mysql_config and the libmysqlclient package only depends
- on libssl which has no unnumbered .so version (thanks to Simon Peter
- and Davor Ocelic). Closes: #214436, #216162
- * Added "-lwrap" to "mysql_config --libmysqld-libs" and filed it as
- upstream bug #1650 (thanks to Noah Levitt). Closes: #214636
-
- -- Christian Hammers <ch@debian.org> Sat, 25 Oct 2003 01:09:27 +0200
-
-mysql-dfsg (4.0.15a-1) unstable; urgency=low
-
- * Same package as 4.0.15-2 but I could not convince the Debian
- installer to move the packages out of incoming.
-
- -- Christian Hammers <ch@debian.org> Tue, 7 Oct 2003 15:10:26 +0200
-
-mysql-dfsg (4.0.15-2) unstable; urgency=low
-
- * Updated package description (thanks to Adrian Bunk). Closes: #210988
- * Fixed small typos in manpages (thanks to Nicolas Francois).
- Closes: #211983
- * More updates to package description (thanks to Matthias Lutz/ddtp).
- Closes: #213456
- * Updated standards to 3.6.1.
- * Closes "new 4.0.15 available" bug. Closes: #213349
- * Updated README.Debian with notes regarding the MySQL manual section
- "2.4 Post-installation Setup and Testing" (thanks to Daniel B.).
- Closes: #210841
-
- -- Christian Hammers <ch@debian.org> Fri, 3 Oct 2003 15:59:39 +0200
-
-mysql-dfsg (4.0.15-1) unstable; urgency=high
-
- * SECURITY:
- Users who are able to use the "ALTER TABLE" command on the "mysql"
- database may be able to exploit this vulnerability to gain a shell with
- the privileges of the mysql server (usually running as the 'mysql' user).
- Closes: #210403
- * Fixes small description typos (thanks to Oscar Jarkvik).
- * Updated Brazilian Portuguese debconf translation. (thanks to Andre Luis
- Lopes). Closes: 208030
- * Replaced depricated '.' by ':' in chown (thanks to Matt Zimmerman).
- * Fixed manpage typo (thanks to Marc Lehmann). Closes: #207090
-
- -- Christian Hammers <ch@debian.org> Fri, 3 Oct 2003 15:59:35 +0200
-
-mysql-dfsg (4.0.14-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Christian Hammers <ch@debian.org> Sun, 24 Aug 2003 16:40:36 +0200
-
-mysql-dfsg (4.0.13-3) unstable; urgency=low
-
- * Now start mysqld as default unless you choose not when configurig
- with debconf priority low. So packages depending on the server when
- installing can access it. Thanks Matt Zimmermann (Closes: #200277)
- * Made mysql-server de-installable if the config and database files were
- removed by hand before. Thanks to Ard van Breemen (Closes: #200304)
-
- -- Christian Hammers <ch@debian.org> Tue, 8 Jul 2003 22:30:40 +0200
-
-mysql-dfsg (4.0.13-2) unstable; urgency=low
-
- * Added "nice" option for mysqld_safe to give mysqld a different priority.
- Submitted to upstream as MySQL Bug #627. Closes: #192087
- * Fixed possible unbound variable in init script. Closes: #194621
- * Fixed french debconf translation (thx Christian Perrier) Closes: #194739
- * Get rid of automake1.5 (for Eric Dorland).
-
- -- Christian Hammers <ch@debian.org> Wed, 11 Jun 2003 18:58:32 +0200
-
-mysql-dfsg (4.0.13-1) unstable; urgency=medium
-
- * New upstream version.
- !!! Fixes a very bad natural join bug which justifies the urgency=medium.
- !!! http://bugs.mysql.com/bug.php?id=291
- * Fixed mysql_fix_privileges manpage (Frederic Briere) Closes: #191776
- * preinst: "which" is more chatty normal executable than as builtin.
- (Thanks to David B Harris). Closes: #188659
-
- -- Christian Hammers <ch@debian.org> Tue, 6 May 2003 22:03:45 +0200
-
-mysql-dfsg (4.0.12-3) unstable; urgency=medium
-
- * Reincluded new way of creating my debian-sys-maint user from
- an old release from experimental. Now works again with old
- and new privilege table format. (Thanks to Vincent Danjean
- for spotting the problem) Closes: #188201
- * Reincluded hurd build dependency fix from 3.23 branch.
- (Thanks to Robert Millan). Closes: #185929
- * Fixed soname in libmysqlclient-dev. Closes: #188160
- * Remove /var/log/mysql/ when purging the package. Closes: #188064
- * Removed /usr/share/doc/mysql/ from mysql-server. Closes: #188066
- * Let group "adm" be able to read logfiles. Closes: #188067
- * Do not call usermod on every upgrade. Closes: #188248
- (Thanks to Philippe Troin for the last three)
- * Fixed mysql-server.preinst so that it works on shells where
- which is a builtin, too. (Thanks to Erich Schubert) Closes: #181525
-
- -- Christian Hammers <ch@debian.org> Fri, 11 Apr 2003 11:32:45 +0200
-
-mysql-dfsg (4.0.12-2) unstable; urgency=low
-
- *
- * NEW MAJOR UPSTREAM RELEASE:
- *
- MySQL 4 has finally been declared as 'stable'. Hurray! Read changelogs.
- Thanks to all testers, esp. Jose Luis Tallon, of the versions
- that were in the "experimental" section before.
- * Modified postinst script to run mysql_fix_privileges on every update.
- IMPORTANT: Please report if this breaks anything, it is not supposed to.
- * Wrote a SSL-MINI-HOWTO.txt!
- * Added zlib1g-dev to libmysqlclient12-dev. Closes: 186656
- * Changed section of libmysqlclient12-dev to libdevel.
- * Added even more selfwritten manpages.
- * Fixed typos.
-
- -- Christian Hammers <ch@debian.org> Sun, 6 Apr 2003 13:47:32 +0200
-
-mysql-dfsg (4.0.10.gamma-1) experimental; urgency=low
-
- * New upstream version.
- * They merged some of my patches from debian/patches. Whoa!
- * This release should fix the error-logfile problem where mysqld
- keeps the error.log open while logrotate removes it.
-
- -- Christian Hammers <ch@debian.org> Wed, 12 Feb 2003 22:39:48 +0100
-
-mysql-dfsg (4.0.9.gamma-1) experimental; urgency=low
-
- * New upstream version.
- * Updated the GNU autoconf files to make building on MIPS work.
- See bug #176829.
-
- -- Christian Hammers <ch@debian.org> Wed, 29 Jan 2003 22:07:44 +0100
-
-mysql-dfsg (4.0.8.gamma-1) experimental; urgency=low
-
- * New upstream release.
- * Improved logging of init script. Closes: #174790
- * We have now libmysqlclient.so.12 instead of .11.
-
- -- Christian Hammers <ch@debian.org> Thu, 9 Jan 2003 20:14:11 +0100
-
-mysql-dfsg (4.0.7.gamma-1) experimental; urgency=high
-
- * SECURITY: This version fixes an upstream security release that is only
- present in the 4.x branch which is currently only in the
- experimental distribution and therefore will not get a DSA.
- * New upstream release.
-
- -- Christian Hammers <ch@debian.org> Sat, 28 Dec 2002 15:51:39 +0100
-
-mysql-dfsg (4.0.6.gamma-2) experimental; urgency=low
-
- * Added --system to addgroup. Closes: #173866
-
- -- Christian Hammers <ch@debian.org> Sat, 21 Dec 2002 15:28:26 +0100
-
-mysql-dfsg (4.0.6.gamma-1) experimental; urgency=low
-
- * New upstream version. Now Gamma!
- * There are no longer changes to the .orig.tar.gz neccessary to make diff
- happy. docs/ has still to be deleted, although, as it is non-free.
- * Incorporated patches from unstable.
- * Added mysqlmanager and a couple of other new scripts.
- * Enabled libmysqld embedded server library.
- * Enabled SSL and Virtual-IO support.
- (CORBA based MySQL-FS seems to be not existing..)
-
- -- Christian Hammers <ch@debian.org> Fri, 20 Dec 2002 22:30:51 +0100
-
-mysql-dfsg (4.0.5a.beta-3) experimental; urgency=low
-
- * Modified postinst to work with old and new mysql.user table format
- and fixed spelling typo in postinst. Thanks to Roger Aich.
- * Updated config.{guess,sub} to make the mipsel porters happy.
- Thanks to Ryan Murray. Closes: #173553
-
- -- Christian Hammers <ch@debian.org> Wed, 18 Dec 2002 15:56:34 +0100
-
-mysql-dfsg (4.0.5a.beta-2) experimental; urgency=low
-
- * Upstream removed option "--skip-gemini". So did I. Closes: 173142
-
- -- Christian Hammers <ch@debian.org> Tue, 17 Dec 2002 10:35:49 +0100
-
-mysql-dfsg (4.0.5a.beta-1) experimental; urgency=low
-
- * First 4.x experimental package due to continuous user requests :-)
- Please test and report!
- * upstream: safe_mysqld has been renamed to mysqld_safe
- * upstream: new library soname version libmysqlclient.so.11
- * Renamed libmysqlclientXX-dev to libmysqlclient-dev as I don't plan to
- support more than one development environment and this makes the
- dependencies easier.
- * FIXME: Skipped parts of the debian/patches/alpha patch as the global.h
- is not existing.
- * FIXME: How to get rid this? Old ltconfig patch already applied.
- "lintian: binary-or-shlib-defines-rpath ./usr/bin/mysql /usr/lib/mysql"
-
- -- Christian Hammers <ch@debian.org> Sun, 1 Dec 2002 18:32:32 +0100
-
-mysql-dfsg (3.23.53-4) unstable; urgency=medium
-
- * Fixed errno.h problem. Closes: #168533, #168535
-
- -- Christian Hammers <ch@debian.org> Sun, 10 Nov 2002 18:32:08 +0100
-
-mysql-dfsg (3.23.53-3) unstable; urgency=medium
-
- * Changed automake build-dep to unversioned automake1.4. Closes: #166391
- * Fixed description. Closes: #167270
- (Thanks to Soren Boll Overgaard)
-
- -- Christian Hammers <ch@debian.org> Tue, 5 Nov 2002 01:25:01 +0100
-
-mysql-dfsg (3.23.53-2) unstable; urgency=low
-
- * Reverted user creation in init scripts. Closes: #166432
- (Thanks to Birzan George Cristian)
-
- -- Christian Hammers <ch@debian.org> Thu, 31 Oct 2002 15:36:25 +0100
-
-mysql-dfsg (3.23.53-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Christian Hammers <ch@debian.org> Thu, 24 Oct 2002 23:04:16 +0200
-
-mysql-dfsg (3.23.52-3) unstable; urgency=low
-
- * Substituted the first-install 'debian-sys-maint' user creation by
- something ANSI SQL compliant. Closes: #163497
- (Thanks to Karl Hammar)
- * Tightend dependency to debhelper (>= 4.0.12) to be sure that
- debconf-utils gets installed, too, as I use dh_installdebconf.
- * Fixed upstream manpage bug in mysqldump.1. Closes: #159779
- (Thanks to Colin Watson)
- * Added comment about MIN_WORD_LEN to mysql-server.README.Debian
- (Thanks to Philipp Dreimann)
- * Added a dependency for zlib1g-dev to libmysqlclient10-dev.
- (Thanks to Jordi Mallach)
-
- -- Christian Hammers <ch@debian.org> Sun, 15 Sep 2002 17:14:44 +0200
-
-mysql-dfsg (3.23.52-2) unstable; urgency=low
-
- * Fixed typo in preinst scripts.
- * Removed bashism in init script.
- * Fixed ambiguous debconf example. Closes: #158884
-
- -- Christian Hammers <ch@debian.org> Fri, 30 Aug 2002 00:51:29 +0200
-
-mysql-dfsg (3.23.52-1) unstable; urgency=low
-
- * New upstream version. Closes: #157731
- * Clearified the meaning of the debian-sys-maint special user in the
- README.Debian file. Closes: #153702
- * Wrote some words regarding the skip-networking in README.Debian.
- Closes: #157038
- * Added dependency to passwd.
- * Fixes typo and unnecessarily complication in is_mysql_alive().
- * Added check for /etc/mysql/my.cnf in init script.
-
- -- Christian Hammers <ch@debian.org> Tue, 27 Aug 2002 01:53:32 +0200
-
-mysql-dfsg (3.23.51-4) unstable; urgency=low
-
- * Added a compressed "nm mysqld" output to allow people to trace
- core dumps with /usr/bin/resolve_stack_dump as suggested in the
- INSTALL-SOURCE file. Thanks to atudor@labs.agilent.com for the hint.
-
- -- Christian Hammers <ch@debian.org> Wed, 24 Jul 2002 20:44:55 +0200
-
-mysql-dfsg (3.23.51-3) unstable; urgency=low
-
- * Corrected copyright file: the MySQL client library is licenced under
- the LGPL-2 not the GPL. From version 4.x it actually will be GPL this
- is why parts of http://www.mysql.com/ already say so. Closes: #153591
- * Corrected german translation.
- Thanks to Roland Rosenfeld <roland@spinnaker.de>. Closes: #151903
-
- -- Christian Hammers <ch@debian.org> Thu, 11 Jul 2002 20:32:28 +0200
-
-mysql-dfsg (3.23.51-2) unstable; urgency=low
-
- * Improved NIS tolerance in preinst script.
-
- -- Christian Hammers <ch@debian.org> Sun, 7 Jul 2002 04:43:28 +0200
-
-mysql-dfsg (3.23.51-1) unstable; urgency=medium
-
- * New upstream version.
- * I applied a patch that fixes a binary imcompatibility in
- the shared libary libmysqlclient.so.10 between 3.23.50 and
- some versions earlier. Upstream has been contacted and asked
- for clarification. Closes: #149952
- * Added support for NIS i.e. it shows a warning and fails if the
- needed 'mysql' user does not exists but works if it does.
- Closes: #143282, #147869
- * Substituted $0 in init scripts by something really weird so that
- "./S20mysql restart" works now, too. (BTW: S20? install file-rc!!!)
- Closes: #148658
- * Now postinst works even if /etc/init.d/mysql is removed. Closes: #151021
- * Decided to leave "set +x" in postinst but wrote comment. Closes: #151022
-
- -- Christian Hammers <ch@debian.org> Sun, 7 Jul 2002 04:43:25 +0200
-
-mysql-dfsg (3.23.50-1) unstable; urgency=medium
-
- * New upstream version.
- Fixes a very annoying and important bug that lets all mysql programs
- including perl scripts etc. segfault when using the read_default_group()
- function. 3.23.50 is currently a pre-release and expected to be released
- next week. I plan to propose it for woody as soon as its stability has
- been proven. The following bug reports are all regarding this issue.
- Closes: #144960, #145322, #136798, #138143,
-
- -- Christian Hammers <ch@debian.org> Sat, 18 May 2002 21:14:01 +0200
-
-mysql-dfsg (3.23.49x-1) unstable; urgency=low
-
- * I had to split the package to seperate the manual as it is not GPL
- like the rest of the software and docs but under a license that
- e.g. forbids selling printed versions.
- .
- The upstream authors were contacted a while ago but did not like to
- change the situation.
- .
- The names of the resulting packages have not changed as the manual
- already was in a seperate mysql-doc package due to it's size.
- The source packages are now splitted from one "mysql" to
- "mysql-dfsg" in main and "mysql-nonfree" in non-free.
- * No code change!
- The "x" at the end of the version number ist just to be able to
- upload a new source package. ("a" was already taken by upstream
- for their binary upload correction)
-
- -- Christian Hammers <ch@debian.org> Wed, 8 May 2002 02:01:41 +0200
-
-mysql (3.23.49-8) unstable; urgency=low
-
- * Substituted $0 in init script to let e.g. "/etc# ./init.d/mysql restart"
- works, too. Closes: #141555
-
- -- Christian Hammers <ch@debian.org> Sun, 7 Apr 2002 15:00:44 +0200
-
-mysql (3.23.49-7) unstable; urgency=low
-
- * The Makefiles are totally broken for the --enable-local-infile
- option. I now patched libmysql/libmysql.c#mysql_init() manually.
- Closes: #138347
-
- -- Christian Hammers <ch@debian.org> Fri, 29 Mar 2002 23:55:15 +0100
-
-mysql (3.23.49-6) unstable; urgency=low
-
- * Moved mysqlcheck from server to client package. Closes: #139799
- * Added manpage for mysqlhotcopy. Regarding: #87097
- * Added 'sharedscripts' directive to the logrotate script.
- * Replaced grep by /usr/bin/getent to let the group/user checking work
- on NIS/LDAP systems, too. Closes: #115677, #101529
-
- -- Christian Hammers <ch@debian.org> Fri, 22 Mar 2002 22:40:51 +0100
-
-mysql (3.23.49-5) unstable; urgency=low
-
- * Added skip-innodb to default my.cnf.
- * Enabled --enable-local-infile, it seems to be a new option that
- defaults to disable a formerly enabled feaure. Closes: #137115
-
- -- Christian Hammers <ch@debian.org> Sat, 16 Mar 2002 00:29:10 +0100
-
-mysql (3.23.49-4) unstable; urgency=medium
-
- * Recompiled against fixed libz.
-
- * Enabled --enable-local-infile, it seems to be a new option that
- defaults to disable a formerly enabled feaure. Closes: #137115
- * Fixed README.compile_on_potato. Closes: #136529
- * Now a ext3 .jounal file in /var/lib/mysql does not prevent the
- installation (happens when creating a jounal on an already mounted
- partition). Closes: #137146
-
- -- Christian Hammers <ch@debian.org> Wed, 13 Mar 2002 13:34:24 +0100
-
-mysql (3.23.49-3) unstable; urgency=low
-
- * Added Russian translation. Closes: #135846
- * Fixed installation of .info documents. Closes: #135030
-
- -- Christian Hammers <ch@debian.org> Wed, 27 Feb 2002 23:36:35 +0100
-
-mysql (3.23.49-2) unstable; urgency=low
-
- * Updated french translation and split template files. Closes: #134754
- * Fixed a small debian.cnf related bug in mysql-server.postinst.
-
- -- Christian Hammers <ch@debian.org> Tue, 19 Feb 2002 23:13:58 +0100
-
-mysql (3.23.49-1) unstable; urgency=low
-
- * New upstream release.
- (Mainly InnoDB related fixes)
- * Exported a $HOME variable in the scripts so that /root/.my.cnf
- is not read anymore. This will avoid problems when admins put
- only passwords but no usernames in this file. Closes: #132048
- * New debian-sys-maint password algorithm (now ~96bit :-)) Closes: #133863
- * Recreating debian-sys-main pwd on every install to help people who
- accidently delete user or password files...
- * Added /var/log/mysql so that user can put the binary logs in there as
- mysql cannot write the .001 etc files itself in /var/log which is
- owned by root.
-
- -- Christian Hammers <ch@debian.org> Thu, 14 Feb 2002 22:17:45 +0100
-
-mysql (3.23.47-6) unstable; urgency=low
-
- * Dropped a sentence about the new debian-sys-maint user in the
- debconf note and updated the README.Debian. Related: #132048
- * Added more french translation. Closes: #132390
-
- -- Christian Hammers <ch@debian.org> Wed, 6 Feb 2002 09:41:29 +0100
-
-mysql (3.23.47-5) unstable; urgency=low
-
- * Fixed grammar error in template. Closes: #132238
- * Really fixed typo in logrotate script. Closes: #131711
-
- -- Christian Hammers <ch@debian.org> Tue, 5 Feb 2002 14:20:08 +0100
-
-mysql (3.23.47-4) unstable; urgency=medium
-
- * Fixes typo in postinst that let init script fail. Closes: #131743
- * Fixed bashism bug that failed on ash. Closes: #131697
- * Fixed typo in logrotate script. Closes: #131711
-
- -- Christian Hammers <ch@debian.org> Thu, 31 Jan 2002 23:58:46 +0100
-
-mysql (3.23.47-3) unstable; urgency=low
-
- * Added new Debian specific mysql user called 'debian-sys-maint' which
- is used for pinging the server status, flushing the logs or shutting
- down the server in maintenance scripts. The credentials of this user
- are stored in the UID0-only readable file /etc/mysql/debian.cnf.
- Closes: #129887, #130326, #99274
- * Fixed unintended server startup at boottime. Closes: #122676, #130105
- * New upstream fixes command line parsing bug: Closes: #128473
- * Fixed manpage headers to let apropos work: Closes: #119122
- * Added "status" options for /etc/init.d/mysql. Closes: #129020
-
- -- Christian Hammers <ch@debian.org> Sun, 27 Jan 2002 19:46:11 +0100
-
-mysql (3.23.47-2) unstable; urgency=low
-
- * Enhanced init scripts by using mysqladmin instead of kill $pid.
- Thanks to Aaron Brick.
-
- -- Christian Hammers <ch@debian.org> Fri, 18 Jan 2002 01:42:23 +0100
-
-mysql (3.23.47-1) unstable; urgency=low
-
- * New upstream release.
- * Updated brazilian translation of debconf descriptions. Closes: #123332
-
- -- Christian Hammers <ch@debian.org> Sun, 6 Jan 2002 21:11:17 +0100
-
-mysql (3.23.46-3) unstable; urgency=low
-
- * Fixed bug in postinst where a script was accidently called with
- "bash -c <script> -IN_RPM" prevting the first argument to take effect
- and then leading to failures on hosts with unresolvable hostnames.
- Closes: #126147
- * Small changes and comments in postinst.
-
- -- Christian Hammers <ch@debian.org> Sat, 22 Dec 2001 14:03:02 +0100
-
-mysql (3.23.46-2) unstable; urgency=low
-
- * Start/stop behaviour now configurable via debconf. Closes: #112174
-
- -- Christian Hammers <ch@debian.org> Sun, 9 Dec 2001 21:38:54 +0100
-
-mysql (3.23.46-1) unstable; urgency=low
-
- * New upstream release.
- Only few fixes, mainly innodb related.
-
- -- Christian Hammers <ch@debian.org> Sun, 2 Dec 2001 03:08:48 +0100
-
-mysql (3.23.45-1) unstable; urgency=low
-
- * New upstream version.
- Only few fixes, mainly innodb related.
- * Added debconf note regarding the skip-networking option.
-
- -- Christian Hammers <ch@debian.org> Sun, 25 Nov 2001 16:50:37 +0100
-
-mysql (3.23.44-2) unstable; urgency=low
-
- * Finally removed debconf toggled "skip-networking" line add/remove
- code for /etc/mysql/my.cnf. I don't like editing a file that's tagged
- as configuration file.
- I disabled networking by default for security reasons. Better ideas?
-
- -- Christian Hammers <ch@debian.org> Fri, 16 Nov 2001 02:11:02 +0100
-
-mysql (3.23.44-1) unstable; urgency=low
-
- * New upstream release.
- - fixes replication bug (core dump)
- * Made description better english :) Thanks to D. Welton.
-
- -- Christian Hammers <ch@debian.org> Sun, 11 Nov 2001 15:44:07 +0100
-
-mysql (3.23.43-4) unstable; urgency=low
-
- * Disabled statically linking.
-
- -- Christian Hammers <ch@debian.org> Sat, 10 Nov 2001 03:15:56 +0100
-
-mysql (3.23.43-3) unstable; urgency=low
-
- * Changed compiler settings after one user reported instabilities.
- See #116631 for more information.
-
- -- Christian Hammers <ch@debian.org> Tue, 30 Oct 2001 21:39:17 +0100
-
-mysql (3.23.43-2) unstable; urgency=low
-
- * Patched sparc mutexes again. Closes: #113430
-
- -- Christian Hammers <ch@debian.org> Sun, 7 Oct 2001 15:09:00 +0200
-
-mysql (3.23.43-1) unstable; urgency=low
-
- * New upstream version.
- - Fixed some unlikely(sic!) bugs and core dumps.
- - Fixed a bug with BDB tables and UNIQUE columns that are NULL.
- - [more minor bugs were fixed; see changelog]
- * Adjusted build depends on libwrap0 for IA-64. Closes: #114582
- * Added the mysqlcheck binary. Closes: #114490
- * Fixed rules for arm architecture. Closes: #88186
- * Renamed mysql_print_defaults to the original name my_print_defaults.
- Isn't as descriptive but else I'd have to patch too much. Closes: #114492
-
- -- Christian Hammers <ch@debian.org> Fri, 5 Oct 2001 22:24:40 +0200
-
-mysql (3.23.42-2) unstable; urgency=low
-
- * Applied patch for m68k compile. Closes: #112904
-
- -- Christian Hammers <ch@debian.org> Sun, 23 Sep 2001 21:32:57 +0200
-
-mysql (3.23.42-1) unstable; urgency=low
-
- * New upstream releae.
- Fixes critical bug with InnoDB and large BLOBs.
-
- -- Christian Hammers <ch@debian.org> Tue, 18 Sep 2001 22:25:47 +0200
-
-mysql (3.23.41-2) unstable; urgency=low
-
- * Fixed shlibs.local problem. Closes: #111573
- * Replaced emacs by sensible-editor in mysqlbug.sh. Thanks Hans Ginzel.
-
- -- Christian Hammers <ch@debian.org> Sun, 9 Sep 2001 17:16:42 +0200
-
-mysql (3.23.41-1) unstable; urgency=low
-
- * New upstream release
- * Fixed build problem on ia64. Closes: #110624
-
- -- Christian Hammers <ch@debian.org> Tue, 14 Aug 2001 23:20:35 +0200
-
-mysql (3.23.40-1) unstable; urgency=low
-
- * New upstream release
-
- -- Christian Hammers <ch@debian.org> Sun, 5 Aug 2001 19:46:18 +0200
-
-mysql (3.23.39-5) unstable; urgency=low
-
- * Added debconf template for brazil. Closes: #106934, #106752
- * Tightened dependencies on debconf.
- * Adjusted mysql.err permissions in logrotate script to 0600. Closes: #105672
-
- -- Christian Hammers <ch@debian.org> Mon, 30 Jul 2001 00:10:12 +0200
-
-mysql (3.23.39-4.1) unstable; urgency=low
-
- * Maintainer-requested NMU.
- * Fixing thread mutexes on Sparc and Alpha
- (closes: Bug#101783)
- * Added --enable-assembler for sparc. This should
- allow mysql on sparc to use assembler versions of
- some string functions (read: should speed up a bit).
-
- -- Christopher C. Chimelis <chris@debian.org> Fri, 13 Jul 2001 15:09:30 -0400
-
-mysql (3.23.39-4) unstable; urgency=low
-
- * Porting fixes.
-
- -- Christian Hammers <ch@debian.org> Mon, 9 Jul 2001 17:56:54 +0200
-
-mysql (3.23.39-3.1) unstable; urgency=low
-
- * NMU (for porting)
- * Update config.sub and config.guess for hppa, sh & s390.
- * Add --with-client-ldflags=-lstdc++ to configure line. Closes: #100884
-
- -- Matthew Wilcox <willy@debian.org> Sun, 8 Jul 2001 19:26:59 -0600
-
-mysql (3.23.39-3) unstable; urgency=low
-
- * Disabled berkeley-db on sparc again. Mutexes aren't working again :-(
-
- -- Christian Hammers <ch@debian.org> Sat, 7 Jul 2001 18:30:08 +0200
-
-mysql (3.23.39-2) unstable; urgency=low
-
- * Bugfixed the m68k mutex patch. Thanks to Michael Fedrowitz. Closes: #103145
- * Removed config.cache files in bdb/ and innobase/. Closes: #103143
-
- -- Christian Hammers <ch@debian.org> Wed, 4 Jul 2001 22:06:58 +0200
-
-mysql (3.23.39-1) unstable; urgency=low
-
- * New upstream release. Minor bugfixes only.
-
- -- Christian Hammers <ch@debian.org> Thu, 14 Jun 2001 13:53:03 +0200
-
-mysql (3.23.38-4) unstable; urgency=low
-
- * Added logcheck files. Closes: #99131
- (I can't let the usermod away since I don't know of an easy way to
- retrive "passwd" information in a shell script considering that
- people use different storage methods like LDAP/NIS instead of passwd.)
-
- -- Christian Hammers <ch@debian.org> Fri, 8 Jun 2001 21:04:25 +0200
-
-mysql (3.23.38-3) unstable; urgency=low
-
- * Explicit pointet to /root/.my.cnf to let /etc/init.d/mysql stop
- work in sudo environments with $HOME!=/root work, too. Closes: #98324
- * Removes empty /etc/mysql on purge. Closes: #98164
-
- -- Christian Hammers <ch@debian.org> Tue, 22 May 2001 10:13:06 +0200
-
-mysql (3.23.38-2) unstable; urgency=low
-
- * Added depends to libdbd-mysql-perl for mysql-server. Closes: #94306
-
- -- Christian Hammers <ch@debian.org> Sat, 19 May 2001 19:43:26 +0200
-
-mysql (3.23.38-1) unstable; urgency=low
-
- * New upstream release.
- * Added Build-Depends to procps. Closes: #96768
-
- -- Christian Hammers <ch@debian.org> Sun, 13 May 2001 17:30:15 +0200
-
-mysql (3.23.37-5) unstable; urgency=low
-
- * Applied mutex patch for bdb support on m68k.
- Thanks to Michael Fedrowitz for the patch.
-
- -- Christian Hammers <ch@debian.org> Mon, 7 May 2001 12:30:40 +0200
-
-mysql (3.23.37-4) unstable; urgency=low
-
- * Enable bdb support for m68k architecture.
-
- -- Christian Hammers <ch@debian.org> Sat, 5 May 2001 16:47:36 +0200
-
-mysql (3.23.37-3) unstable; urgency=low
-
- * Added thread-safe client library. Thanks to Shane Wegner. Closes: #95441
-
- -- Christian Hammers <ch@debian.org> Sat, 28 Apr 2001 09:45:00 -0400
-
-mysql (3.23.37-2) unstable; urgency=low
-
- * Added sparc to the list of BDB supporting architectures after some
- tests on vore.debian.org and mails with Ben Collons.
-
- -- Christian Hammers <ch@debian.org> Fri, 27 Apr 2001 09:30:09 -0400
-
-mysql (3.23.37-1) unstable; urgency=low
-
- * New upstream version.
- * Added gemini table support.
- * Does anybody know how to enable SSL?
- * Fixed ARM compilation problem. Closes: #88186
-
- -- Christian Hammers <ch@debian.org> Sat, 21 Apr 2001 11:48:46 -0400
-
-mysql (3.23.36-2) unstable; urgency=low
-
- * Added patch by Christopher C. Chimelis <chris@debian.org> to make
- Berkeley db3 work again on Alpha architecture. Closes: #92787
-
- -- Christian Hammers <ch@debian.org> Tue, 3 Apr 2001 23:41:46 +0200
-
-mysql (3.23.36-1) unstable; urgency=high
-
- * New upstream version.
- * SECURITY FIX: One could place database tables outside the database
- directory by using '..' in one of the mysql helper programs where the
- table name was not checked correctly. This could lead to root compromise
- if the server would be running as root else you could at least do bad
- things as user mysql.
- * upstream: Fixed bug when thread creation failed.
- * upstream: Fixed problem in Innobase with non-latin1 charsets
- * upstream: Fixed a core-dump bug when using very complex query with DISTINGT
- * upstream: many others so called minor bugs...
- * fixes bug in init script. Closes: #90257
- (this report was agains some older problem that has been fixed too in .33)
-
- -- Christian Hammers <ch@debian.org> Fri, 30 Mar 2001 02:55:12 +0200
-
-mysql (3.23.35-1) unstable; urgency=medium
-
- * New upstream relase.
- * Fixes problem in ORDER BY clause. People using 3.33.34 should upgrade!
- * Includes innobase support.
- (Hope this is not such a catastrophe like berkeley db...)
-
- -- Christian Hammers <ch@debian.org> Fri, 16 Mar 2001 23:30:30 +0100
-
-mysql (3.23.33-3) unstable; urgency=low
-
- * Forgot #!/bin/sh at top of mysql-doc.postinst. Closes: #89801
-
- -- Christian Hammers <ch@vore.debian.org> Thu, 15 Mar 2001 20:38:35 -0500
-
-mysql (3.23.33-2) unstable; urgency=low
-
- * Added some missing scripts and manpages. Closes: #84068
- * Added dependency to perl-5.6. Closes: #81942
- * Added french templates somewhen ago. Closes: #83790
- * Added patch to get db3 working on Alpha. Closes: #86033
- Thanks to Christopher C. Chimelis <chris@debian.org>. The patch
- itself is included as debian/patch.alpha, too.
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Feb 2001 06:40:40 +0100
-
-mysql (3.23.33-1) unstable; urgency=high
-
- * Fixes two security bugs that allowes crashing the server and maybe
- gaining the UID of the process that is linked against libmysqlclient!
-
- -- Christian Hammers <ch@debian.org> Tue, 13 Feb 2001 23:01:18 +0100
-
-mysql (3.23.32-1) unstable; urgency=low
-
- * New upstream releaes.
- (just minor fixes)
- * Added french and german debconf templates.
-
- -- Christian Hammers <ch@debian.org> Sun, 4 Feb 2001 17:27:07 +0100
-
-mysql (3.23.31-1) unstable; urgency=high
-
- * New upstream release.
- * Fixes security bug that was announced at BUGTRAQ mailing list.
- (Disappointingly not by mysql.com!). And allows a buffer overflow
- and therefore access to the mysql UID and all databases when already
- having a valid account. Closes: #82881
-
- -- Christian Hammers <ch@debian.org> Sat, 20 Jan 2001 11:14:36 +0100
-
-mysql (3.23.30-2) unstable; urgency=low
-
- * Recompiled with new dpkg-dev.
-
- -- Christian Hammers <ch@debian.org> Sun, 14 Jan 2001 22:20:55 +0100
-
-mysql (3.23.30-1) unstable; urgency=low
-
- * New upstream release.
-
- -- Christian Hammers <ch@debian.org> Sun, 7 Jan 2001 22:10:18 +0100
-
-mysql (3.23.28-10) testing unstable; urgency=low
-
- * I must upload to "testing" to get it into woody, right?!
-
- -- Christian Hammers <ch@debian.org> Fri, 29 Dec 2000 14:43:57 +0100
-
-mysql (3.23.28-9) unstable; urgency=low
-
- * Made it a replacement for libmysqlclient9.
-
- -- Christian Hammers <ch@westend.com> Mon, 25 Dec 2000 19:15:04 +0100
-
-mysql (3.23.28-8) unstable; urgency=low
-
- * Applied patch from a user to get the skip-networking option working!
- Approved from a mysql employee but please test anyways.
- This finally: Closes: #79672, #78634, #79660, #79658
-
- -- Christian Hammers <ch@debian.org> Sat, 16 Dec 2000 14:01:36 +0100
-
-mysql (3.23.28-6) unstable; urgency=medium
-
- * Fixed error in postinst. Closes: #79392, #79400, #79451, #79550
- * Added .info files again on user request. Closes: #78988, #75737
-
- -- Christian Hammers <ch@debian.org> Wed, 13 Dec 2000 21:18:24 +0100
-
-mysql (3.23.28-5) unstable; urgency=low
-
- * Fixed a stupid bug in mysql-server.postinst regarding the
- configuration of skip-networking. Closes: #78639, 78634
- * Used patched bdb which hopefully enables mutexes on Alpha. Closes: #78197
- * Added dependency to adduser. Closes: #76798
-
- -- Christian Hammers <ch@debian.org> Sun, 10 Dec 2000 16:55:48 +0100
-
-mysql (3.23.28-4) unstable; urgency=low
-
- [never uploaded]
- * Fixed a stupid bug in mysql-server.postinst regarding the
- configuration of skip-networking. Closes: #78639, 78634
- * Used patched bdb which hopefully enables mutexes on Alpha. Closes: #78197
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Dec 2000 17:49:44 +0100
-
-mysql (3.23.28-3) unstable; urgency=low
-
- * This time really fixed m68k build error. Closes: #78235
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Dec 2000 15:02:55 +0100
-
-mysql (3.23.28-2) unstable; urgency=low
-
- * Adjusted rules file to make it buildable on m86k. Closes: #78235
-
- -- Christian Hammers <ch@debian.org> Fri, 1 Dec 2000 20:07:26 +0100
-
-mysql (3.23.28-1) unstable; urgency=low
-
- * New upstream vesrion. Now gamma!
- * Changed umask of mysql.log making it o-rw
- * Disabled listening on network reachable TCP ports by default due to
- security considerations.
-
- -- Christian Hammers <ch@debian.org> Thu, 23 Nov 2000 20:12:50 +0100
-
-mysql (3.23.27-1) unstable; urgency=low
-
- * New upstream version.
- * Closes: #75711
-
- -- Christian Hammers <ch@debian.org> Sun, 29 Oct 2000 14:29:51 +0100
-
-mysql (3.23.25-4) unstable; urgency=low
-
- * Recompiled to get rid of the dependency for zlib1 (libc5).
- Closes: #74952, #74939
-
- -- Christian Hammers <ch@debian.org> Tue, 17 Oct 2000 14:34:52 +0200
-
-mysql (3.23.25-3.1) unstable; urgency=low
-
- * Maintainer-approved NMU.
- * Includes patch to fix and enable db3 support on Alpha.
- * Enable support for thread mutexes in db3 on sparc
- (it works after all, according to Ben Collins)
- * Removed atomic_ functions for Alpha since they are no
- longer supported in the current glibc in woody.
- * Cleaned up rules file a bit.
-
- -- Christopher C. Chimelis <chris@debian.org> Sat, 14 Oct 2000 04:22:02 -0400
-
-mysql (3.23.25-3) unstable; urgency=low
-
- * Upstream decided not to include my_config.h,my_dir.h into the installed
- header files. As this file contains at least informative material
- and more important is checked by several autoconf scripts I
- included it by hand again.
- * Made building of berkeley db conditional to architecture until
- I get response whether it works on sparc/alpha now.
-
- -- Christian Hammers <ch@debian.org> Wed, 11 Oct 2000 23:58:38 +0200
-
-mysql (3.23.25-2) unstable; urgency=medium
-
- * Last build went terrible wrong.. Here's the changelog again:
- * New upstream release.
- * Shared library version was raised from 9 to 10.
- Maintainers of packets using libmysqlclient9 must recompile!
-
- -- Christian Hammers <ch@debian.org> Wed, 11 Oct 2000 01:16:34 +0200
-
-mysql (3.23.25-1) unstable; urgency=low
-
- * New upstream release.
- * Shared library version was raised from 9 to 10.
- Maintainers of packets using libmysqlclient9 must recompile!
-
- -- Christian Hammers <ch@debian.org> Sat, 7 Oct 2000 18:21:51 +0200
-
-mysql (3.23.24-2) unstable; urgency=low
-
- * Applied upstream patch regarding quoting of mysqldump.
- * Updated to db-3.1.17-patched (from www.mysql.com)
-
- -- Christian Hammers <ch@debian.org> Fri, 15 Sep 2000 18:58:14 +0200
-
-mysql (3.23.24-1) unstable; urgency=medium
-
- * New upstream version with some important fixes.
- * upstream: Last version corrupted CHAR/VARCHAR/BLOB columns with
- chararacters above ASCII 128! Check and repair all these tables.
- * upstream: fixed small memory leak
- * upstream: fixed problem with BDB tables and reading on unique
- (not primary) key.
- * Disabled BDB tables on all architectures except i386 due to many
- bug reports (see #71206). -> HELP APPRECIATED <-
-
- -- Christian Hammers <ch@debian.org> Tue, 12 Sep 2000 06:18:54 +0200
-
-mysql (3.23.23-2) unstable; urgency=low
-
- * Strange... "nohup nice" gives differnet results and let therefore
- crash safe_mysqld when starting up. Apparently it seems to be
- kernel dependand. Now fixed by another conditional. This
- more or less Closes: #71057
- * This bug was reported (accidently) in the following identical reports:
- Closes: #71253, #71254, #71257, #71258, #71259, #71262, #71266, #71267
- Closes: #71268, #71271, #71275, #71277, #71278, #71283, #71291
-
- -- Christian Hammers <ch@debian.org> Sat, 9 Sep 2000 20:13:50 +0200
-
-mysql (3.23.23-1) unstable; urgency=low
-
- * New upstream version. Feature freeze!
- * Fixed source build problem. Closes: #70707
-
- -- Christian Hammers <ch@debian.org> Thu, 31 Aug 2000 10:03:35 +0200
-
-mysql (3.23.22b-1) unstable; urgency=low
-
- * Reorganised docs. Now we have several small html files instead of
- one with almost 2M. Closes: 70431
- * Removed pdf,ps and html from source package shrinked it about 3M
- (therefore the .orig.tar.gz is called 3.23.22b!)
- * -> Last upload failed due to problems at the FTP site so here the
- -> changelog again:
- * Fixes memory leak, commit/rollback, reserved word "MASTER" ...
- * Added Berkeley DB3 source code to the Debian diff to be able to
- compile with bdb transaction support! (Great feature!!!)
- * Upstream correction of error message. Closes: #68939
- * Upstream correction of reserved word "source".
-
- -- Christian Hammers <ch@debian.org> Fri, 25 Aug 2000 19:21:24 +0200
-
-mysql (3.23.22-1) unstable; urgency=low
-
- * New upstream version.
- * Fixes memory leak, commit/rollback, reserved word "MASTER" ...
- * Added Berkeley DB3 source code to the Debian diff to be able to
- compile with bdb transaction support! (Great feature!!!)
- * Upstream correction of error message. Closes: #68939
- * Upstream correction of reserved word "source".
-
- -- Christian Hammers <ch@debian.org> Sun, 20 Aug 2000 09:05:48 +0200
-
-mysql (3.23.21-4) unstable; urgency=low
-
- * Added libmysqlclient9.shlibs and shlibs.local file. Closes: #68669
-
- -- Christian Hammers <ch@debian.org> Wed, 9 Aug 2000 14:22:49 +0200
-
-mysql (3.23.21-3) unstable; urgency=low
-
- * Let "/etc/init.d/mysql restart" wait until the pid has been
- removed before (but max 6 seconds) before restarting. Closes: 65070
- * Added build dependencies.
-
- -- Christian Hammers <ch@debian.org> Sun, 30 Jul 2000 16:16:48 +0200
-
-mysql (3.23.21-2) unstable; urgency=low
-
- * Typo in safe_mysqld prevents start.
-
- -- Christian Hammers <ch@debian.org> Sat, 29 Jul 2000 13:40:50 +0200
-
-mysql (3.23.21-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Christian Hammers <ch@debian.org> Mon, 10 Jul 2000 22:54:17 +0200
-
-mysql (3.23.20-1) unstable; urgency=low
-
- * MySQL finally got fully GPL'ed! This means that there is only one
- souce package and only main/* binary packages from now on.
- * Fixed symlink in libmysqlclient9-dev. Closes: 66452
- * Apart from that the usual bug fixes for BETA software.
-
- -- Christian Hammers <ch@debian.org> Mon, 3 Jul 2000 20:05:38 +0200
-
-mysql-pd (3.23.16-1) unstable; urgency=low
-
- * New upstream release. (Actually a brand new upstream branch!)
- * Added mysql-common package as the configuration file can be used
- by all versions of the mysql client library.
- Did some more package reorganisations, too. See README.Debian file!
- * libmysqlclient.so raised major version from 6 to 9.
- * Minor beautifications in the debian/ directory.
-
- -- Christian Hammers <ch@debian.org> Sat, 27 May 2000 20:30:01 +0200
-
-mysql-gpl (3.22.30-2) frozen unstable; urgency=low
-
- * Fixed path in libmysqlclient.la. Closes: #58875
-
- -- Christian Hammers <ch@debian.org> Sat, 25 Jan 2000 20:27:29 -0700
-
-mysql-gpl (3.22.30-1) frozen unstable; urgency=low
-
- * A small change in the libmysqlclient6 causes mysqladmin to print an
- shared library error when displaying the defaults. Everything else
- works fine so this error wasn't detected untill now. Closes: #58033
- * TcX released a new MySQL version that includes another security patch,
- this time against mysqlaccess. The author told me that it would be
- fine if I just included the new .c in this source since I don't want
- go to 3.22.32 in frozen.
- * ->Release Manager: Although the version number increased there is
- no new coded except for the shared library. The rest is the same
- as in mysql-server and mysql-client.
-
- -- Christian Hammers <ch@debian.org> Tue, 15 Feb 2000 23:26:54 +0100
-
-mysql-gpl (3.22.29-1) unstable; urgency=low
-
- * New upstream version.
-
- -- Christian Hammers <ch@debian.org> Thu, 6 Jan 2000 20:37:23 +0100
-
-mysql-gpl (3.22.27a-3) unstable; urgency=low
-
- * Use system readline instead of bundled version. Closes: #50069
- Any objections ?
-
- -- Christian Hammers <ch@debian.org> Sun, 14 Nov 1999 18:09:48 +0100
-
-mysql-gpl (3.22.27a-2) unstable; urgency=low
-
- * Now building mysql-gpl-doc in binary-indep.
-
- -- Christian Hammers <ch@debian.org> Sat, 23 Oct 1999 04:22:36 +0200
-
-mysql-gpl (3.22.27a-1) unstable; urgency=low
-
- * Adjusted version number to allow new orig.tar.gz.
- The old seems broken :-( People reported compilation problems.
- * Changed mysql-gpl-doc to "Architecture: all".
-
- -- Christian Hammers <ch@debian.org> Sun, 17 Oct 1999 13:01:35 +0200
-
-mysql-gpl (3.22.27-1) unstable; urgency=low
-
- * New upstream release. Fixes charset problem.
-
- -- Christian Hammers <ch@debian.org> Mon, 11 Oct 1999 18:01:40 +0200
-
-mysql-gpl (3.22.26a-1) unstable; urgency=low
-
- * New upstream version. Just some small bug fixes.
- * FHS compliance.
-
- -- Christian Hammers <ch@debian.org> Sun, 3 Oct 1999 10:16:14 +0200
-
-mysql-gpl (3.22.25-2) unstable; urgency=low
-
- * Added conflict to all old mysql-dev packages. (fixes: #42966)
-
- -- Christian Hammers <ch@debian.org> Sun, 15 Aug 1999 11:35:46 +0200
-
-mysql-gpl (3.22.25-1) unstable; urgency=low
-
- * New upstream version. (We are waiting for 3.23.x !)
- * Fixes some upstream small bugs.
-
- -- Christian Hammers <ch@debian.org> Sun, 18 Jul 1999 22:02:06 +0200
-
-mysql-gpl (3.22.23b-4) unstable; urgency=low
-
- * Rebuild for new perl.
-
- -- Christian Hammers <ch@debian.org> Thu, 8 Jul 1999 01:09:57 +0200
-
-mysql-gpl (3.22.23b-3) unstable; urgency=low
-
- * libmysqlclient had the wrong socket path.
-
- -- Christian Hammers <ch@debian.org> Sun, 03 Jul 1999 23:13:30 +0200
-
-mysql-gpl (3.22.23b-2) unstable; urgency=low
-
- * Missed one replace tag to an very old version of mysql-devel.
-
- -- Christian Hammers <ch@debian.org> Sun, 27 Jun 1999 19:13:30 +0200
-
-mysql-gpl (3.22.23b-1) unstable; urgency=low
-
- * New upstream minor version.
- * Cleaned up the dependencies a bit.
-
- -- Christian Hammers <ch@debian.org> Sun, 27 Jun 1999 19:13:30 +0200
-
-mysql-gpl (3.22.22-1) unstable; urgency=low
-
- * New upstream version. (closes Bug#36493,37340)
- * New maintainer upload.
- * Package reorganisation: We prepare for the GPL'ed server which will
- * be released soon and make the structure more clear to the user.
-
- -- Christian Hammers <ch@debian.org> Mon, 3 May 1999 20:43:41 +0200
-
-mysql (3.22.21-1) unstable; urgency=low
-
- * Never released. TcX was too fast :-)
-
- -- Christian Hammers <ch@debian.org> Tue, 20 Apr 1999 17:22:04 +0200
-
-mysql-freebits (3.21.33b-3) unstable; urgency=low
-
- * Recompile with libncurses
-
- -- Scott Hanson <shanson@debian.org> Sat, 31 Oct 1998 15:04:39 +0100
-
-mysql-freebits (3.21.33b-2) unstable; urgency=low
-
- * Recompile with libstdc++2.9 (fixes #27792)
-
- -- Scott Hanson <shanson@debian.org> Mon, 12 Oct 1998 18:47:25 +0200
-
-mysql-freebits (3.21.33b-1) unstable; urgency=low
-
- * New upstream version (probably the last for 3.21)
-
- -- Scott Hanson <shanson@debian.org> Tue, 8 Sep 1998 18:59:37 +0200
-
-mysql-freebits (3.21.33-4) unstable; urgency=low
-
- * Separate out non-free source files, move mysql-base, mysql-dev, and
- * mysql-doc to main distribution
- * Locale files /usr/share/mysql/ now in server, not base; therefore...
- * Add conflict to mysql-server <=3.21.33-3
-
- -- Scott Hanson <shanson@debian.org> Fri, 31 Jul 1998 19:16:08 +0200
-
-mysql (3.21.33-3) unstable; urgency=low
-
- * Release to unstable with moved socket (fixes #24574)
- * Add conflict to old libdbd-mysql-perl package
-
- -- Scott Hanson <shanson@debian.org> Wed, 22 Jul 1998 22:17:43 +0200
-
-mysql (3.21.33-2) experimental; urgency=low
-
- * Move socket from /tmp to /var/run (see #24574)
- * Release to experimental, since this breaks everything statically
- * linked to libmysqlclient!
-
- -- Scott Hanson <shanson@debian.org> Wed, 15 Jul 1998 19:37:01 +0200
-
-mysql (3.21.33-1) unstable; urgency=low
-
- * New upstream release
-
- -- Scott Hanson <shanson@debian.org> Sun, 12 Jul 1998 08:18:18 +0200
-
-mysql (3.21.32a-1) unstable; urgency=low
-
- * New upstream release
- * Lintian bugs: ldconfig, missing manpage, call to perl5
- * Lintian bug shlib-with-non-pic-code _not_ yet fixed
-
- -- Scott Hanson <shanson@debian.org> Sat, 4 Jul 1998 07:57:13 +0200
-
-mysql (3.21.31-1) unstable frozen; urgency=low
-
- * New upstream release for hamm and slink (bug fixes only)
- * Fix unsecure use of temp file in mysqlbug (fixes #23606)
- * Added brief licensing information to control file
-
- -- Scott Hanson <shanson@debian.org> Tue, 16 Jun 1998 10:52:44 +0200
-
-mysql (3.21.30-3) unstable; urgency=low
-
- * Restore missing shared library dependencies for mysql-server
-
- -- Scott Hanson <shanson@debian.org> Mon, 15 Jun 1998 07:51:58 +0200
-
-mysql (3.21.30-2) unstable; urgency=low
-
- * Simplify debian/rules (fixes #17662)
- * Edit manual.texi to add "Debian notes" to documentation
- * Add note about passwords on command line (fixes #16471)
- * Add note about getting privleges for users (fixes #22891)
- * Correct "Possible license changes" heading (fixes #22711)
- * Add uninstalled header files to /usr/doc/mysql-dev/examples (fixes #22627)
- * Add udf_example.cc to /usr/doc/mysql-dev/examples (fixes #22710)
-
- -- Scott Hanson <shanson@debian.org> Sun, 7 Jun 1998 13:05:37 +0200
-
-mysql (3.21.30-1) unstable; urgency=low
-
- * Stable upstream release
-
- -- Scott Hanson <shanson@debian.org> Tue, 12 May 1998 22:13:25 +0200
-
-mysql (3.21.29gamma-1) unstable; urgency=low
-
- * New upstream release
- * Do not create 'mysql' subdirectory for libs and headers (fixes #19020)
- * Remove 'CXX=gcc' flag from configure (g++ now standard)
-
- -- Scott Hanson <shanson@debian.org> Sun, 12 Apr 1998 18:38:03 +0200
-
-mysql (3.21.28gamma-1) unstable; urgency=low
-
- * New upstream release
- * Unstable-only release; hamm stays at 3.21.25 for now
-
- -- Scott Hanson <shanson@debian.org> Thu, 2 Apr 1998 21:33:51 +0200
-
-mysql (3.21.25gamma-3) unstable frozen; urgency=low
-
- * Have mysql-base suggest perl >= 5.004 for mysqlaccess (fixes #19593)
- * Fix shlibs to refer to mysql-base rather than the no-longer-existant mysql
-
- -- Scott Hanson <shanson@debian.org> Thu, 26 Mar 1998 18:22:59 +0100
-
-mysql (3.21.25gamma-2) unstable; urgency=low
-
- * Restore libmysqlclient.so symlink to mysql-dev (fixes #19036)
-
- -- Scott Hanson <shanson@debian.org> Sun, 8 Mar 1998 10:46:43 +0100
-
-mysql (3.21.25gamma-1) unstable; urgency=low
-
- * Check if running as root in init.d script (fixes #18577)
- * New upstream release
-
- -- Scott Hanson <shanson@debian.org> Fri, 27 Feb 1998 20:01:30 +0100
-
-mysql (3.21.24gamma-1) unstable; urgency=low
-
- * New upstream release
-
- -- Scott Hanson <shanson@debian.org> Mon, 23 Feb 1998 08:14:17 +0100
-
-mysql (3.21.23beta-3) unstable; urgency=low
-
- * Squashed errors found by lintian
-
- -- Scott Hanson <shanson@debian.org> Tue, 17 Feb 1998 20:19:01 +0100
-
-mysql (3.21.23beta-2) unstable; urgency=low
-
- * Fixed overlaps with old mysql package (fixes #17843)
-
- -- Scott Hanson <shanson@debian.org> Thu, 5 Feb 1998 22:55:00 +0100
-
-mysql (3.21.23beta-1) unstable; urgency=low
-
- * New upstream release
- * Fix include lines in mysql.h (fixes #17827)
- * Move /usr/include/mysql to mysql-dev
-
- -- Scott Hanson <shanson@debian.org> Wed, 4 Feb 1998 19:59:14 +0100
-
-mysql (3.21.22beta-3) unstable; urgency=low
-
- * Correct descriptions in control file (fixes #17698)
- * Clean up output of shutdown script
-
- -- Scott Hanson <shanson@debian.org> Sat, 31 Jan 1998 19:04:29 +0100
-
-mysql (3.21.22beta-2) unstable; urgency=low
-
- * Split out mysql-dev and mysql-bench subpackages
-
- -- Scott Hanson <shanson@debian.org> Wed, 28 Jan 1998 19:52:27 +0100
-
-mysql (3.21.22beta-1) unstable; urgency=low
-
- * New upstream release
-
- -- Scott Hanson <shanson@debian.org> Wed, 28 Jan 1998 18:59:09 +0100
-
-mysql (3.21.21a.beta-2) unstable; urgency=low
-
- * Compile with libpthreads from libc6-dev_2.0.6-3 rather than statically
- linking to patched libpthreads (see changes to 3.20.29-2)
-
- -- Scott Hanson <shanson@debian.org> Sun, 25 Jan 1998 13:17:15 +0100
-
-mysql (3.21.21a.beta-1) unstable; urgency=low
-
- * Put initial database, mysql_install_db, safe_mysqld, isamlog and
- isamchk in mysql-server
- * Correct upstream release number so source packages are correctly built
-
- -- Scott Hanson <shanson@debian.org> Mon, 19 Jan 1998 07:52:48 +0100
-
-mysql (3.21.21.beta-1) unstable; urgency=low
-
- * Use debhelper where possible in rules
- * Split binary packages into mysql-base, mysql-client, mysql-doc
- * New upstream release
-
- -- Scott Hanson <shanson@debian.org> Thu, 15 Jan 1998 08:12:17 +0100
-
-mysql (3.21.19.beta-1) unstable; urgency=low
-
- * Offer to set root password in mysql_install_db
- * Kill `pidof mysqld` on shutdown rather than use mysqladmin
- * New upstream version
-
- -- Scott Hanson <shanson@debian.org> Fri, 9 Jan 1998 20:06:35 +0100
-
-mysql (3.21.17a.beta-2) unstable; urgency=low
-
- * Remove perl stuff (it's going back into libdbd-mysql-perl)
- * Remove conflict with libdbd-mysql-perl
- * Do not compress *html files (fixes #16314)
-
- -- Scott Hanson <shanson@debian.org> Tue, 30 Dec 1997 07:34:20 +0100
-
-mysql (3.21.17a.beta-1) unstable; urgency=low
-
- * Add conflict to libdbd-mysql-perl
- * Use --pid-file option to place pid file in /var/run rather than patching
- * Add install-info to postinst and postrm
- * Add filename to message shown by mysql_install_db (fixes #16621)
- * New upstream version
-
- -- Scott Hanson <shanson@debian.org> Sun, 21 Dec 1997 19:41:45 +0100
-
-mysql (3.20.32a-5) unstable; urgency=low
-
- * Move mysqld to /usr/lib/mysql, per policy discussion
- * Adjust makefiles so perl libs get installed
-
- -- Scott Hanson <shanson@debian.org> Wed, 3 Dec 1997 22:37:45 +0100
-
-mysql (3.20.32a-4) unstable; urgency=low
-
- * Move mysqld to /usr/sbin to comply with FSSTND
-
- -- Scott Hanson <shanson@debian.org> Mon, 3 Nov 1997 20:12:29 +0100
-
-mysql (3.20.32a-3) unstable; urgency=low
-
- * Comment out tests in mysql_install_db... for real this time!
-
- -- Scott Hanson <shanson@debian.org> Mon, 3 Nov 1997 07:32:53 +0100
-
-mysql (3.20.32a-2) unstable; urgency=low
-
- * Comment out tests in mysql_install_db (fixes #14304)
-
- -- Scott Hanson <shanson@debian.org> Sat, 1 Nov 1997 18:45:25 +0100
-
-mysql (3.20.32a-1) unstable; urgency=low
-
- * New upstream version
-
- -- Scott Hanson <shanson@debian.org> Wed, 29 Oct 1997 07:11:42 +0100
-
-mysql (3.20.29-2) unstable; urgency=low
-
- * New maintainer
- * Statically link mysqld to patched glibc-2.0.5 libpthread
- (works around #13586; see README.debian.glibc-2.0.5)
- * Conflict with libpthread0 (fixes #13448)
- * Don't link libg++, avoiding problems with glibc libpthread
-
- -- Scott Hanson <shanson@debian.org> Thu, 16 Oct 1997 19:25:23 +0200
-
-mysql (3.20.29-1) unstable; urgency=low
-
- * New upstream version
- * Recompiled with libc6
- * Include mysql-faq_toc.html (fixes #10885)
- * Reworked /etc/init.d/mysql script (thanks to Heiko)
- * Remove file /usr/lib/libmysqlclient.so.4 when package is removed.
- * Use absolute path specification for conffile
- * Use /usr/bin/perl instead of /bin/perl (fixes #10654)
- * Do not depend on mysql (fixes #12427)
- * Installed missing manpage for Mysql perl module
- * Don't use debstd anymore
- * Pristine source
- * Set section to `non-free/devel'
- * Upgraded to standards version 2.3.0.0
-
- -- Christian Schwarz <schwarz@debian.org> Fri, 12 Sep 1997 02:12:58 +0200
-
-mysql (3.20.16beta-2) unstable; urgency=low
-
- * Uses /usr/bin/perl instead of /bin/perl (fixes bug #9731)
- * Don't run mysqld with --log option
- * Don't install regex manual pages
- * Suggest package mysql-manual
- * Fixed typo in changelog
- * Upgrade to policy 2.1.3.2
-
- -- Christian Schwarz <schwarz@debian.org> Sun, 11 May 1997 14:19:26 +0200
-
-mysql (3.20.16beta-1) unstable; urgency=low
-
- * Initial Release.
-
- -- Christian Schwarz <schwarz@debian.org> Sat, 12 Apr 1997 13:51:28 +0200
+ * Bumped version numbers
+ * Added systemd service profile and script
+ * Standards version moved up to 3.9.6 in d/control
+ * Added dependencies to gawk as one script does not work with original-awk
+ * Dropped explicit dependency on multiarch-support, this is already managed
+ by ${misc:Pre-Depends).
+ * Added wsrep_sst_xtrabackup-v2 to d/mysql-wsrep-server-5.6.install
+ * Added "Provides: libmysqlclient-dev" to mysql-wsrep-libmysqlclient-dev
+ * Added "Replaces: libmysqlclient-dev" to mysql-wsrep-libmysqlclient-dev
+ * Moved mysql_plugin to server package as it controls the server plugins
+ * Removed langueage dublication from d/mysql-wsrep-server-5.6.install
+ * Make builds parallel Use MAKEFLAGS for parallel builds
+ * Added parallel build support via DEB_BUILD_OPTIONS
+ * d/rules: call dh_apparmor from override_dh_install so that it is run
+ before dh_installinit. This causes the AppArmor profile to be loaded
+ correctly before mysqld is started.
+ * Added innodb_stress tests to d/rules
+
+ -- Sergii Golovatiuk <sgolovatiuk@mirantis.com> Mon, 13 Jun 2016 11:16:00 +0200
+
+mysql-wsrep-5.6 (5.6.30-25.15-1) UNRELEASED; urgency=low
+
+ * Bump version numbers
+
+ -- Otto Kekäläinen <otto@seravo.fi> Wed, 22 Jun 2016 11:58:20 +0300
Source: mysql-wsrep-5.6
Section: database
Priority: optional
-Maintainer: MOS Linux team <mos-linux-team@mirantis.com>
-XSBC-Orig-Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
-Build-Depends:
- bison,
- chrpath,
- cmake,
- debhelper (>= 8.1.3~),
- dh-apparmor,
- gawk,
- hardening-wrapper,
- libaio-dev[linux-any],
- libncurses5-dev (>= 5.0-6),
- libreadline-dev,
- libwrap0-dev (>= 7.6-8.3),
- lsb-release,
- perl,
- po-debconf,
- psmisc,
- zlib1g-dev (>= 1:1.1.3-5),
- libssl-dev,
- libedit-dev
-Standards-Version: 3.9.3
-Homepage: http://dev.mysql.com/
-Vcs-Git: git://git.debian.org/git/pkg-mysql/mysql-5.6.git
-Vcs-Browser: http://git.debian.org/?p=pkg-mysql/mysql-5.6.git
-XS-Testsuite: autopkgtest
+Maintainer: MOS Linux Team <mos-linux@mirantis.com>
+Build-Depends: bison,
+ chrpath,
+ cmake,
+ debhelper (>= 9),
+ dh-apparmor,
+ dh-systemd (>= 1.5),
+ dpkg-dev (>= 1.16.1~),
+ gawk,
+ libaio-dev[linux-any],
+ libedit-dev,
+ libncurses5-dev (>= 5.0-6),
+ libssl-dev,
+ libwrap0-dev (>= 7.6-8.3),
+ lsb-release,
+ perl,
+ po-debconf,
+ psmisc,
+ zlib1g-dev (>= 1:1.1.3-5)
+Standards-Version: 3.9.8
+Homepage: http://galeracluster.com/
+Vcs-Git: https://github.com/codership/mysql-wsrep.git
+Vcs-Browser: https://github.com/codership/mysql-wsrep
-Package: mysql-wsrep-common-5.6
-Architecture: all
-Depends: mysql-common, ${misc:Depends}, ${shlibs:Depends}
-Multi-Arch: foreign
-Description: MySQL 5.6 specific common files, e.g. /etc/mysql/conf.d/my-5.6.cnf
+Package: mysql-wsrep-libmysqlclient18
+Section: libs
+Architecture: any
+Depends: mysql-wsrep-common-5.6, ${misc:Depends}, ${shlibs:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Replaces: libmysqlclient18
+Provides: libmysqlclient18
+Multi-Arch: same
+Description: MySQL database client library
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
+ .
+ This package includes the client library.
-Package: mysql-client-core-5.6
+Package: mysql-wsrep-libmysqlclient-dev
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Provides: virtual-mysql-client-core, mysql-client-core
-Breaks: mysql-client-5.5, mysql-client-core-5.5, virtual-mysql-client-core
-Replaces: mysql-client-5.5, mysql-client-core-5.5, virtual-mysql-client-core
-Description: MySQL database core client binaries
+Section: libdevel
+Replaces: libmysqlclient-dev
+Provides: libmysqlclient-dev
+Depends: mysql-wsrep-libmysqlclient18 (>= ${binary:Version}),
+ zlib1g-dev,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: MySQL database development files
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
- This package includes the core client files, as used by Akonadi.
+ This package includes development libraries and header files.
-Package: mysql-client-5.6
-Architecture: any
-Depends:
- debianutils (>=1.6),
- libdbd-mysql-perl (>= 1.2202),
- libdbi-perl,
- libterm-readkey-perl,
- mysql-client-core-5.6,
- mysql-common (>= 5.5),
- ${misc:Depends},
- ${perl:Depends},
- ${shlibs:Depends}
-Recommends: mysql-wsrep-common-5.6
-Provides: virtual-mysql-client, virtual-mysql-client-wsrep, mysql-client, mysql-client-wsrep
-Breaks: mysql-client-5.5, virtual-mysql-client, virtual-mysql-client-wsrep
-Replaces: mysql-client-5.5, virtual-mysql-client, virtual-mysql-client-wsrep
-Description: MySQL database client binaries
+Package: mysql-wsrep-common-5.6
+Architecture: all
+Depends: mysql-common, ${misc:Depends}, ${shlibs:Depends}
+Conflicts: mariadb-server-5.5,
+ mysql-server-5.5,
+ percona-xtradb-cluster-common-5.5
+Replaces: mariadb-server-5.5,
+ mysql-common,
+ mysql-common-5.5,
+ mysql-common-5.6,
+ mysql-server-5.5,
+ percona-xtradb-cluster-common-5.5
+Breaks: mariadb-common (<< 10.0.20-3~)
+Multi-Arch: foreign
+Description: MySQL database common files, e.g. /etc/mysql/conf.d/my-5.6.cnf
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
- This package includes the client binaries and the additional tools
- innotop and mysqlreport.
+ This package includes files needed by all versions of the client library,
+ e.g. /etc/mysql/my.cnf.
-Package: mysql-server-wsrep-core-5.6
+Package: mysql-client-5.6
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Provides: virtual-mysql-server-core, mysql-server-core, mysql-server-wsrep-core
-Breaks: mysql-server-core-5.5, virtual-mysql-server-core
-Replaces: mysql-server-core-5.5, virtual-mysql-server-core
-Description: MySQL database server binaries
+Depends: debianutils (>=1.6),
+ mysql-wsrep-common-5.6,
+ mysql-wsrep-libmysqlclient18,
+ ${misc:Depends},
+ ${perl:Depends},
+ ${shlibs:Depends}
+Provides: virtual-mysql-client,
+ mysql-client-5.6,
+ mysql-client-core-5.6,
+ mysql-wsrep-client-5.6
+Conflicts: mysql-client-5.5,
+Breaks: mysql-client-5.6,
+ mysql-client-5.5,
+ mysql-client-core-5.5,
+ mysql-client-core-5.6
+Replaces: mysql-client-5.6,
+ mysql-client-5.5,
+ mysql-client-core-5.5,
+ mysql-client-core-5.6,
+ virtual-mysql-client
+Recommends: libdbd-mysql-perl (>= 1.2202),
+ libdbi-perl,
+ libterm-readkey-perl
+Description: MySQL database client binaries
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
ease of use.
.
- This package includes the server binaries but doesn't contain all the
- infrastructure needed to setup system databases.
+ This package includes the client binaries and the additional tools
+ innotop and mysqlreport.
Package: mysql-server-wsrep-5.6
Architecture: any
Recommends: libhtml-template-perl
Suggests: mailx, tinyca
Pre-Depends: adduser (>= 3.40), debconf, mysql-wsrep-common-5.6
-Depends:
- initscripts,
- libdbi-perl,
- lsb-base (>= 3.0-10),
- mysql-client-5.6 (>= ${binary:Version}),
- mysql-server-wsrep-core-5.6 (= ${binary:Version}),
- passwd,
- perl (>= 5.6),
- psmisc,
- ${misc:Depends},
- ${shlibs:Depends}
-Provides: virtual-mysql-server, virtual-mysql-server-wsrep, mysql-server, mysql-server-wsrep
-Breaks: mysql-server-5.5, virtual-mysql-server, virtual-mysql-server-wsrep
-Replaces: mysql-server-5.5, virtual-mysql-server, virtual-mysql-server-wsrep
-Description: MySQL database server binaries and system database setup
+Depends: initscripts,
+ libdbi-perl,
+ lsb-base (>= 3.0-10),
+ lsof,
+ mysql-wsrep-client-5.6 (>= ${binary:Version}) | mysql-client-5.6 (>= ${binary:Version}),
+ passwd,
+ perl (>= 5.6),
+ psmisc,
+ rsync,
+ socat,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Provides: virtual-mysql-server,
+ mysql-server-5.6,
+ mysql-wsrep-server-5.6,
+ mysql-wsrep-server-core-5.6
+Breaks: mysql-server-5.5,
+ mysql-server-5.6,
+ mysql-server-core-5.5,
+ mysql-server-core-5.6,
+ virtual-mysql-server
+Replaces: mysql-server-5.5, mysql-server-5.6, virtual-mysql-server
+Description: MySQL database wsrep server binaries and system database setup
MySQL is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
language in the world. The main goals of MySQL are speed, robustness and
This package contains all the infrastructure needed to setup system
databases.
-Package: mysql-testsuite-5.6
+Package: mysql-wsrep-testsuite-5.6
Architecture: any
-Depends:
- mysql-client-5.6 (= ${binary:Version}),
- mysql-server-wsrep-5.6 (= ${binary:Version}),
- ${misc:Depends},
- ${shlibs:Depends}
-Provides: virtual-mysql-testsuite, mysql-testsuite
-Breaks: mysql-testsuite-5.5, virtual-mysql-testsuite
-Replaces: mysql-testsuite-5.5, virtual-mysql-testsuite
+Depends: mysql-wsrep-client-5.6 (= ${binary:Version}) | mysql-client-5.6 (= ${binary:Version}),
+ mysql-wsrep-server-5.6 (= ${binary:Version}) | mysql-server-wsrep-5.6 (= ${binary:Version}),
+ libjson-perl,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Provides: virtual-mysql-testsuite
+Breaks: mysql-testsuite-5.5, mysql-testsuite-5.6, virtual-mysql-testsuite
+Replaces: mysql-testsuite-5.5, mysql-testsuite-5.6, virtual-mysql-testsuite
Description: MySQL 5.6 testsuite
MySQL is a fast, stable, and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
.
This package includes the MySQL testsuite.
-Package: mysql-source-5.6
+Package: mysql-wsrep-5.6
Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}
-Description: MySQL source
- MySQL is a fast, stable, and true multi-user, multi-threaded SQL database
- server. SQL (Structured Query Language) is the most popular database query
- language in the world. The main goals of MySQL are speed, robustness and
- ease of use.
- .
- This package includes the MySQL source code as configured before building
- - but after the arch specific configuration. This is currently required for
- building plugins.
+Depends: mysql-wsrep-client-5.6 (= ${binary:Version}) | mysql-client-5.6 (= ${binary:Version}),
+ mysql-wsrep-server-5.6 (= ${binary:Version}) | mysql-server-wsrep-5.6 (= ${binary:Version}),
+ ${misc:Depends}
+Description: Metapackage that installs mysql-wsrep client and server packages.
[DEFAULT]
-debian-branch = 5.6-debian
-upstream-branch = 5.6-debian
+# Ignore requirement to use branch name 'master' to make it easier
+# for contributors to work with feature and bugfix branches
+ignore-branch = True
+
+upstream-branch = 5.6
upstream-tree = branch
pristine-tar = False
+++ /dev/null
-debian/tmp/usr/share/man/man1/mysql_config.1
+++ /dev/null
-usr/lib/*/libmysqlclient.so.18.1*
+++ /dev/null
-# I take this issue seriously but as per bug #590905
-# it will need playing with in experimental. - periapt
-libmysqlclient18.1: no-symbols-control-file usr/lib/i386-linux-gnu/libmysqlclient.so.18.1.0
-# Now that MySQL 5.6 client library package is name 18.1
-# so will have no other option but to overlook both errors
-libmysqlclient18.1: package-name-doesnt-match-sonames libmysqlclient18
-libmysqlclient18.1: ldconfig-symlink-referencing-wrong-file usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 -> libmysqlclient.so.18.1 instead of libmysqlclient.so.18.1.0
-usr/lib/*/libmysqld.a
usr/lib/*/libmysqlservices.a
+# this executable reprsent the embedded mysql server client
debian/additions/innotop/innotop usr/bin/
debian/additions/mysqlreport usr/bin/
usr/bin/innochecksum
usr/bin/myisam_ftdump
+usr/bin/mysql
usr/bin/mysql_client_test
-#usr/bin/mysql_client_test_embedded
usr/bin/mysql_config_editor
usr/bin/mysql_find_rows
usr/bin/mysql_fix_extensions
-usr/bin/mysql_plugin
usr/bin/mysql_waitpid
usr/bin/mysqlaccess
usr/bin/mysqladmin
usr/bin/mysqlbug
+usr/bin/mysqlcheck
usr/bin/mysqldump
usr/bin/mysqldumpslow
usr/bin/mysqlimport
debian/additions/innotop/innotop.1
-debian/tmp/usr/share/man/man1/myisam_ftdump.1
-debian/tmp/usr/share/man/man1/mysqlaccess.1
-debian/tmp/usr/share/man/man1/mysqladmin.1
-debian/tmp/usr/share/man/man1/mysqlbug.1
-debian/tmp/usr/share/man/man1/mysql_client_test.1
-#debian/tmp/usr/share/man/man1/mysql_client_test_embedded.1
-debian/tmp/usr/share/man/man1/mysql_config_editor.1
-debian/tmp/usr/share/man/man1/mysqldump.1
-debian/tmp/usr/share/man/man1/mysqldumpslow.1
-debian/tmp/usr/share/man/man1/mysql_find_rows.1
-debian/tmp/usr/share/man/man1/mysql_fix_extensions.1
-debian/tmp/usr/share/man/man1/mysqlimport.1
debian/tmp/usr/share/man/man1/mysqlman.1
debian/additions/mysqlreport.1
-debian/tmp/usr/share/man/man1/mysqlshow.1
-debian/tmp/usr/share/man/man1/mysqlslap.1
-debian/tmp/usr/share/man/man1/mysql_waitpid.1
-debian/tmp/usr/share/man/man1/mysql_plugin.1
+debian/tmp/usr/share/man/man1/mysql_embedded.1
+++ /dev/null
-# this executable reprsent the embedded mysql server client
-usr/bin/mysql
-#usr/bin/mysql_embedded
-usr/bin/mysqlcheck
+++ /dev/null
-debian/tmp/usr/share/man/man1/mysql.1
-#debian/tmp/usr/share/man/man1/mysql_embedded.1
-debian/tmp/usr/share/man/man1/mysqlcheck.1
db_go
fi
-# only ask this question on fresh installs, during "reconfiguration" and when
+# only ask this question on fresh installs, during "reconfiguration" and when
# not upgrading from an existing 5.0 installation.
# there is also an additional check for empty root passwords in the
# postinst script when the tools are available for us to use.
fi
db_fset mysql-server/password_mismatch seen false
db_input critical mysql-server/password_mismatch
- db_set mysql-server/root_password ""
+ db_set mysql-server/root_password ""
db_set mysql-server/root_password_again ""
db_go
done
-etc/init.d
-etc/logrotate.d
etc/mysql/conf.d
-usr/bin
-usr/share/mysql
var/lib/mysql-upgrade
-debian/tmp/usr/share/mysql/*cnf
+debian/tmp/usr/share/mysql/wsrep.cnf
debian/tmp/usr/share/mysql/magic
debian/tmp/usr/lib/mysql/plugin/daemon_example.ini
#usr/share/mysql/config.medium.ini
#usr/share/mysql/config.small.ini
#usr/share/mysql/ndb-config-2-node.ini
-#debian/additions/mysqld_safe_syslog.cnf etc/mysql/conf.d/
+debian/additions/mysqld_safe_syslog.cnf etc/mysql/conf.d/
+etc/apparmor.d/usr.sbin.mysqld
+etc/init.d/mysql
etc/mysql/debian-start
usr/bin/msql2mysql
+usr/bin/my_print_defaults
usr/bin/myisamchk
usr/bin/myisamlog
usr/bin/myisampack
usr/bin/mysql_convert_table_format
+usr/bin/mysql_install_db
+usr/bin/mysql_plugin
usr/bin/mysql_secure_installation
usr/bin/mysql_setpermission
usr/bin/mysql_tzinfo_to_sql
+usr/bin/mysql_upgrade
usr/bin/mysql_zap
usr/bin/mysqlbinlog
usr/bin/mysqld_multi
usr/bin/mysqld_safe
usr/bin/mysqlhotcopy
usr/bin/mysqltest
-#usr/bin/mysqltest_embedded
usr/bin/perror
usr/bin/replace
usr/bin/resolve_stack_dump
usr/bin/resolveip
+usr/bin/wsrep_sst_common
+usr/bin/wsrep_sst_mysqldump
+usr/bin/wsrep_sst_rsync
+usr/bin/wsrep_sst_xtrabackup
+usr/bin/wsrep_sst_xtrabackup-v2
usr/lib/mysql/plugin/*.so
+usr/sbin/mysqld
usr/share/doc/mysql-server-5.6/
+usr/share/mysql/bulgarian
+usr/share/mysql/charsets
+usr/share/mysql/czech
+usr/share/mysql/danish
usr/share/mysql/debian-start.inc.sh
usr/share/mysql/debian_create_root_user.sql
+usr/share/mysql/dictionary.txt
+usr/share/mysql/dutch
usr/share/mysql/echo_stderr
+usr/share/mysql/english
usr/share/mysql/errmsg-utf8.txt
+usr/share/mysql/mysql-systemd-start
+usr/share/mysql/estonian
+usr/share/mysql/fill_help_tables.sql
+usr/share/mysql/french
+usr/share/mysql/german
+usr/share/mysql/greek
+usr/share/mysql/hungarian
+usr/share/mysql/innodb_memcached_config.sql
+usr/share/mysql/italian
+usr/share/mysql/japanese
+usr/share/mysql/korean
+usr/share/mysql/mysql_security_commands.sql
+usr/share/mysql/mysql_system_tables.sql
+usr/share/mysql/mysql_system_tables_data.sql
usr/share/mysql/mysql_test_data_timezone.sql
usr/share/mysql/mysqld_multi.server
-#etc/apparmor.d/usr.sbin.mysqld
+usr/share/mysql/norwegian
+usr/share/mysql/norwegian-ny
+usr/share/mysql/polish
+usr/share/mysql/portuguese
+usr/share/mysql/romanian
+usr/share/mysql/russian
+usr/share/mysql/serbian
+usr/share/mysql/slovak
+usr/share/mysql/spanish
+usr/share/mysql/swedish
+usr/share/mysql/ukrainian
+usr/share/mysql/wsrep.cnf
+usr/share/mysql/my-default.cnf
# These long lines reproduce actual output and to reformat them
# would damage the integrity of the man page.
# mysql-server-5.6: manpage-has-errors-from-man usr/share/man/man1/mysqlbinlog.1.gz 1405: warning [p 9, 7.5i, div `3tbd3,2', 0.8i]: can't break line
+# These are random occurrences of a pseudo word in a binary.
+mysql-server-5.6: spelling-error-in-binary usr/sbin/mysqld yuR your
-debian/tmp/usr/share/man/man1/msql2mysql.1
-debian/tmp/usr/share/man/man1/myisamchk.1
-debian/tmp/usr/share/man/man1/myisamlog.1
-debian/tmp/usr/share/man/man1/myisampack.1
-debian/tmp/usr/share/man/man1/mysqlbinlog.1
-debian/tmp/usr/share/man/man1/mysql_convert_table_format.1
-debian/tmp/usr/share/man/man1/mysqld_multi.1
-debian/tmp/usr/share/man/man1/mysqld_safe.1
-debian/tmp/usr/share/man/man1/mysqlhotcopy.1
-debian/tmp/usr/share/man/man1/mysql_secure_installation.1
-debian/tmp/usr/share/man/man1/mysql_setpermission.1
-debian/tmp/usr/share/man/man1/mysqltest.1
-#debian/tmp/usr/share/man/man1/mysqltest_embedded.1
-debian/tmp/usr/share/man/man1/mysql_zap.1
-debian/tmp/usr/share/man/man1/perror.1
-debian/tmp/usr/share/man/man1/replace.1
-debian/tmp/usr/share/man/man1/resolveip.1
-debian/tmp/usr/share/man/man1/resolve_stack_dump.1
-debian/tmp/usr/share/man/man1/innochecksum.1
-debian/tmp/usr/share/man/man1/mysql_tzinfo_to_sql.1
+++ /dev/null
-#!/bin/bash
-#
-### BEGIN INIT INFO
-# Provides: mysql
-# Required-Start: $remote_fs $syslog
-# Required-Stop: $remote_fs $syslog
-# Should-Start: $network $time
-# Should-Stop: $network $time
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start and stop the mysql database server daemon
-# Description: Controls the main MySQL database server daemon "mysqld"
-# and its wrapper script "mysqld_safe".
-### END INIT INFO
-#
-set -e
-set -u
-${DEBIAN_SCRIPT_DEBUG:+ set -v -x}
-
-test -x /usr/bin/mysqld_safe || exit 0
-
-. /lib/lsb/init-functions
-
-SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
-CONF=/etc/mysql/my.cnf
-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
-
-# priority can be overriden and "-s" adds output to stderr
-ERR_LOGGER="logger -p daemon.err -t /etc/init.d/mysql -i"
-
-# Safeguard (relative paths, core dumps..)
-cd /
-umask 077
-
-# mysqladmin likes to read /root/.my.cnf. This is usually not what I want
-# as many admins e.g. only store a password without a username there and
-# so break my scripts.
-export HOME=/etc/mysql/
-
-## Fetch a particular option from mysql's invocation.
-#
-# Usage: void mysqld_get_param option
-mysqld_get_param() {
- /usr/sbin/mysqld --print-defaults \
- | tr " " "\n" \
- | grep -- "--$1" \
- | tail -n 1 \
- | cut -d= -f2
-}
-
-## Do some sanity checks before even trying to start mysqld.
-sanity_checks() {
- # check for config file
- if [ ! -r /etc/mysql/my.cnf ]; then
- log_warning_msg "$0: WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz"
- echo "WARNING: /etc/mysql/my.cnf cannot be read. See README.Debian.gz" | $ERR_LOGGER
- fi
-
- # check for diskspace shortage
- datadir=`mysqld_get_param datadir`
- if LC_ALL=C BLOCKSIZE= df --portability $datadir/. | tail -n 1 | awk '{ exit ($4>4096) }'; then
- log_failure_msg "$0: ERROR: The partition with $datadir is too full!"
- echo "ERROR: The partition with $datadir is too full!" | $ERR_LOGGER
- exit 1
- fi
-}
-
-## Checks if there is a server running and if so if it is accessible.
-#
-# check_alive insists on a pingable server
-# check_dead also fails if there is a lost mysqld in the process list
-#
-# Usage: boolean mysqld_status [check_alive|check_dead] [warn|nowarn]
-mysqld_status () {
- ping_output=`$MYADMIN ping 2>&1`; ping_alive=$(( ! $? ))
-
- ps_alive=0
- pidfile=`mysqld_get_param pid-file`
- if [ -f "$pidfile" ] && ps `cat $pidfile` >/dev/null 2>&1; then ps_alive=1; fi
-
- if [ "$1" = "check_alive" -a $ping_alive = 1 ] ||
- [ "$1" = "check_dead" -a $ping_alive = 0 -a $ps_alive = 0 ]; then
- return 0 # EXIT_SUCCESS
- else
- if [ "$2" = "warn" ]; then
- echo -e "$ps_alive processes alive and '$MYADMIN ping' resulted in\n$ping_output\n" | $ERR_LOGGER -p daemon.debug
- fi
- return 1 # EXIT_FAILURE
- fi
-}
-
-#
-# main()
-#
-
-case "${1:-''}" in
- 'start')
- sanity_checks;
- # Start daemon
- log_daemon_msg "Starting MySQL database server" "mysqld"
- if mysqld_status check_alive nowarn; then
- log_progress_msg "already running"
- log_end_msg 0
- else
- # Could be removed during boot
- test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
-
- # Start MySQL!
- su - mysql -s /bin/sh -c "/usr/bin/mysqld_safe > /dev/null 2>&1 &"
-
- # 6s was reported in #352070 to be too few when using ndbcluster
- # 14s was reported in #736452 to be too few with large installs
- for i in $(seq 1 30); do
- sleep 1
- if mysqld_status check_alive nowarn ; then break; fi
- log_progress_msg "."
- done
- if mysqld_status check_alive warn; then
- log_end_msg 0
- # Now start mysqlcheck or whatever the admin wants.
- output=$(/etc/mysql/debian-start)
- [ -n "$output" ] && log_action_msg "$output"
- else
- log_end_msg 1
- log_failure_msg "Please take a look at the syslog"
- fi
- fi
- ;;
-
- 'stop')
- # * As a passwordless mysqladmin (e.g. via ~/.my.cnf) must be possible
- # at least for cron, we can rely on it here, too. (although we have
- # to specify it explicit as e.g. sudo environments points to the normal
- # users home and not /root)
- log_daemon_msg "Stopping MySQL database server" "mysqld"
- if ! mysqld_status check_dead nowarn; then
- set +e
- shutdown_out=`$MYADMIN shutdown 2>&1`; r=$?
- set -e
- if [ "$r" -ne 0 ]; then
- log_end_msg 1
- [ "$VERBOSE" != "no" ] && log_failure_msg "Error: $shutdown_out"
- log_daemon_msg "Killing MySQL database server by signal" "mysqld"
- killall -15 mysqld
- server_down=
- for i in 1 2 3 4 5 6 7 8 9 10; do
- sleep 1
- if mysqld_status check_dead nowarn; then server_down=1; break; fi
- done
- if test -z "$server_down"; then killall -9 mysqld; fi
- fi
- fi
-
- if ! mysqld_status check_dead warn; then
- log_end_msg 1
- log_failure_msg "Please stop MySQL manually and read /usr/share/doc/mysql-server-5.6/README.Debian.gz!"
- exit -1
- else
- log_end_msg 0
- fi
- ;;
-
- 'restart')
- set +e; $SELF stop; set -e
- $SELF start
- ;;
-
- 'reload'|'force-reload')
- log_daemon_msg "Reloading MySQL database server" "mysqld"
- $MYADMIN reload
- log_end_msg 0
- ;;
-
- 'status')
- if mysqld_status check_alive nowarn; then
- log_action_msg "$($MYADMIN version)"
- else
- log_action_msg "MySQL is stopped."
- exit 3
- fi
- ;;
-
- *)
- echo "Usage: $SELF start|stop|restart|reload|force-reload|status"
- exit 1
- ;;
-esac
-
--- /dev/null
+# MySQL systemd service file
+
+[Unit]
+Description=MySQL Community Server
+After=network.target
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+User=mysql
+Group=mysql
+PermissionsStartOnly=true
+ExecStartPre=/usr/share/mysql/mysql-systemd-start pre
+ExecStart=/usr/bin/mysqld_safe
+ExecStartPost=/usr/share/mysql/mysql-systemd-start post
+TimeoutSec=600
+Restart=on-failure
+RuntimeDirectory=mysqld
+RuntimeDirectoryMode=755
#Sanity checks
[ -r $HOME/my.cnf ]
[ -d /var/run/mysqld ] || install -m 755 -o mysql -g root -d /var/run/mysqld
- #/lib/init/apparmor-profile-load usr.sbin.mysqld
+ /lib/init/apparmor-profile-load usr.sbin.mysqld
# check for diskspace shortage
datadir=`mysqld_get_param datadir`
-#!/bin/sh
+#!/bin/bash
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
+
+export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
+
+# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
+ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
+
+invoke() {
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ invoke-rc.d mysql $1
+ else
+ /etc/init.d/mysql $1
+ fi
+}
+
+MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables"
+
+test_mysql_access() {
+ mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
+}
+
+# call with $1 = "online" to connect to the server, otherwise it bootstraps
+set_mysql_rootpw() {
+ # forget we ever saw the password. don't use reset to keep the seen status
+ db_set mysql-server/root_password ""
+ db_set mysql-server/root_password_again ""
+
+ tfile=`mktemp`
+ if [ ! -f "$tfile" ]; then
+ return 1
+ fi
+
+ # this avoids us having to call "test" or "[" on $rootpw
+ cat << EOF > $tfile
+USE mysql;
+UPDATE user SET password=PASSWORD("$rootpw") WHERE user='root';
+FLUSH PRIVILEGES;
+EOF
+ if grep -q 'PASSWORD("")' $tfile; then
+ retval=0
+ elif [ "$1" = "online" ]; then
+ mysql --no-defaults -u root -h localhost <$tfile >/dev/null
+ retval=$?
+ else
+ $MYSQL_BOOTSTRAP <$tfile
+ retval=$?
+ fi
+ rm -f $tfile
+ return $retval
+}
+
+# This is necessary because mysql_install_db removes the pid file in /var/run
+# and because changed configuration options should take effect immediately.
+# In case the server wasn't running at all it should be ok if the stop
+# script fails. I can't tell at this point because of the cleaned /var/run.
+set +e; invoke stop; set -e
case "$1" in
configure)
mysql_logdir=/var/log/mysql
mysql_cfgdir=/etc/mysql
mysql_upgradedir=/var/lib/mysql-upgrade
+ mysql_filesdir=/var/lib/mysql-files
# Ensure the existence and right permissions for the database and
# log files.
if [ ! -d "$mysql_statedir" -a ! -L "$mysql_statedir" ]; then mkdir "$mysql_statedir"; fi
if [ ! -d "$mysql_statedir/mysql" -a ! -L "$mysql_statedir/mysql" ]; then mkdir "$mysql_statedir/mysql"; fi
if [ ! -d "$mysql_logdir" -a ! -L "$mysql_logdir" ]; then mkdir "$mysql_logdir"; fi
+ if [ ! -d "$mysql_filesdir" -a ! -L "$mysql_filesdir" ]; then mkdir "$mysql_filesdir"; fi
# When creating an ext3 jounal on an already mounted filesystem like e.g.
# /var/lib/mysql, you get a .journal file that is not modifyable by chown.
# The mysql_datadir must not be writable by the mysql user under any
if [ ! -d "$mysql_rundir" ]; then mkdir "$mysql_rundir"; fi
chown -R mysql $mysql_rundir
touch $mysql_logdir/error.log
+ chown -R mysql:mysql $mysql_filesdir
+ chmod 700 $mysql_filesdir
chown -R mysql:adm $mysql_logdir
chmod 0750 $mysql_logdir
chmod 0640 $mysql_logdir/error.log
+ set -e
+
+ # This is important to avoid dataloss when there is a removed
+ # mysql-server version from Woody lying around which used the same
+ # data directory and then somewhen gets purged by the admin.
+ db_set mysql-server/postrm_remove_database false || true
+
+ # To avoid downgrades.
+ touch $mysql_statedir/debian-5.6.flag
+
+ # initiate databases. Output is not allowed by debconf :-(
+ # Debian: can safely run on upgrades with existing databases
+
+ set +e
+ tfile_select_db=`mktemp`
+ echo "USE mysql;" > $tfile_select_db
+ MYSQL_EXTRA_OPTS=" --default-storage-engine=myisam --lc-messages-dir=/usr/share/mysql/english/.."
+ MYSQL_CMDLINE=$MYSQL_BOOTSTRAP$MYSQL_EXTRA_OPTS
+ cat $tfile_select_db $mysql_datadir/mysql_system_tables.sql $mysql_datadir/debian_create_root_user.sql $mysql_datadir/fill_help_tables.sql | $MYSQL_CMDLINE 2>&1 | $ERR_LOGGER
+ rm $tfile_select_db
+ set -e
+
+ ## On every reconfiguration the maintenance user is recreated.
+ #
+ # - It is easier to regenerate the password every time but as people
+ # use fancy rsync scripts and file alteration monitors, the existing
+ # password is used and existing files not touched.
+ # - The mysqld statement is like that in mysql_install_db because the
+ # server is not already running. This has some implications:
+ # - The amount of newlines and semicolons in the query is important!
+ # - GRANT is not possible with --skip-grant-tables and "INSERT
+ # (user,host..) VALUES" is not --ansi compliant
+ # - The echo is just for readability. ash's buildin has no "-e" so use /bin/echo.
+ # - The Super_priv, Show_db_priv, Create_tmp_table_priv and Lock_tables_priv
+ # may not be present as old Woody 3.23 databases did not have it and the
+ # admin might not already have run mysql_upgrade which adds them.
+ # As the binlog cron scripts to need at least the Super_priv, I do first
+ # the old query which always succeeds and then the new which may or may not.
+
+ # recreate the credentials file if not present or without mysql_upgrade stanza
+ dc=$mysql_cfgdir/debian.cnf;
+ if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null`" ]; then
+ pass="`sed -n 's/^[ ]*password *= *// p' $dc | head -n 1`"
+ else
+ pass=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
+ if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir; fi
+ umask 066
+ cat /dev/null > $dc
+ umask 022
+ echo "# Automatically generated for Debian scripts. DO NOT TOUCH!" >>$dc
+ echo "[client]" >>$dc
+ echo "host = localhost" >>$dc
+ echo "user = debian-sys-maint" >>$dc
+ echo "password = $pass" >>$dc
+ echo "socket = $mysql_rundir/mysqld.sock" >>$dc
+ echo "[mysql_upgrade]" >>$dc
+ echo "host = localhost" >>$dc
+ echo "user = debian-sys-maint" >>$dc
+ echo "password = $pass" >>$dc
+ echo "socket = $mysql_rundir/mysqld.sock" >>$dc
+ echo "basedir = /usr" >>$dc
+ fi
+ # If this dir chmod go+w then the admin did it. But this file should not.
+ chown 0:0 $dc
+ chmod 0600 $dc
+
+ replace_query=`echo -e \
+ "USE mysql;\n" \
+ "REPLACE INTO user SET " \
+ " host='localhost', user='debian-sys-maint', password=password('$pass'), " \
+ " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
+ " Create_priv='Y', Drop_priv='Y', Reload_priv='Y', Shutdown_priv='Y', " \
+ " Process_priv='Y', File_priv='Y', Grant_priv='Y', References_priv='Y', " \
+ " Index_priv='Y', Alter_priv='Y', Super_priv='Y', Show_db_priv='Y', "\
+ " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\
+ " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\
+ " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\
+ " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y'; "`;
+ # Engines supported by etch should be installed per default. The query sequence is supposed
+ # to be aborted if the CREATE TABLE fails due to an already existent table in which case the
+ # admin might already have chosen to remove one or more plugins. Newlines are necessary.
+ install_plugins=`echo -e \
+ "USE mysql;\n" \
+ "CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
+ " dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
+ " PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';\n" \
+ "INSERT INTO plugin VALUES ('innodb', 'ha_innodb.so');\n" \
+ "INSERT INTO plugin VALUES ('federated', 'ha_federated.so');\n" \
+ "INSERT INTO plugin VALUES ('blackhole', 'ha_blackhole.so');\n" \
+ "INSERT INTO plugin VALUES ('archive', 'ha_archive.so');" `
+
+ db_get mysql-server/root_password && rootpw="$RET"
+ if ! set_mysql_rootpw; then
+ password_error="yes"
+ fi
+
+ echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
+ set +e
+ echo "$install_plugins" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
+ set -e
;;
abort-upgrade|abort-remove|abort-configure)
;;
esac
-# ESP Package Manager v4.2
-update-rc.d -f mysql remove >/dev/null || exit
-ldconfig -n /usr/lib/mysql
-#test -d /var/lib/mysql || (mysql_install_db --user=mysql --datadir=/var/lib/mysql)
-# Run mysql_install_db only if postinst was called during install, not upgrade
-if [ -z "$2" ]; then
- # it seems that we can run mysql_install_db regardless of existing tables.
- mysql_install_db --wsrep-on=0 --user=mysql --datadir=/var/lib/mysql --basedir=/usr
+# here we check to see if we can connect as root without a password
+# this should catch upgrades from previous versions where the root
+# password wasn't set. if there is a password, or if the connection
+# fails for any other reason, nothing happens.
+if [ "$1" = "configure" ]; then
+ if test_mysql_access; then
+ db_input medium mysql-server/root_password || true
+ db_go
+ db_get mysql-server/root_password && rootpw="$RET"
+
+ if ! set_mysql_rootpw "online"; then
+ password_error="yes"
+ fi
+ fi
+
+ if [ "$password_error" = "yes" ]; then
+ db_input high mysql-server/error_setting_password || true
+ db_go
+ fi
+
fi
-# This is a fix/workaround for AppArmor profile provided with mysql-server deb
-[ ! -d /etc/apparmor.d/disable ] || \
-( cd /etc/apparmor.d/disable && ln -sf ../usr.sbin.mysqld ./ )
-[ ! -x /etc/init.d/apparmor ] || /etc/init.d/apparmor restart
+
+db_stop # in case invoke failes
+
+#DEBHELPER#
+
+exit 0
+++ /dev/null
-#!/bin/bash
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
-
-export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
-
-# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
-ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
-
-invoke() {
- if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d mysql $1
- else
- /etc/init.d/mysql $1
- fi
-}
-
-MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables"
-
-test_mysql_access() {
- mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
-}
-
-# call with $1 = "online" to connect to the server, otherwise it bootstraps
-set_mysql_rootpw() {
- # forget we ever saw the password. don't use reset to keep the seen status
- db_set mysql-server/root_password ""
- db_set mysql-server/root_password_again ""
-
- tfile=`mktemp`
- if [ ! -f "$tfile" ]; then
- return 1
- fi
-
- # this avoids us having to call "test" or "[" on $rootpw
- cat << EOF > $tfile
-USE mysql;
-UPDATE user SET password=PASSWORD("$rootpw") WHERE user='root';
-FLUSH PRIVILEGES;
-EOF
- if grep -q 'PASSWORD("")' $tfile; then
- retval=0
- elif [ "$1" = "online" ]; then
- mysql --no-defaults -u root -h localhost <$tfile >/dev/null
- retval=$?
- else
- $MYSQL_BOOTSTRAP <$tfile
- retval=$?
- fi
- rm -f $tfile
- return $retval
-}
-
-# This is necessary because mysql_install_db removes the pid file in /var/run
-# and because changed configuration options should take effect immediately.
-# In case the server wasn't running at all it should be ok if the stop
-# script fails. I can't tell at this point because of the cleaned /var/run.
-set +e; invoke stop; set -e
-
-case "$1" in
- configure)
- mysql_datadir=/usr/share/mysql
- mysql_statedir=/var/lib/mysql
- mysql_rundir=/var/run/mysqld
- mysql_logdir=/var/log/mysql
- mysql_cfgdir=/etc/mysql
- mysql_upgradedir=/var/lib/mysql-upgrade
-
- # Ensure the existence and right permissions for the database and
- # log files.
- if [ ! -d "$mysql_statedir" -a ! -L "$mysql_statedir" ]; then mkdir "$mysql_statedir"; fi
- if [ ! -d "$mysql_statedir/mysql" -a ! -L "$mysql_statedir/mysql" ]; then mkdir "$mysql_statedir/mysql"; fi
- if [ ! -d "$mysql_logdir" -a ! -L "$mysql_logdir" ]; then mkdir "$mysql_logdir"; fi
- # When creating an ext3 jounal on an already mounted filesystem like e.g.
- # /var/lib/mysql, you get a .journal file that is not modifyable by chown.
- # The mysql_datadir must not be writable by the mysql user under any
- # circumstances as it contains scripts that are executed by root.
- set +e
- chown -R 0:0 $mysql_datadir
- chown -R mysql $mysql_statedir
- chmod 700 $mysql_statedir $mysql_statedir/mysql
- if [ ! -d "$mysql_rundir" ]; then mkdir "$mysql_rundir"; fi
- chown -R mysql $mysql_rundir
- touch $mysql_logdir/error.log
- chown -R mysql:adm $mysql_logdir
- chmod 0750 $mysql_logdir
- chmod 0640 $mysql_logdir/error.log
- set -e
-
- # This is important to avoid dataloss when there is a removed
- # mysql-server version from Woody lying around which used the same
- # data directory and then somewhen gets purged by the admin.
- db_set mysql-server/postrm_remove_database false || true
-
- # To avoid downgrades.
- touch $mysql_statedir/debian-5.6.flag
-
- # initiate databases. Output is not allowed by debconf :-(
- # Debian: can safely run on upgrades with existing databases
-
- set +e
- tfile_select_db=`mktemp`
- echo "USE mysql;" > $tfile_select_db
- MYSQL_EXTRA_OPTS=" --default-storage-engine=myisam --lc-messages-dir=/usr/share/mysql/english/.."
- MYSQL_CMDLINE=$MYSQL_BOOTSTRAP$MYSQL_EXTRA_OPTS
- cat $tfile_select_db $mysql_datadir/mysql_system_tables.sql $mysql_datadir/debian_create_root_user.sql $mysql_datadir/fill_help_tables.sql | $MYSQL_CMDLINE 2>&1 | $ERR_LOGGER
- rm $tfile_select_db
- set -e
-
- ## On every reconfiguration the maintenance user is recreated.
- #
- # - It is easier to regenerate the password every time but as people
- # use fancy rsync scripts and file alteration monitors, the existing
- # password is used and existing files not touched.
- # - The mysqld statement is like that in mysql_install_db because the
- # server is not already running. This has some implications:
- # - The amount of newlines and semicolons in the query is important!
- # - GRANT is not possible with --skip-grant-tables and "INSERT
- # (user,host..) VALUES" is not --ansi compliant
- # - The echo is just for readability. ash's buildin has no "-e" so use /bin/echo.
- # - The Super_priv, Show_db_priv, Create_tmp_table_priv and Lock_tables_priv
- # may not be present as old Woody 3.23 databases did not have it and the
- # admin might not already have run mysql_upgrade which adds them.
- # As the binlog cron scripts to need at least the Super_priv, I do first
- # the old query which always succeeds and then the new which may or may not.
-
- # recreate the credentials file if not present or without mysql_upgrade stanza
- dc=$mysql_cfgdir/debian.cnf;
- if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null`" ]; then
- pass="`sed -n 's/^[ ]*password *= *// p' $dc | head -n 1`"
- else
- pass=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
- if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir; fi
- umask 066
- cat /dev/null > $dc
- umask 022
- echo "# Automatically generated for Debian scripts. DO NOT TOUCH!" >>$dc
- echo "[client]" >>$dc
- echo "host = localhost" >>$dc
- echo "user = debian-sys-maint" >>$dc
- echo "password = $pass" >>$dc
- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
- echo "[mysql_upgrade]" >>$dc
- echo "host = localhost" >>$dc
- echo "user = debian-sys-maint" >>$dc
- echo "password = $pass" >>$dc
- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
- echo "basedir = /usr" >>$dc
- fi
- # If this dir chmod go+w then the admin did it. But this file should not.
- chown 0:0 $dc
- chmod 0600 $dc
-
- replace_query=`echo -e \
- "USE mysql;\n" \
- "REPLACE INTO user SET " \
- " host='localhost', user='debian-sys-maint', password=password('$pass'), " \
- " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
- " Create_priv='Y', Drop_priv='Y', Reload_priv='Y', Shutdown_priv='Y', " \
- " Process_priv='Y', File_priv='Y', Grant_priv='Y', References_priv='Y', " \
- " Index_priv='Y', Alter_priv='Y', Super_priv='Y', Show_db_priv='Y', "\
- " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\
- " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\
- " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\
- " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y'; "`;
- # Engines supported by etch should be installed per default. The query sequence is supposed
- # to be aborted if the CREATE TABLE fails due to an already existent table in which case the
- # admin might already have chosen to remove one or more plugins. Newlines are necessary.
- install_plugins=`echo -e \
- "USE mysql;\n" \
- "CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
- " dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
- " PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';\n" \
- "INSERT INTO plugin VALUES ('innodb', 'ha_innodb.so');\n" \
- "INSERT INTO plugin VALUES ('federated', 'ha_federated.so');\n" \
- "INSERT INTO plugin VALUES ('blackhole', 'ha_blackhole.so');\n" \
- "INSERT INTO plugin VALUES ('archive', 'ha_archive.so');" `
-
- db_get mysql-server/root_password && rootpw="$RET"
- if ! set_mysql_rootpw; then
- password_error="yes"
- fi
-
- echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
- set +e
- echo "$install_plugins" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
- set -e
- ;;
-
- abort-upgrade|abort-remove|abort-configure)
- ;;
-
- *)
- echo "postinst called with unknown argument '$1'" 1>&2
- exit 1
- ;;
-esac
-
-# here we check to see if we can connect as root without a password
-# this should catch upgrades from previous versions where the root
-# password wasn't set. if there is a password, or if the connection
-# fails for any other reason, nothing happens.
-if [ "$1" = "configure" ]; then
- if test_mysql_access; then
- db_input medium mysql-server/root_password || true
- db_go
- db_get mysql-server/root_password && rootpw="$RET"
-
- if ! set_mysql_rootpw "online"; then
- password_error="yes"
- fi
- fi
-
- if [ "$password_error" = "yes" ]; then
- db_input high mysql-server/error_setting_password || true
- db_go
- fi
-
-fi
-
-db_stop # in case invoke failes
-
-#DEBHELPER#
-
-exit 0
rm -rf /var/run/mysqld
userdel mysql || true
fi
-
- # (normally) Automatically added by dh_installinit
- if [ "$1" = "purge" ] ; then
- update-rc.d mysql remove >/dev/null || exit 0
- fi
- # (normally) End automatically added section
fi
# (normally) Automatically added by dh_installdebconf
fi
# (normally) End automatically added section
-# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-5.6 is installed
+#DEBHELPER#
exit 0
-#!/bin/sh
-# ESP Package Manager v4.2
-getent group mysql >/dev/null || addgroup --system mysql >/dev/null
-getent passwd mysql >/dev/null || \
-adduser --system --disabled-login --ingroup mysql --home /var/lib/mysql \
- --gecos "MySQL Server" --shell /bin/false mysql >/dev/null
-[ -e "/usr/bin/my_print_defaults" ] || \
-( cd /usr/bin && ln -sf my_print_defaults_wsrep my_print_defaults )
+#!/bin/bash
+#
+# summary of how this script can be called:
+# * <new-preinst> install
+# * <new-preinst> install <old-version>
+# * <new-preinst> upgrade <old-version>
+# * <old-preinst> abort-upgrade <new-version>
+#
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
+
+export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
+MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
+DATADIR=/var/lib/mysql
+LOGDIR=/var/log/mysql
+UPGRADEDIR=/var/lib/mysql-upgrade
+
+# Try to stop the server in a sane way. If it does not success let the admin
+# do it himself. No database directories should be removed while the server
+# is running! Another mysqld in e.g. a different chroot is fine for us.
+stop_server() {
+ if [ ! -x /etc/init.d/mysql ]; then return; fi
+
+ set +e
+ if [ -x /usr/sbin/invoke-rc.d ]; then
+ cmd="invoke-rc.d mysql stop"
+ else
+ cmd="/etc/init.d/mysql stop"
+ fi
+ $cmd
+ errno=$?
+ set -e
+
+ # 0=ok, 100=no init script (fresh install)
+ if [ "$errno" != 0 -a "$errno" != 100 ]; then
+ echo "${cmd/ */} returned $errno" 1>&2
+ echo "There is a MySQL server running, but we failed in our attempts to stop it." 1>&2
+ echo "Stop it yourself and try again!" 1>&2
+ db_stop
+ exit 1
+ fi
+}
+
+################################ main() ##########################
+
+this_version=5.6
+
+# Abort if an NDB cluster is in use.
+if egrep -qi -r '^[^#]*ndb.connectstring|^[[:space:]]*\[[[:space:]]*ndb_mgmd' /etc/mysql/; then
+ db_fset mysql-server/no_upgrade_when_using_ndb seen false || true
+ db_input high mysql-server/no_upgrade_when_using_ndb || true
+ db_go
+ db_stop
+ exit 1
+fi
+
+# Abort if skip-bdb option is enabled, required for 5.0 -> 5.1 upgrades.
+#TODO
+
+# Safe the user from stupidities.
+show_downgrade_warning=0
+for i in `ls $DATADIR/debian-*.flag 2>/dev/null`; do
+ found_version=`echo $i | sed 's/.*debian-\([0-9\.]\+\).flag/\1/'`
+ if dpkg --compare-versions "$this_version" '<<' "$found_version"; then
+ show_downgrade_warning=1
+ break;
+ fi
+done
+if [ "$show_downgrade_warning" = 1 ]; then
+ db_fset mysql-server-$this_version/really_downgrade seen false || true
+ db_input medium mysql-server-$this_version/really_downgrade || true
+ db_go
+ db_get mysql-server-$this_version/really_downgrade || true
+ if [ "$RET" = "true" ]; then
+ rm -f $DATADIR/debian-*.flag
+ touch $DATADIR/debian-$this_version.flag
+ else
+ echo "Aborting downgrade from (at least) $found_version to $this_version." 1>&2
+ echo "If are sure you want to downgrade to $this_version, remove the file" 1>&2
+ echo "$DATADIR/debian-*.flag and try installing again." 1>&2
+ db_stop
+ exit 1
+ fi
+fi
+
+# to be sure
+stop_server
+
+# If we use NIS then errors should be tolerated. It's up to the
+# user to ensure that the mysql user is correctly setup.
+# Beware that there are two ypwhich one of them needs the 2>/dev/null!
+if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then
+ set +e
+fi
+
+#
+# Now we have to ensure the following state:
+# /etc/passwd: mysql:x:100:101:MySQL Server:/nonexistent:/bin/false
+# /etc/group: mysql:x:101:
+#
+# Sadly there could any state be present on the system so we have to
+# modify everything carefully i.e. not doing a chown before creating
+# the user etc...
+#
+
+# creating mysql group if he isn't already there
+if ! getent group mysql >/dev/null; then
+ # Adding system group: mysql.
+ addgroup --system mysql >/dev/null
+fi
+
+# creating mysql user if he isn't already there
+if ! getent passwd mysql >/dev/null; then
+ # Adding system user: mysql.
+ adduser \
+ --system \
+ --disabled-login \
+ --ingroup mysql \
+ --no-create-home \
+ --home /nonexistent \
+ --gecos "MySQL Server" \
+ --shell /bin/false \
+ mysql >/dev/null
+fi
+
+# end of NIS tolerance zone
+set -e
+
+# if there's a symlink, let's store where it's pointing, because otherwise
+# it's going to be lost in some situations
+for dir in DATADIR LOGDIR; do
+ checkdir=`eval echo "$"$dir`
+ if [ -L "$checkdir" ]; then
+ mkdir -p "$UPGRADEDIR"
+ cp -d "$checkdir" "$UPGRADEDIR/$dir.link"
+ fi
+done
+
+# creating mysql home directory
+if [ ! -d $DATADIR -a ! -L $DATADIR ]; then
+ mkdir $DATADIR
+fi
+
+# checking disc space
+if LC_ALL=C BLOCKSIZE= df --portability $DATADIR/. | tail -n 1 | awk '{ exit ($4>1000) }'; then
+ echo "ERROR: There's not enough space in $DATADIR/" 1>&2
+ db_stop
+ exit 1
+fi
+
+# Since the home directory was created before putting the user into
+# the mysql group and moreover we cannot guarantee that the
+# permissions were correctly *before* calling this script, we fix them now.
+# In case we use NIS and no mysql user is present then this script should
+# better fail now than later..
+# The "set +e" is necessary as e.g. a ".journal" of a ext3 partition is
+# not chgrp'able (#318435).
+set +e
+chown mysql:mysql $DATADIR
+find $DATADIR -follow -not -group mysql -print0 2>/dev/null \
+ | xargs -0 --no-run-if-empty chgrp mysql
+set -e
+
+# Some files below /etc/ were possibly in the mysql-server-5.0/etch package
+# before. They get overwritten by current ones to avoid unnecessary dpkg questions.
+while read md5 file; do
+ if [ "`md5sum $file 2>/dev/null`" = "$md5 $file" ]; then
+ cp /usr/share/mysql-common/internal-use-only/`echo $file | sed 's°/°_°g'` $file
+ fi
+done <<EOT
+6691f2fdc5c6d27ff0260eb79813e1bc /etc/init.d/mysql
+b53b9552d44661361d39157c3c7c51d3 /etc/logrotate.d/mysql-server
+57f3e58f72582ca55100dc1ba0f1a8ae /etc/mysql/debian-start
+EOT
+
+db_stop
+
+#DEBHELPER#
+
+exit 0
+++ /dev/null
-#!/bin/bash
-#
-# summary of how this script can be called:
-# * <new-preinst> install
-# * <new-preinst> install <old-version>
-# * <new-preinst> upgrade <old-version>
-# * <old-preinst> abort-upgrade <new-version>
-#
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
-
-export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
-DATADIR=/var/lib/mysql
-LOGDIR=/var/log/mysql
-UPGRADEDIR=/var/lib/mysql-upgrade
-
-# Try to stop the server in a sane way. If it does not success let the admin
-# do it himself. No database directories should be removed while the server
-# is running! Another mysqld in e.g. a different chroot is fine for us.
-stop_server() {
- if [ ! -x /etc/init.d/mysql ]; then return; fi
-
- set +e
- if [ -x /usr/sbin/invoke-rc.d ]; then
- cmd="invoke-rc.d mysql stop"
- else
- cmd="/etc/init.d/mysql stop"
- fi
- $cmd
- errno=$?
- set -e
-
- # 0=ok, 100=no init script (fresh install)
- if [ "$errno" != 0 -a "$errno" != 100 ]; then
- echo "${cmd/ */} returned $errno" 1>&2
- echo "There is a MySQL server running, but we failed in our attempts to stop it." 1>&2
- echo "Stop it yourself and try again!" 1>&2
- db_stop
- exit 1
- fi
-}
-
-################################ main() ##########################
-
-this_version=5.6
-
-# Abort if an NDB cluster is in use.
-if egrep -qi -r '^[^#]*ndb.connectstring|^[[:space:]]*\[[[:space:]]*ndb_mgmd' /etc/mysql/; then
- db_fset mysql-server/no_upgrade_when_using_ndb seen false || true
- db_input high mysql-server/no_upgrade_when_using_ndb || true
- db_go
- db_stop
- exit 1
-fi
-
-# Abort if skip-bdb option is enabled, required for 5.0 -> 5.1 upgrades.
-#TODO
-
-# Safe the user from stupidities.
-show_downgrade_warning=0
-for i in `ls $DATADIR/debian-*.flag 2>/dev/null`; do
- found_version=`echo $i | sed 's/.*debian-\([0-9\.]\+\).flag/\1/'`
- if dpkg --compare-versions "$this_version" '<<' "$found_version"; then
- show_downgrade_warning=1
- break;
- fi
-done
-if [ "$show_downgrade_warning" = 1 ]; then
- db_fset mysql-server-$this_version/really_downgrade seen false || true
- db_input medium mysql-server-$this_version/really_downgrade || true
- db_go
- db_get mysql-server-$this_version/really_downgrade || true
- if [ "$RET" = "true" ]; then
- rm -f $DATADIR/debian-*.flag
- touch $DATADIR/debian-$this_version.flag
- else
- echo "Aborting downgrade from (at least) $found_version to $this_version." 1>&2
- echo "If are sure you want to downgrade to $this_version, remove the file" 1>&2
- echo "$DATADIR/debian-*.flag and try installing again." 1>&2
- db_stop
- exit 1
- fi
-fi
-
-# to be sure
-stop_server
-
-# If we use NIS then errors should be tolerated. It's up to the
-# user to ensure that the mysql user is correctly setup.
-# Beware that there are two ypwhich one of them needs the 2>/dev/null!
-if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then
- set +e
-fi
-
-#
-# Now we have to ensure the following state:
-# /etc/passwd: mysql:x:100:101:MySQL Server:/nonexistent:/bin/false
-# /etc/group: mysql:x:101:
-#
-# Sadly there could any state be present on the system so we have to
-# modify everything carefully i.e. not doing a chown before creating
-# the user etc...
-#
-
-# creating mysql group if he isn't already there
-if ! getent group mysql >/dev/null; then
- # Adding system group: mysql.
- addgroup --system mysql >/dev/null
-fi
-
-# creating mysql user if he isn't already there
-if ! getent passwd mysql >/dev/null; then
- # Adding system user: mysql.
- adduser \
- --system \
- --disabled-login \
- --ingroup mysql \
- --no-create-home \
- --home /nonexistent \
- --gecos "MySQL Server" \
- --shell /bin/false \
- mysql >/dev/null
-fi
-
-# end of NIS tolerance zone
-set -e
-
-# if there's a symlink, let's store where it's pointing, because otherwise
-# it's going to be lost in some situations
-for dir in DATADIR LOGDIR; do
- checkdir=`eval echo "$"$dir`
- if [ -L "$checkdir" ]; then
- mkdir -p "$UPGRADEDIR"
- cp -d "$checkdir" "$UPGRADEDIR/$dir.link"
- fi
-done
-
-# creating mysql home directory
-if [ ! -d $DATADIR -a ! -L $DATADIR ]; then
- mkdir $DATADIR
-fi
-
-# checking disc space
-if LC_ALL=C BLOCKSIZE= df --portability $DATADIR/. | tail -n 1 | awk '{ exit ($4>1000) }'; then
- echo "ERROR: There's not enough space in $DATADIR/" 1>&2
- db_stop
- exit 1
-fi
-
-# Since the home directory was created before putting the user into
-# the mysql group and moreover we cannot guarantee that the
-# permissions were correctly *before* calling this script, we fix them now.
-# In case we use NIS and no mysql user is present then this script should
-# better fail now than later..
-# The "set +e" is necessary as e.g. a ".journal" of a ext3 partition is
-# not chgrp'able (#318435).
-set +e
-chown mysql:mysql $DATADIR
-find $DATADIR -follow -not -group mysql -print0 2>/dev/null \
- | xargs -0 --no-run-if-empty chgrp mysql
-set -e
-
-# Some files below /etc/ were possibly in the mysql-server-5.0/etch package
-# before. They get overwritten by current ones to avoid unnecessary dpkg questions.
-while read md5 file; do
- if [ "`md5sum $file 2>/dev/null`" = "$md5 $file" ]; then
- cp /usr/share/mysql-common/internal-use-only/`echo $file | sed 's°/°_°g'` $file
- fi
-done <<EOT
-6691f2fdc5c6d27ff0260eb79813e1bc /etc/init.d/mysql
-b53b9552d44661361d39157c3c7c51d3 /etc/logrotate.d/mysql-server
-57f3e58f72582ca55100dc1ba0f1a8ae /etc/mysql/debian-start
-EOT
-
-db_stop
-
-#DEBHELPER#
-
-exit 0
-#!/bin/sh
-# ESP Package Manager v4.2
-if [ -x /usr/sbin/invoke-rc.d ]; then
- invoke-rc.d mysql stop
-else
- /etc/init.d/mysql stop
-fi
-update-rc.d -f mysql remove >/dev/null || exit
-[ ! -L /usr/bin/my_print_defaults ] || rm -rf /usr/bin/my_print_defaults
-[ ! -L /etc/apparmor.d/disable/usr.sbin.mysqld ] || rm -rf /etc/apparmor.d/disable/usr.sbin.mysqld
-[ ! -x /etc/init.d/apparmor ] || /etc/init.d/apparmor restart
+#!/bin/bash
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
+
+#DEBHELPER#
+++ /dev/null
-#!/bin/bash
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
-
-#DEBHELPER#
+++ /dev/null
-usr/sbin
-usr/share/man/man8
+++ /dev/null
-usr/bin/my_print_defaults
-usr/bin/mysql_install_db
-usr/bin/mysql_upgrade
-usr/bin/wsrep_sst_*
-usr/sbin/mysqld
-usr/share/mysql/binary-configure
-usr/share/mysql/bulgarian
-usr/share/mysql/charsets
-usr/share/mysql/czech
-usr/share/mysql/danish
-usr/share/mysql/dictionary.txt
-usr/share/mysql/dutch
-usr/share/mysql/english
-usr/share/mysql/estonian
-usr/share/mysql/fill_help_tables.sql
-usr/share/mysql/french
-usr/share/mysql/german
-usr/share/mysql/greek
-usr/share/mysql/hungarian
-usr/share/mysql/innodb_memcached_config.sql
-usr/share/mysql/italian
-usr/share/mysql/japanese
-usr/share/mysql/korean
-usr/share/mysql/mysql.server
-usr/share/mysql/mysql-log-rotate
-builddir/scripts/mysql_fix_privilege_tables.sql usr/share/mysql/
-usr/share/mysql/mysql_security_commands.sql
-usr/share/mysql/mysql_system_tables.sql
-usr/share/mysql/mysql_system_tables_data.sql
-usr/share/mysql/norwegian
-usr/share/mysql/norwegian-ny
-usr/share/mysql/polish
-usr/share/mysql/portuguese
-usr/share/mysql/romanian
-usr/share/mysql/russian
-usr/share/mysql/serbian
-usr/share/mysql/slovak
-usr/share/mysql/spanish
-usr/share/mysql/swedish
-usr/share/mysql/ukrainian
-usr/share/mysql/wsrep_notify
+++ /dev/null
-# These are random occurrences of a pseudo word in a binary.
-mysql-server-core-5.6: spelling-error-in-binary usr/sbin/mysqld yuR your
+++ /dev/null
-debian/tmp/usr/share/man/man1/my_print_defaults.1
-debian/tmp/usr/share/man/man1/mysql_install_db.1
-debian/tmp/usr/share/man/man1/mysql_upgrade.1
-debian/tmp/usr/share/man/man8/mysqld.8
+++ /dev/null
-debian/mysql-source*.tar.gz usr/src/mysql/
+++ /dev/null
-/usr/lib/mysql-testsuite
-#debian/additions/my5.6.cnf etc/mysql/conf.d/
-builddir/support-files/wsrep.cnf etc/mysql/conf.d/
-builddir/support-files/wsrep.cnf usr/share/mysql/
-builddir/support-files/my-default.cnf usr/share/mysql/
-
+debian/additions/my.cnf etc/mysql/
+debian/additions/my5.6.cnf etc/mysql/conf.d/
usr/bin/mysql_config
usr/include/mysql/*
usr/lib/*/libmysqlclient.a
+usr/lib/*/libmysqlclient.so
+usr/lib/*/libmysqlclient_r.a
+usr/lib/*/libmysqlclient_r.so
usr/share/aclocal/mysql.m4
--- /dev/null
+usr/lib/*/libmysqlclient.so.18*
+usr/lib/*/libmysqlclient_r.so.18*
--- /dev/null
+# I take this issue seriously but as per bug #590905
+# it will need playing with in experimental. - periapt
+libmysqlclient18: no-symbols-control-file usr/lib/i386-linux-gnu/libmysqlclient.so.18.1.0
--- /dev/null
+/usr/lib/mysql-testsuite
+usr/share/mysql/mysql-test/suite/wsrep
+usr/share/mysql/mysql-test/suite/wsrep/t
+usr/share/mysql/mysql-test/suite/wsrep/r
-[type: gettext/rfc822deb] mysql-server-5.6.templates
+[type: gettext/rfc822deb] mysql-server-wsrep-5.6.templates
msgid ""
msgstr ""
"Project-Id-Version: templates\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2007-05-01 13:04+0300\n"
"Last-Translator: Ossama M. Khayat <okhayat@yahoo.com>\n"
"Language-Team: Arabic <support@arabeyes.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "هل فعلاً تريد التثبيط؟"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "هناك ملف مسمى /var/lib/mysql/debian-*.flag موجود على هذا النظام."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "Such file is an indication that a mysql-server package with a higher "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "ملاحظة هامة لمستخدمي NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid ""
#| "You should also check the permissions and the owner of the /var/lib/mysql "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "إزالة جميع قواعد بيانات MySQL؟"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "تشغيل خادم MySQL عند الإقلاع؟"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "كلمة المرور الجديدة لمستخد \"root\" الخاص بـMySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "If that field is left blank, the password will not be changed."
msgid "If this field is left blank, the password will not be changed."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for the MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "تعذر تعيين كلمة مرور للمستخدم \"root\" الخاص بـMySQL."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "You should check the account's password after tha package installation."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-4.1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2004-01-31 19:20GMT\n"
"Last-Translator: Aleix Badia i Bosch <abadia@ica.es>\n"
"Language-Team: Debian L10n Catalan <debian-l10n-catalan@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid "Important note for NIS/YP users!"
msgid "Important note for NIS/YP users"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid "Should MySQL start on boot?"
msgid "Start the MySQL server on boot?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Hauríeu de comprovar la contrasenya del compte després de la instaŀlació "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"Les dos contrasenyes que heu introduït no són la mateixa. Proveu-ho de nou."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2007-05-01 13:01+0200\n"
"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Opravdu pokračovat v degradaci?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "V systému existuje soubor /var/lib/mysql/debian-*.flag."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "Such file is an indication that a mysql-server package with a higher "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Důležitá poznámka pro uživatele NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid ""
#| "You should also check the permissions and the owner of the /var/lib/mysql "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Odstranit všechny MySQL databáze?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Spustit MySQL server při startu systému?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nové heslo MySQL uživatele \"root\":"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "If that field is left blank, the password will not be changed."
msgid "If this field is left blank, the password will not be changed."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for the MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Nelze nastavit heslo MySQL uživatele \"root\""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "You should check the account's password after tha package installation."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-5.1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2010-10-07 05:26+0100\n"
"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
"Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Ønsker du virkelig at fortsætte nedgraderingen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Der er en fil med navnet /var/lib/mysql/debian-*.flag på dette system."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Vigtig oplysning til NIS/YP-brugere"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Fjern alle MySQL-databaser?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Start MySQL-serveren under systemopstart?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Ny adgangskode for MySQL's »rootbruger«:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Hvis du lader dette felt stå tomt, vil adgangskoden ikke blive ændret."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Gentag adgangskode for MySQL's »root-bruger«:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Kunne ikke sætte adgangskoden for MySQL's »root-bruger«"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr "Du bør tjekke kontoens adgangskode efter pakkeinstallationen."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Inddatafejl for adgangskode"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"De to adgangskoder du indtastede var ikke de samme. Forsøg venligst igen."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB-cluster ser ud til at være i brug"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
#, fuzzy
#| msgid ""
#| "MySQL-5.1 no longer provides NDB Cluster support. Please migrate to the "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg 5.6.23-2\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-06-03 10:33+0200\n"
"Last-Translator: Thomas Mueller <thomas.mueller@tmit.eu>\n"
"Language-Team: german <debian-l10n-german@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Möchten Sie wirklich eine ältere Version einspielen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"Auf diesem System existiert eine Datei mit dem Namen /var/lib/mysql/debian-*."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Wichtige Anmerkung für NIS/YP-Benutzer!"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Alle MySQL-Datenbanken entfernen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Soll der MySQL-Server automatisch beim Booten starten?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Neues Passwort für den MySQL »root«-Benutzer:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Wenn dieses Feld freigelassen wird, wird das Passwort nicht geändert."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Wiederholen Sie das Passwort für den MySQL-»root«-Benutzer:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Konnte für den MySQL-»root«-Benutzer kein Passwort setzen"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Sie sollten das Passwort des administrativen Benutzers nach der "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Passwort-Eingabefehler"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"Die beiden von Ihnen eingegebenen Passwörter sind nicht identisch. Bitte "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB-Cluster scheint gerade benutzt zu werden"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
"all config files below /etc/mysql/."
msgstr ""
"MySQL-5.6 bietet keine NDB-Clusterunterstützung mehr. Bitte migrieren Sie "
-"Ihr System zum neuen »mysql-cluster-server«-Paket und entfernen Sie alle Zeilen, "
-"die mit »ndb« beginnen aus allen Konfigurationsdateien im Verzeichnis /etc/"
-"mysql/."
+"Ihr System zum neuen »mysql-cluster-server«-Paket und entfernen Sie alle "
+"Zeilen, die mit »ndb« beginnen aus allen Konfigurationsdateien im "
+"Verzeichnis /etc/mysql/."
msgid ""
msgstr ""
"Project-Id-Version: mysql-5.6\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-06-17 09:49-0500\n"
"Last-Translator: Javier Fernández-Sanguino <jfs@debian.org>\n"
"Language-Team: Debian l10 Spanish <debian-l10n-spanish@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "¿Desea realmente continuar con la desactualización?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"Existe un fichero con el nombre /var/lib/mysql/debian-*.flag en este sistema."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Nota importante para los usuarios de NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "¿Desea eliminar todas las bases de datos MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "¿Desea que el servidor MySQL se ejecute al iniciar el sistema?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nueva contraseña para el usuario «root» de MySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "No se modificará la contraseña si deja el espacio en blanco."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Nueva contraseña para el usuario «root» de MySQL:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "No se pudo fijar la contraseña para el usuario «root» de MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Debería comprobar la contraseña de la cuenta después de la instalación del "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Se ha producido un error al introducir la contraseña"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"Las dos contraseñas que ha introducido son distintas. Intente de nuevo."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB Cluster parece estar en uso"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
"all config files below /etc/mysql/."
msgstr ""
"MySQL-5.6 ya no brinda soporte para NDB Cluster. Migre al nuevo paquete "
-"mysql-cluster-server y elimine todas las líneas que empiecen con \"ndb\" "
-"de todos los ficheros de configuración bajo /etc/mysql/."
+"mysql-cluster-server y elimine todas las líneas que empiecen con \"ndb\" de "
+"todos los ficheros de configuración bajo /etc/mysql/."
#~ msgid ""
#~ "To use MySQL, the following entries for users and groups should be added "
msgid ""
msgstr ""
"Project-Id-Version: eu\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2009-07-29 11:59+0200\n"
"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
"Language-Team: Euskara <debian-l10n-eu@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Benetan bertsio zaharragora itzuli nahi duzu?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Sisteman badago /var/lib/mysql/debian-*.flag izeneko fitxategi bat."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "Such file is an indication that a mysql-server package with a higher "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "NIS/YP erabiltzaileentzat ohar garrantzitsua"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid ""
#| "You should also check the permissions and the owner of the /var/lib/mysql "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Ezabatu MySQL datubase guztiak?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Abioan MySQL zerbitzaria abiarazi?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "MySQL \"root\" erabiltzailearen pasahitz berria:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "If that field is left blank, the password will not be changed."
msgid "If this field is left blank, the password will not be changed."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Errepikatu MySQL \"root\" erabiltzailearen pasahitza:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Ezin da MySQL \"root\" erabiltzailearen pasahitza ezarri"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Kontuaren pasahitza egiaztatu beharko zenuke paketea instalatu aurretik."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Pasahitz sarrera errorea"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "Idatzi dituzun bi pasahitzak ez dira berdina. Mesedez saiatu berriz."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "Dirudienez NDB Cluster-a erabilia dago"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
#, fuzzy
#| msgid ""
#| "MySQL-5.6 has orphaned NDB Cluster support. Please migrate to the new "
msgid ""
msgstr ""
"Project-Id-Version: fr\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-05-22 08:30+0200\n"
"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Faut-il vraiment revenir à la version précédente ?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Un fichier /var/lib/mysql/debian-*.flag est présent sur ce système."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Note importante pour les utilisateurs NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Faut-il supprimer toutes les bases de données MySQL ?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Faut-il lancer MySQL au démarrage ?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nouveau mot de passe du superutilisateur de MySQL :"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Si ce champ est laissé vide, le mot de passe ne sera pas changé."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Confirmation du mot de passe du superutilisateur de MySQL :"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr ""
"Impossible de changer le mot de passe de l'utilisateur « root » de MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Vous devriez vérifier le mot de passe de ce compte après l'installation du "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Erreur de saisie du mot de passe"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"Le mot de passe et sa confirmation ne sont pas identiques. Veuillez "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "Abandon de la gestion de NDB"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2007-04-20 09:44+0200\n"
"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
"Language-Team: Galician <proxecto@trasno.net>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "¿Quere pasar a unha versión anterior?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Neste sistema hai un ficheiro chamado /var/lib/mysql/debian-*.flag."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "Such file is an indication that a mysql-server package with a higher "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Nota importante para os usuarios de NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid ""
#| "You should also check the permissions and the owner of the /var/lib/mysql "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "¿Eliminar tódalas bases de datos de MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "¿Iniciar o servidor MySQL co ordenador?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Novo contrasinal para o usuario \"root\" de MySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "If that field is left blank, the password will not be changed."
msgid "If this field is left blank, the password will not be changed."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for the MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Non se puido establecer o contrasinal do usuario \"root\" de MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "You should check the account's password after tha package installation."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
-# Italian (it) translation of debconf templates for mysql-dfsg-5.6
-# Copyright (C) 2009 Software in the Public Interest
-# This file is distributed under the same license as the mysql-dfsg-5.6 package.
-# Luca Monducci <luca.mo@tiscali.it>, 2006 - 2009.
-#
+# Italian (it) translation of debconf templates for mysql-dfsg-5.6\r
+# Copyright (C) 2009 Software in the Public Interest\r
+# This file is distributed under the same license as the mysql-dfsg-5.6 package.\r
+# Luca Monducci <luca.mo@tiscali.it>, 2006 - 2009.\r
+# \r
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6 5.6.8 italian debconf templates\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2009-08-08 11:03+0200\n"
"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Procedere realmente con l'abbassamento di versione?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"Su questo sistema esiste un file con nome /var/lib/mysql/debian-*.flag."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Nota importante per gli utenti NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Eliminare tutti i database MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Lanciare il server MySQL all'avvio?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nuova password per l'utente «root» di MySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Se questo campo è lasciato vuoto, la password non viene cambiata."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Ripetere la password per l'utente «root» di MySQL:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Impossibile impostare la password per l'utente «root» di MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Al termine dell'installazione si deve verificare la password dell'account."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Errore di inserimento della password"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "Le due password inserite sono diverse. Riprovare."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "È in uso un cluster NDB"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
#, fuzzy
#| msgid ""
#| "MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6 5.6.8-1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2009-09-01 08:25+0900\n"
"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "本当にダウングレードを実行しますか?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"このシステムには /var/lib/mysql/debian-*.flag という名前のファイルが存在して"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "NIS/YP ユーザへの重要な注意"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "すべての MySQL データベースを削除しますか?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "MySQL をシステム起動時に開始しますか?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "MySQL の \"root\" ユーザに対する新しいパスワード:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "この値を空のままにしておいた場合は、パスワードは変更されません。"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "MySQL の \"root\" ユーザに対する新しいパスワード:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "MySQL の \"root\" ユーザのパスワードを設定できません"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"パッケージのインストール後、アカウントのパスワードを確認する必要があります。"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "パスワード入力エラー"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "入力された二つのパスワードが一致しません。再入力してください。"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB クラスタが利用されているようです"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
#, fuzzy
#| msgid ""
#| "MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the "
msgid ""
msgstr ""
"Project-Id-Version: mysql_nb\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2007-02-18 12:13+0100\n"
"Last-Translator: Bjørn Steensrud <bjornst@powertech.no>\n"
"Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid "Do you really want to downgrade?"
msgid "Really proceed with downgrade?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "WARNING: The file /var/lib/mysql/debian-*.flag exists. This indicates "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid "Important note for NIS/YP users!"
msgid "Important note for NIS/YP users"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
#, fuzzy
#| msgid ""
#| "The script is about to remove the data directory /var/lib/mysql. If it is "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid "Should MySQL start on boot?"
msgid "Start the MySQL server on boot?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid ""
#| "The MySQL can start automatically on boot time or only if you manually "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "New password for MySQL \"root\" user:"
msgid "New password for the MySQL \"root\" user:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid ""
#| "It is highly recommended that you set a password for the MySQL "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid "Unable to set password for MySQL \"root\" user"
msgid "Unable to set password for the MySQL \"root\" user"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "It seems an error occurred while setting the password for the MySQL "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-5.6 5.6.6-1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-05-23 10:26+0200\n"
"Last-Translator: Jeroen Schot <schot@a-eskwadraat.nl>\n"
"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Wilt u echt een oude versie herstellen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"Er bestaat een bestand genaamd /var/lib/mysql/debian-*.flag op dit systeem."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Belangrijke opmerking voor gebruikers van NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Wilt u alle MySQL-databases verwijderen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Moet MySQL starten als de computer start?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nieuw wachtwoord voor de MySQL \"root\"-gebruiker:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
"Als dit veld leeg wordt gelaten, zal het wachtwoord niet worden veranderd."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Herhaal het wachtwoord voor de MySQL \"root\"-gebruiker:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Kan het wachtwoord voor de MySQL \"root\"-gebruiker niet instellen"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"U zou het wachtwoord van het account moeten controleren nadat het pakket is "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Fout bij invoer wachtwoord"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"De twee wachtwoorden die u hebt ingevoerd zijn niet gelijk. Probeert u het "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "De NDB-cluster lijkt in gebruik te zijn"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-05-28 22:40+0100\n"
"Last-Translator: Miguel Figueiredo <elmig@debianpt.org>\n"
"Language-Team: Portuguese <traduz@debianpt.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Deseja mesmo fazer downgrade?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
"Existe, neste sistema, um ficheiro chamado /var/lib/mysql/debian-*.flag."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Nota importante para utilizadores de NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Remover todas as bases de dados MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Iniciar o servidor MySQL no arranque?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nova palavra-passe para o utilizador \"root\" do MySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
"Se este campo for deixado em branco, a palavra-passe não irá ser alterada."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Repita a palavra-passe para o utilizador \"root\" de MySQL:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr ""
"Não foi possível definir a palavra-passe para o utilizador \"root\" do MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
"Você deve verificar a palavra-passe da conta após a instalação do pacote."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Erro de entrada da palavra-passe"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
"As duas palavras-passe que introduziu não são as mesmas. Por favor tente "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB Cluster parece estar a ser utilizado"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2007-04-21 15:59-0300\n"
"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Realmente proceder com o rebaixamento de versão?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Um arquivo de nome /var/lib/mysql/debian-*.flag existe no sistema."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "Such file is an indication that a mysql-server package with a higher "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Aviso importante para usuários NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid ""
#| "You should also check the permissions and the owner of the /var/lib/mysql "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Remover todas as bases de dados do MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Iniciar o servidor MySQL junto a inicialização da máquina?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nova senha para o usuário \"root\" do MySQL:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "If that field is left blank, the password will not be changed."
msgid "If this field is left blank, the password will not be changed."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for the MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Impossível definir senha para o usuário \"root\" do MySQL"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "You should check the account's password after tha package installation."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: po-debconf://mysql-dfsg\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2006-12-20 21:27+0200\n"
"Last-Translator: stan ioan-eugen <stan.ieugen@gmail.com>\n"
"Language-Team: romanian <debian-l10n-romanian@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid "Do you really want to downgrade?"
msgid "Really proceed with downgrade?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
#, fuzzy
#| msgid ""
#| "WARNING: The file /var/lib/mysql/debian-*.flag exists. This indicates "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid "Important note for NIS/YP users!"
msgid "Important note for NIS/YP users"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
#, fuzzy
#| msgid ""
#| "The script is about to remove the data directory /var/lib/mysql. If it is "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid "Should MySQL start on boot?"
msgid "Start the MySQL server on boot?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid ""
#| "The MySQL can start automatically on boot time or only if you manually "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid "New password for MySQL \"root\" user:"
msgid "New password for the MySQL \"root\" user:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
#, fuzzy
#| msgid ""
#| "It is highly recommended that you set a password for the MySQL "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
#, fuzzy
#| msgid "New password for MySQL \"root\" user:"
msgid "Repeat password for the MySQL \"root\" user:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid "Unable to set password for MySQL \"root\" user"
msgid "Unable to set password for the MySQL \"root\" user"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "It seems an error occurred while setting the password for the MySQL "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6 5.6.8-1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-05-23 21:14+0400\n"
"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Действительно установить более старую версию?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "В системе найден файл /var/lib/mysql/debian-*.flag."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Важное замечание для пользователей NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Удалить все базы данных MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Запускать MySQL при загрузке системы?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Новый пароль для MySQL пользователя «root»:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Если оставить поле пустым, то пароль изменён не будет."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Повторите ввод пароля для MySQL пользователя «root»:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Невозможно задать пароль MySQL пользователю «root»"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr "Проверьте пароль учётной записи после установки пакета."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Ошибка ввода пароля"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "Два введённых пароля не одинаковы. Повторите ввод."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB Cluster уже используется"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-5.1 5.1.49-3\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2011-01-04 12:55+0100\n"
"Last-Translator: Slavko <linux@slavino.sk>\n"
"Language-Team: Slovak <nomail>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Naozaj pokračovať v znížení verzie?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "Súbor s menom /var/lib/mysql/debian-*.flag už v systéme existuje."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Dôležitá poznámka pre používateľov NIS/YP"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Odstrániť všetky databázy MySQL?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Spúšťať MySQL server pri štarte systému?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nové heslo MySQL používateľa „root”:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Ak toto pole ponecháte prázdne, heslo nebude zmenené."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Zopakujte heslo MySQL používateľa „root“:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Nemožno nastaviť heslo MySQL používateľa „root“"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr "Po inštalácii balíka by ste mali skontrolovať heslo účtu."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
#, fuzzy
#| msgid ""
#| "Please read the /usr/share/doc/mysql-server-5.1/README.Debian file for "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Chyba pri zadávaní hesla"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "Heslá, ktoré ste zadali sa nezhodujú. Skúste prosím znova."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "Vyzerá to, že používate NDB Cluster"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
#, fuzzy
#| msgid ""
#| "MySQL-5.1 no longer provides NDB Cluster support. Please migrate to the "
-# Translation of mysql-5.6 debconf template to Swedish
-# Copyright (C) 2009, 2012 Martin Bagge <brother@bsnet.se>
-# This file is distributed under the same license as the mysql-5.6 package.
-#
-# Andreas Henriksson <andreas@fatal.se>, 2007
-# Martin Bagge <brother@bsnet.se>, 2009, 2012
+# Translation of mysql-5.6 debconf template to Swedish\r
+# Copyright (C) 2009, 2012 Martin Bagge <brother@bsnet.se>\r
+# This file is distributed under the same license as the mysql-5.6 package.\r
+# \r
+# Andreas Henriksson <andreas@fatal.se>, 2007\r
+# Martin Bagge <brother@bsnet.se>, 2009, 2012\r
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-5.6 5.0.21-3\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2012-05-30 00:29+0100\n"
"Last-Translator: Martin Bagge / brother <brother@bsnet.se>\n"
"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr "Vill du verkligen genomföra nedgraderingen?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr "En fil med namnet /var/lib/mysql/debian-*.flag hittades i systemet."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr "Viktig information för NIS/YP-användare"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr "Ta bort alla MySQL-databaser?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr "Ska MySQL startas vid systemets uppstart?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr "Nytt lösenord för MySQLs \"root\"-användare:"
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr "Om detta fält lämnas tom kommer lösenordet inte att ändras."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr "Repetera lösenordet för MySQLs \"root\"-användare:"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr "Kunde inte sätta lösenord för MySQLs \"root\"-användare"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr "Du bör kontrollera kontots lösenord efter installationen av paketet."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr "Fel vid inmatning av lösenord"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr "De två lösenorden du angav stämde inte överrens. Prova igen."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr "NDB-kluster används inte"
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Project-Id-Version: mysql-wsrep-5.6\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-server-wsrep-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-server-wsrep-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-server-wsrep-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-server-wsrep-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-server-wsrep-5.6.templates:3001
msgid "Important note for NIS/YP users"
msgstr ""
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-server-wsrep-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-server-wsrep-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-server-wsrep-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-server-wsrep-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-server-wsrep-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-server-wsrep-5.6.templates:5001
msgid "Start the MySQL server on boot?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-server-wsrep-5.6.templates:5001
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
"the '/etc/init.d/mysql start' command."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-server-wsrep-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-server-wsrep-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-server-wsrep-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-server-wsrep-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-server-wsrep-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-server-wsrep-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-server-wsrep-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-server-wsrep-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-server-wsrep-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-server-wsrep-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-server-wsrep-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-server-wsrep-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
msgid ""
msgstr ""
"Project-Id-Version: mysql-dfsg-4.1\n"
-"Report-Msgid-Bugs-To: mysql-5.6@packages.debian.org\n"
-"POT-Creation-Date: 2011-11-08 11:42-0800\n"
+"Report-Msgid-Bugs-To: mysql-wsrep-5.6@packages.debian.org\n"
+"POT-Creation-Date: 2014-11-23 01:05+0200\n"
"PO-Revision-Date: 2004-06-05 08:53+0300\n"
"Last-Translator: Gürkan Aslan <gurkan@iaslan.com>\n"
"Language-Team: Turkish <debian-l10n-turkish@lists.debian.org>\n"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "Really proceed with downgrade?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid "A file named /var/lib/mysql/debian-*.flag exists on this system."
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"Such a file is an indication that a mysql-server package with a higher "
"version has been installed previously."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:2001
+#: ../mysql-wsrep-server-5.6.templates:2001
msgid ""
"There is no guarantee that the version you're currently installing will be "
"able to use the current databases."
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
#, fuzzy
#| msgid "Important note for NIS/YP users!"
msgid "Important note for NIS/YP users"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"Using MySQL under NIS/YP requires a mysql user account to be added on the "
"local system with:"
#. Type: note
#. Description
-#: ../mysql-server-5.6.templates:3001
+#: ../mysql-wsrep-server-5.6.templates:3001
msgid ""
"You should also check the permissions and ownership of the /var/lib/mysql "
"directory:"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid "Remove all MySQL databases?"
msgstr ""
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"The /var/lib/mysql directory which contains the MySQL databases is about to "
"be removed."
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:4001
+#: ../mysql-wsrep-server-5.6.templates:4001
msgid ""
"If you're removing the MySQL package in order to later install a more recent "
"version or if a different mysql-server package is already using it, the data "
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
#| msgid "Should MySQL start on boot?"
msgid "Start the MySQL server on boot?"
#. Type: boolean
#. Description
-#: ../mysql-server-5.6.templates:5001
+#: ../mysql-wsrep-server-5.6.templates:5001
#, fuzzy
msgid ""
"The MySQL server can be launched automatically at boot time or manually with "
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "New password for the MySQL \"root\" user:"
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid ""
"While not mandatory, it is highly recommended that you set a password for "
"the MySQL administrative \"root\" user."
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:6001
+#: ../mysql-wsrep-server-5.6.templates:6001
msgid "If this field is left blank, the password will not be changed."
msgstr ""
#. Type: password
#. Description
-#: ../mysql-server-5.6.templates:7001
+#: ../mysql-wsrep-server-5.6.templates:7001
msgid "Repeat password for the MySQL \"root\" user:"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "Unable to set password for the MySQL \"root\" user"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"An error occurred while setting the password for the MySQL administrative "
"user. This may have happened because the account already has a password, or "
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid "You should check the account's password after the package installation."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:8001
+#: ../mysql-wsrep-server-5.6.templates:8001
msgid ""
"Please read the /usr/share/doc/mysql-server-5.6/README.Debian file for more "
"information."
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "Password input error"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:9001
+#: ../mysql-wsrep-server-5.6.templates:9001
msgid "The two passwords you entered were not the same. Please try again."
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid "NDB Cluster seems to be in use"
msgstr ""
#. Type: error
#. Description
-#: ../mysql-server-5.6.templates:10001
+#: ../mysql-wsrep-server-5.6.templates:10001
msgid ""
"MySQL-5.6 no longer provides NDB Cluster support. Please migrate to the new "
"mysql-cluster-server package and remove all lines starting with \"ndb\" from "
TESTSUITE_FAIL_CMD:=true
TMP := $(CURDIR)/debian/tmp/
USE_ASSEMBLER:=--enable-assembler
+NUMJOBS=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(NUMJOBS))
+ NUMJOBS=1
+endif
+
+MAKEFLAGS += -j $(NUMJOBS)
export MYSQL_BUILD_CC=$(DEB_HOST_GNU_TYPE)-gcc
export MYSQL_BUILD_CXX=$(DEB_HOST_GNU_TYPE)-g++
+# The full upstream test suite takes a very long time to run, so we run
+# only the main test suite unless fulltest is specified.
+ifeq ($(findstring fulltest,$(DEB_BUILD_OPTIONS)),)
+ MTR_SUITE=--suite=main
+endif
ifneq (,$(filter $(ARCH), i386 kfreebsd-i386 hurd-i386))
TAOCRYPT_OPT="-DTAOCRYPT_DISABLE_X86ASM"
override_dh_auto_build: build-stamp
-build-stamp:
+# $(EXPORTED_SOURCE_TARBALL) must be built before the builds commence, since
+# the builds change some of the files picked up by this tar invocation, and
+# this can race against tar with an error like "tar:
+# ./builddir-pic/strings/CMakeFiles/strings.dir: file changed as we read it".
+# So define the rule for building it here, and have the build rules depend on
+# it.
+$(EXPORTED_SOURCE_TARBALL):
+ GZIP=-n tar -zcf $(EXPORTED_SOURCE_TARBALL) \
+ --exclude=debian . \
+ --transform="s,^\./,mysql-5.6/,"
+
+build-stamp: $(EXPORTED_SOURCE_TARBALL)
@echo "RULES.$@"
- [ -f $(EXPORTED_SOURCE_TARBALL) ] || tar -zcf $(EXPORTED_SOURCE_TARBALL) \
- --exclude=debian . \
- --transform="s,^\./,mysql-5.6/,"
cd $(builddir) && $(MAKE)
touch $@
-build-pic-stamp:
+build-pic-stamp: $(EXPORTED_SOURCE_TARBALL)
# Don't call this section from dh_auto_build as
# linmysqld does not exsist in mysql-wsrep
@echo "RULES.$@"
+ cd $(builddir) && $(MAKE) -C sql
cd $(builddir) && $(MAKE) -C scripts
cd $(builddir) && $(MAKE) -C libmysqld
touch $@
override_dh_auto_test:
@echo "RULES.$@"
ifeq ($(findstring nocheck,$(DEB_BUILD_OPTIONS)),)
- cp unittest/unit.pl $(builddir)/unittest/
cp -r mysql-test/* $(builddir)/mysql-test/
cp -r sql/share/* $(builddir)/sql/share/
cp -r scripts/*sql $(builddir)/scripts/
- cd $(builddir) && $(MAKE) $(MAKE_TEST_TARGET) || $(TESTSUITE_FAIL_CMD) ;
+ifeq ($(ARCH_OS),hurd)
+ # Tests not fully working under Hurd, see
+ # http://bugs.mysql.com/bug.php?id=64685. Run unit tests only.
+ cd $(builddir) && $(MAKE) test || $(TESTSUITE_FAIL_CMD) ;
+else
+ # Skip replication tests since they are timing sensitive and may
+ # result in false positives.
+ cd $(builddir)/mysql-test && ./mtr --parallel=$(NUMJOBS) --skip-rpl $(MTR_SUITE) || $(TESTSUITE_FAIL_CMD) ;
+endif
endif
override_dh_auto_install: auto_install-stamp
dh_testroot
# make install (trailing slash needed for innobase)
cd $(builddir) && $(MAKE) install DESTDIR=$(TMP)/
+ # After installing, remove rpath to make lintian happy.
+ set +e; \
+ find ./debian/tmp/ -type f -print0 \
+ | xargs -0 --no-run-if-empty chrpath -k 2>/dev/null \
+ | fgrep RPATH= \
+ | cut -d: -f 1 \
+ | xargs --no-run-if-empty chrpath -d; \
+ set -e
# install libmysqld built with -FPIC
install -d -m 0755 -o root -g root $(TMP)/usr/lib/mysql
# linmysqld does not exsist in mysql-wsrep
nm -n $(BUILDDIR)/sql/mysqld |gzip -9 > $(TMP)/usr/share/doc/mysql-server-5.6/mysqld.sym.gz
install -m 0644 support-files/wsrep.cnf $(TMP)/usr/share/mysql
# This seems to be the only safe place to fix permissions issues
- # not handled by dh_fixperms.
+ # not handled by dh_fixperms.
mkdir -p $(TMP)/etc/mysql/conf.d/
touch $(TMP)/etc/mysql/conf.d/.keepme
install -D -m 0755 $(builddir)/support-files/mysql.server $(TMP)/etc/init.d/mysql
install -m 0644 debian/additions/mysql_config_pic.1 $(TMP)/usr/share/man/man1
install -m 0644 debian/additions/mysql_embedded.1 $(TMP)/usr/share/man/man1
install -m 0644 debian/additions/debian_create_root_user.sql $(TMP)/usr/share/mysql/
+ install -m 0755 debian/additions/mysql-systemd-start $(TMP)/usr/share/mysql/
# install AppArmor profile
install -D -m 644 debian/apparmor-profile $(TMP)/etc/apparmor.d/usr.sbin.mysqld
chmod 0755 $(TMP)/usr/share/mysql-test/std_data/checkDBI_DBD-mysql.pl
install -D -m 644 debian/mysql-server-5.6.py $(TMP)/usr/share/apport/package-hooks/source_mysql-5.6.py
# chmod 0644 $(TMP)/usr/share/mysql/*.ini
chmod 0644 $(TMP)/usr/bin/mysqlaccess.conf
+ chmod 0644 $(TMP)/usr/share/mysql-test/suite/innodb_stress/include/innodb_stress.inc
+ chmod 0644 $(TMP)/usr/share/mysql-test/suite/innodb_stress/t/load_generator.py
+ chmod 0644 $(TMP)/usr/share/mysql-test/suite/innodb_stress/t/*.test
+ chmod 0644 $(TMP)/usr/share/mysql-test/suite/innodb_stress/t/*.opt
touch $@
# Use the --fail-missing to check for stuff that we should be installing
override_dh_installlogrotate-arch:
dh_installlogrotate --name mysql-server
+
+override_dh_install:
+ dh_install
dh_apparmor -pmysql-server-5.6 --profile-name=usr.sbin.mysqld
+override_dh_installchangelogs:
+ dh_installchangelogs Docs/ChangeLog
+
+override_dh_systemd_enable:
+ dh_systemd_enable --name=mysql --no-enable
+
# Start mysql in runlevel 19 before 20 where apache, proftpd etc gets
# started which might depend on a running database server.
override_dh_installinit-arch:
dh_installinit --name=mysql -- defaults 19 21
+ #dh_systemd_start --restart-after-upgrade
override_dh_installcron-arch:
dh_installcron --name mysql-server
uscan --force-download --verbose
%:
- dh $@ --parallel
+ dh $@ --parallel --with systemd
MYSQL_VERSION_MAJOR=5
MYSQL_VERSION_MINOR=6
-MYSQL_VERSION_PATCH=33
+MYSQL_VERSION_PATCH=34
MYSQL_VERSION_EXTRA=
-# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# and relative links. Windows zip uses the same tarball layout but without
# the build prefix.
#
-# RPM
+# RPM, SLES
# Build as per default RPM layout, with prefix=/usr
# Note: The layout for ULN RPMs differs, see the "RPM" section.
#
# SVR4
# Solaris package layout suitable for pkg* tools, prefix=/opt/mysql/mysql
#
+# FREEBSD, GLIBC, OSX, TARGZ
+# Build with prefix=/usr/local/mysql, create tarball with install prefix="."
+# and relative links.
+#
+# WIN
+# Windows zip : same as tarball layout but without the build prefix
+#
# To force a directory layout, use -DINSTALL_LAYOUT=<layout>.
#
# The default is STANDALONE.
#
+# Note : At present, RPM and SLES layouts are similar. This is also true
+# for layouts like FREEBSD, GLIBC, OSX, TARGZ. However, they provide
+# opportunity to fine-tune deployment for each platform without
+# affecting all other types of deployment.
+#
# There is the possibility to further fine-tune installation directories.
# Several variables can be overwritten:
#
# - INSTALL_SUPPORTFILESDIR (various extra support files)
#
# - INSTALL_MYSQLDATADIR (data directory)
+# - INSTALL_SECURE_FILE_PRIVDIR (--secure-file-priv directory)
#
# When changing this page, _please_ do not forget to update public Wiki
# http://forge.mysql.com/wiki/CMake#Fine-tuning_installation_paths
ENDIF()
SET(INSTALL_LAYOUT "${DEFAULT_INSTALL_LAYOUT}"
-CACHE STRING "Installation directory layout. Options are: STANDALONE (as in zip or tar.gz installer), RPM, DEB, SVR4")
+CACHE STRING "Installation directory layout. Options are: TARGZ (as in tar.gz installer), WIN (as in zip installer), STANDALONE, RPM, DEB, SVR4, FREEBSD, GLIBC, OSX, SLES")
IF(UNIX)
- IF(INSTALL_LAYOUT MATCHES "RPM")
+ IF(INSTALL_LAYOUT MATCHES "RPM" OR
+ INSTALL_LAYOUT MATCHES "SLES")
SET(default_prefix "/usr")
ELSEIF(INSTALL_LAYOUT MATCHES "DEB")
SET(default_prefix "/opt/mysql/server-${MYSQL_BASE_VERSION}")
SET(CMAKE_INSTALL_PREFIX ${default_prefix}
CACHE PATH "install prefix" FORCE)
ENDIF()
- SET(VALID_INSTALL_LAYOUTS "RPM" "STANDALONE" "DEB" "SVR4")
+ SET(VALID_INSTALL_LAYOUTS "RPM" "DEB" "SVR4" "FREEBSD" "GLIBC" "OSX" "TARGZ" "SLES" "STANDALONE")
LIST(FIND VALID_INSTALL_LAYOUTS "${INSTALL_LAYOUT}" ind)
IF(ind EQUAL -1)
MESSAGE(FATAL_ERROR "Invalid INSTALL_LAYOUT parameter:${INSTALL_LAYOUT}."
MARK_AS_ADVANCED(SYSCONFDIR)
ENDIF()
+IF(WIN32)
+ SET(VALID_INSTALL_LAYOUTS "TARGZ" "STANDALONE" "WIN")
+ LIST(FIND VALID_INSTALL_LAYOUTS "${INSTALL_LAYOUT}" ind)
+ IF(ind EQUAL -1)
+ MESSAGE(FATAL_ERROR "Invalid INSTALL_LAYOUT parameter:${INSTALL_LAYOUT}."
+ " Choose between ${VALID_INSTALL_LAYOUTS}" )
+ ENDIF()
+ENDIF()
+
#
# plugin_tests's value should not be used by imported plugins,
# just use if(INSTALL_PLUGINTESTDIR).
${CMAKE_SOURCE_DIR}/internal/plugin/*/tests
)
+#
+# DEFAULT_SECURE_FILE_PRIV_DIR/DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR
+#
+IF(INSTALL_LAYOUT MATCHES "STANDALONE" OR
+ INSTALL_LAYOUT MATCHES "WIN")
+ SET(secure_file_priv_path "NULL")
+ELSEIF(INSTALL_LAYOUT MATCHES "RPM" OR
+ INSTALL_LAYOUT MATCHES "SLES" OR
+ INSTALL_LAYOUT MATCHES "SVR4" OR
+ INSTALL_LAYOUT MATCHES "DEB")
+ SET(secure_file_priv_path "/var/lib/mysql-files")
+ELSE()
+ SET(secure_file_priv_path "${default_prefix}/mysql-files")
+ENDIF()
+SET(secure_file_priv_embedded_path "NULL")
+
#
# STANDALONE layout
#
#
SET(INSTALL_MYSQLDATADIR_STANDALONE "data")
SET(INSTALL_PLUGINTESTDIR_STANDALONE ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_STANDALONE ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_STANDALONE ${secure_file_priv_embedded_path})
+
+#
+# WIN layout
+#
+SET(INSTALL_BINDIR_WIN "bin")
+SET(INSTALL_SBINDIR_WIN "bin")
+SET(INSTALL_SCRIPTDIR_WIN "scripts")
+#
+SET(INSTALL_LIBDIR_WIN "lib")
+SET(INSTALL_PLUGINDIR_WIN "lib/plugin")
+#
+SET(INSTALL_INCLUDEDIR_WIN "include")
+#
+SET(INSTALL_DOCDIR_WIN "docs")
+SET(INSTALL_DOCREADMEDIR_WIN ".")
+SET(INSTALL_MANDIR_WIN "man")
+SET(INSTALL_INFODIR_WIN "docs")
+#
+SET(INSTALL_SHAREDIR_WIN "share")
+SET(INSTALL_MYSQLSHAREDIR_WIN "share")
+SET(INSTALL_MYSQLTESTDIR_WIN "mysql-test")
+SET(INSTALL_SQLBENCHDIR_WIN ".")
+SET(INSTALL_SUPPORTFILESDIR_WIN "support-files")
+#
+SET(INSTALL_MYSQLDATADIR_WIN "data")
+SET(INSTALL_PLUGINTESTDIR_WIN ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_WIN ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_WIN ${secure_file_priv_embedded_path})
+
+#
+# FREEBSD layout
+#
+SET(INSTALL_BINDIR_FREEBSD "bin")
+SET(INSTALL_SBINDIR_FREEBSD "bin")
+SET(INSTALL_SCRIPTDIR_FREEBSD "scripts")
+#
+SET(INSTALL_LIBDIR_FREEBSD "lib")
+SET(INSTALL_PLUGINDIR_FREEBSD "lib/plugin")
+#
+SET(INSTALL_INCLUDEDIR_FREEBSD "include")
+#
+SET(INSTALL_DOCDIR_FREEBSD "docs")
+SET(INSTALL_DOCREADMEDIR_FREEBSD ".")
+SET(INSTALL_MANDIR_FREEBSD "man")
+SET(INSTALL_INFODIR_FREEBSD "docs")
+#
+SET(INSTALL_SHAREDIR_FREEBSD "share")
+SET(INSTALL_MYSQLSHAREDIR_FREEBSD "share")
+SET(INSTALL_MYSQLTESTDIR_FREEBSD "mysql-test")
+SET(INSTALL_SQLBENCHDIR_FREEBSD ".")
+SET(INSTALL_SUPPORTFILESDIR_FREEBSD "support-files")
+#
+SET(INSTALL_MYSQLDATADIR_FREEBSD "data")
+SET(INSTALL_PLUGINTESTDIR_FREEBSD ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_FREEBSD ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_FREEBSD ${secure_file_priv_embedded_path})
+
+#
+# GLIBC layout
+#
+SET(INSTALL_BINDIR_GLIBC "bin")
+SET(INSTALL_SBINDIR_GLIBC "bin")
+SET(INSTALL_SCRIPTDIR_GLIBC "scripts")
+#
+SET(INSTALL_LIBDIR_GLIBC "lib")
+SET(INSTALL_PLUGINDIR_GLIBC "lib/plugin")
+#
+SET(INSTALL_INCLUDEDIR_GLIBC "include")
+#
+SET(INSTALL_DOCDIR_GLIBC "docs")
+SET(INSTALL_DOCREADMEDIR_GLIBC ".")
+SET(INSTALL_MANDIR_GLIBC "man")
+SET(INSTALL_INFODIR_GLIBC "docs")
+#
+SET(INSTALL_SHAREDIR_GLIBC "share")
+SET(INSTALL_MYSQLSHAREDIR_GLIBC "share")
+SET(INSTALL_MYSQLTESTDIR_GLIBC "mysql-test")
+SET(INSTALL_SQLBENCHDIR_GLIBC ".")
+SET(INSTALL_SUPPORTFILESDIR_GLIBC "support-files")
+#
+SET(INSTALL_MYSQLDATADIR_GLIBC "data")
+SET(INSTALL_PLUGINTESTDIR_GLIBC ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_GLIBC ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_GLIBC ${secure_file_priv_embedded_path})
+
+#
+# OSX layout
+#
+SET(INSTALL_BINDIR_OSX "bin")
+SET(INSTALL_SBINDIR_OSX "bin")
+SET(INSTALL_SCRIPTDIR_OSX "scripts")
+#
+SET(INSTALL_LIBDIR_OSX "lib")
+SET(INSTALL_PLUGINDIR_OSX "lib/plugin")
+#
+SET(INSTALL_INCLUDEDIR_OSX "include")
+#
+SET(INSTALL_DOCDIR_OSX "docs")
+SET(INSTALL_DOCREADMEDIR_OSX ".")
+SET(INSTALL_MANDIR_OSX "man")
+SET(INSTALL_INFODIR_OSX "docs")
+#
+SET(INSTALL_SHAREDIR_OSX "share")
+SET(INSTALL_MYSQLSHAREDIR_OSX "share")
+SET(INSTALL_MYSQLTESTDIR_OSX "mysql-test")
+SET(INSTALL_SQLBENCHDIR_OSX ".")
+SET(INSTALL_SUPPORTFILESDIR_OSX "support-files")
+#
+SET(INSTALL_MYSQLDATADIR_OSX "data")
+SET(INSTALL_PLUGINTESTDIR_OSX ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_OSX ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_OSX ${secure_file_priv_embedded_path})
+
+#
+# TARGZ layout
+#
+SET(INSTALL_BINDIR_TARGZ "bin")
+SET(INSTALL_SBINDIR_TARGZ "bin")
+SET(INSTALL_SCRIPTDIR_TARGZ "scripts")
+#
+SET(INSTALL_LIBDIR_TARGZ "lib")
+SET(INSTALL_PLUGINDIR_TARGZ "lib/plugin")
+#
+SET(INSTALL_INCLUDEDIR_TARGZ "include")
+#
+SET(INSTALL_DOCDIR_TARGZ "docs")
+SET(INSTALL_DOCREADMEDIR_TARGZ ".")
+SET(INSTALL_MANDIR_TARGZ "man")
+SET(INSTALL_INFODIR_TARGZ "docs")
+#
+SET(INSTALL_SHAREDIR_TARGZ "share")
+SET(INSTALL_MYSQLSHAREDIR_TARGZ "share")
+SET(INSTALL_MYSQLTESTDIR_TARGZ "mysql-test")
+SET(INSTALL_SQLBENCHDIR_TARGZ ".")
+SET(INSTALL_SUPPORTFILESDIR_TARGZ "support-files")
+#
+SET(INSTALL_MYSQLDATADIR_TARGZ "data")
+SET(INSTALL_PLUGINTESTDIR_TARGZ ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_TARGZ ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_TARGZ ${secure_file_priv_embedded_path})
#
# RPM layout
#
SET(INSTALL_MYSQLDATADIR_RPM "/var/lib/mysql")
SET(INSTALL_PLUGINTESTDIR_RPM ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_RPM ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_RPM ${secure_file_priv_embedded_path})
+
+#
+# SLES layout
+#
+SET(INSTALL_BINDIR_SLES "bin")
+SET(INSTALL_SBINDIR_SLES "sbin")
+SET(INSTALL_SCRIPTDIR_SLES "bin")
+#
+IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64")
+ SET(INSTALL_LIBDIR_SLES "lib64")
+ SET(INSTALL_PLUGINDIR_SLES "lib64/mysql/plugin")
+ELSE()
+ SET(INSTALL_LIBDIR_SLES "lib")
+ SET(INSTALL_PLUGINDIR_SLES "lib/mysql/plugin")
+ENDIF()
+#
+SET(INSTALL_INCLUDEDIR_SLES "include/mysql")
+#
+#SET(INSTALL_DOCDIR_SLES unset - installed directly by SLES)
+#SET(INSTALL_DOCREADMEDIR_SLES unset - installed directly by SLES)
+SET(INSTALL_INFODIR_SLES "share/info")
+SET(INSTALL_MANDIR_SLES "share/man")
+#
+SET(INSTALL_SHAREDIR_SLES "share")
+SET(INSTALL_MYSQLSHAREDIR_SLES "share/mysql")
+SET(INSTALL_MYSQLTESTDIR_SLES "share/mysql-test")
+SET(INSTALL_SQLBENCHDIR_SLES "")
+SET(INSTALL_SUPPORTFILESDIR_SLES "share/mysql")
+#
+SET(INSTALL_MYSQLDATADIR_SLES "/var/lib/mysql")
+SET(INSTALL_PLUGINTESTDIR_SLES ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_SLES ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_SLES ${secure_file_priv_embedded_path})
#
# DEB layout
SET(INSTALL_SQLBENCHDIR_DEB ".")
SET(INSTALL_SUPPORTFILESDIR_DEB "support-files")
#
-SET(INSTALL_MYSQLDATADIR_DEB "data")
+SET(INSTALL_MYSQLDATADIR_DEB "/var/lib/mysql")
SET(INSTALL_PLUGINTESTDIR_DEB ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_DEB ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_DEB ${secure_file_priv_embedded_path})
#
# SVR4 layout
#
SET(INSTALL_MYSQLDATADIR_SVR4 "/var/lib/mysql")
SET(INSTALL_PLUGINTESTDIR_SVR4 ${plugin_tests})
+SET(INSTALL_SECURE_FILE_PRIVDIR_SVR4 ${secure_file_priv_path})
+SET(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR_SVR4 ${secure_file_priv_embedded_path})
# Clear cached variables if install layout was changed
# will be defined as ${INSTALL_BINDIR_STANDALONE} by default if STANDALONE
# layout is chosen)
FOREACH(var BIN SBIN LIB MYSQLSHARE SHARE PLUGIN INCLUDE SCRIPT DOC MAN
- INFO MYSQLTEST SQLBENCH DOCREADME SUPPORTFILES MYSQLDATA PLUGINTEST)
+ INFO MYSQLTEST SQLBENCH DOCREADME SUPPORTFILES MYSQLDATA PLUGINTEST
+ SECURE_FILE_PRIV SECURE_FILE_PRIV_EMBEDDED)
SET(INSTALL_${var}DIR ${INSTALL_${var}DIR_${INSTALL_LAYOUT}}
CACHE STRING "${var} installation directory" ${FORCE})
MARK_AS_ADVANCED(INSTALL_${var}DIR)
ENDFOREACH()
+
+#
+# Set DEFAULT_SECURE_FILE_PRIV_DIR
+# This is used as default value for --secure-file-priv
+#
+IF(INSTALL_SECURE_FILE_PRIVDIR)
+ SET(DEFAULT_SECURE_FILE_PRIV_DIR "\"${INSTALL_SECURE_FILE_PRIVDIR}\""
+ CACHE INTERNAL "default --secure-file-priv directory" FORCE)
+ELSE()
+ SET(DEFAULT_SECURE_FILE_PRIV_DIR \"\"
+ CACHE INTERNAL "default --secure-file-priv directory" FORCE)
+ENDIF()
+
+IF(INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR)
+ SET(DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR "\"${INSTALL_SECURE_FILE_PRIV_EMBEDDEDDIR}\""
+ CACHE INTERNAL "default --secure-file-priv directory (for embedded library)" FORCE)
+ELSE()
+ SET(DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR "NULL"
+ CACHE INTERNAL "default --secure-file-priv directory (for embedded library)" FORCE)
+ENDIF()
# so WSREP_VERSION is produced regardless
# Set the patch version
-SET(WSREP_PATCH_VERSION "17")
+SET(WSREP_PATCH_VERSION "18")
# Obtain patch revision number
SET(WSREP_REVISION $ENV{WSREP_REV})
#cmakedefine CPU_LEVEL1_DCACHE_LINESIZE @CPU_LEVEL1_DCACHE_LINESIZE@
#cmakedefine HAVE_LIBNUMA 1
+/* For --secure-file-priv */
+#cmakedefine DEFAULT_SECURE_FILE_PRIV_DIR @DEFAULT_SECURE_FILE_PRIV_DIR@
+#cmakedefine DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR @DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR@
+
#endif
*** end Note ***
+yaSSL Release notes, version 2.4.2 (9/22/2016)
+ This release of yaSSL fixes a medium security vulnerability. A fix for
+ potential AES side channel leaks is included that a local user monitoring
+ the same CPU core cache could exploit. VM users, hyper-threading users,
+ and users where potential attackers have access to the CPU cache will need
+ to update if they utilize AES.
+
+ DSA padding fixes for unusual sizes is included as well. Users with DSA
+ certficiates should update.
+
+yaSSL Release notes, version 2.4.0 (5/20/2016)
+ This release of yaSSL fixes the OpenSSL compatibility function
+ SSL_CTX_load_verify_locations() when using the path directory to allow
+ unlimited path sizes. Minor Windows build fixes are included.
+ No high level security fixes in this version but we always recommend
+ updating.
+
+
yaSSL Release notes, version 2.3.9b (2/03/2016)
This release of yaSSL fixes the OpenSSL compatibility function
X509_NAME_get_index_by_NID() to use the actual index of the common name
-----BEGIN CERTIFICATE-----
-MIIDqzCCA2ugAwIBAgIJAMGqrgDU6DyhMAkGByqGSM44BAMwgY4xCzAJBgNVBAYT
+MIIDrzCCA2+gAwIBAgIJAK1zRM7YFcNjMAkGByqGSM44BAMwgZAxCzAJBgNVBAYT
AlVTMQ8wDQYDVQQIDAZPcmVnb24xETAPBgNVBAcMCFBvcnRsYW5kMRAwDgYDVQQK
-DAd3b2xmU1NMMRAwDgYDVQQLDAd0ZXN0aW5nMRYwFAYDVQQDDA13d3cueWFzc2wu
-Y29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHdvbGZzc2wuY29tMB4XDTEzMDQyMjIw
-MDk0NFoXDTE2MDExNzIwMDk0NFowgY4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQIDAZP
-cmVnb24xETAPBgNVBAcMCFBvcnRsYW5kMRAwDgYDVQQKDAd3b2xmU1NMMRAwDgYD
-VQQLDAd0ZXN0aW5nMRYwFAYDVQQDDA13d3cueWFzc2wuY29tMR8wHQYJKoZIhvcN
-AQkBFhBpbmZvQHdvbGZzc2wuY29tMIIBuDCCASwGByqGSM44BAEwggEfAoGBAL1R
-7koy4IrH6sbh6nDEUUPPKgfhxxLCWCVexF2+qzANEr+hC9M002haJXFOfeS9DyoO
-WFbL0qMZOuqv+22CaHnoUWl7q3PjJOAI3JH0P54ZyUPuU1909RzgTdIDp5+ikbr7
-KYjnltL73FQVMbjTZQKthIpPn3MjYcF+4jp2W2zFAhUAkcntYND6MGf+eYzIJDN2
-L7SonHUCgYEAklpxErfqznIZjVvqqHFaq+mgAL5J8QrKVmdhYZh/Y8z4jCjoCA8o
-TDoFKxf7s2ZzgaPKvglaEKiYqLqic9qY78DYJswzQMLFvjsF4sFZ+pYCBdWPQI4N
-PgxCiznK6Ce+JH9ikSBvMvG+tevjr2UpawDIHX3+AWYaZBZwKADAaboDgYUAAoGB
-AJ3LY89yHyvQ/TsQ6zlYbovjbk/ogndsMqPdNUvL4RuPTgJP/caaDDa0XJ7ak6A7
-TJ+QheLNwOXoZPYJC4EGFSDAXpYniGhbWIrVTCGe6lmZDfnx40WXS0kk3m/DHaC0
-3ElLAiybxVGxyqoUfbT3Zv1JwftWMuiqHH5uADhdXuXVo1AwTjAdBgNVHQ4EFgQU
-IJjk416o4v8qpH9LBtXlR9v8gccwHwYDVR0jBBgwFoAUIJjk416o4v8qpH9LBtXl
-R9v8gccwDAYDVR0TBAUwAwEB/zAJBgcqhkjOOAQDAy8AMCwCFCjGKIdOSV12LcTu
-k08owGM6YkO1AhQe+K173VuaO/OsDNsxZlKpyH8+1g==
+DAd3b2xmU1NMMRAwDgYDVQQLDAd0ZXN0aW5nMRgwFgYDVQQDDA93d3cud29sZnNz
+bC5jb20xHzAdBgkqhkiG9w0BCQEWEGluZm9Ad29sZnNzbC5jb20wHhcNMTYwOTIy
+MjEyMzA0WhcNMjIwMzE1MjEyMzA0WjCBkDELMAkGA1UEBhMCVVMxDzANBgNVBAgM
+Bk9yZWdvbjERMA8GA1UEBwwIUG9ydGxhbmQxEDAOBgNVBAoMB3dvbGZTU0wxEDAO
+BgNVBAsMB3Rlc3RpbmcxGDAWBgNVBAMMD3d3dy53b2xmc3NsLmNvbTEfMB0GCSqG
+SIb3DQEJARYQaW5mb0B3b2xmc3NsLmNvbTCCAbgwggEsBgcqhkjOOAQBMIIBHwKB
+gQC9Ue5KMuCKx+rG4epwxFFDzyoH4ccSwlglXsRdvqswDRK/oQvTNNNoWiVxTn3k
+vQ8qDlhWy9KjGTrqr/ttgmh56FFpe6tz4yTgCNyR9D+eGclD7lNfdPUc4E3SA6ef
+opG6+ymI55bS+9xUFTG402UCrYSKT59zI2HBfuI6dltsxQIVAJHJ7WDQ+jBn/nmM
+yCQzdi+0qJx1AoGBAJJacRK36s5yGY1b6qhxWqvpoAC+SfEKylZnYWGYf2PM+Iwo
+6AgPKEw6BSsX+7Nmc4Gjyr4JWhComKi6onPamO/A2CbMM0DCxb47BeLBWfqWAgXV
+j0CODT4MQos5yugnviR/YpEgbzLxvrXr469lKWsAyB19/gFmGmQWcCgAwGm6A4GF
+AAKBgQCdy2PPch8r0P07EOs5WG6L425P6IJ3bDKj3TVLy+Ebj04CT/3Gmgw2tFye
+2pOgO0yfkIXizcDl6GT2CQuBBhUgwF6WJ4hoW1iK1UwhnupZmQ358eNFl0tJJN5v
+wx2gtNxJSwIsm8VRscqqFH2092b9ScH7VjLoqhx+bgA4XV7l1aNQME4wHQYDVR0O
+BBYEFCCY5ONeqOL/KqR/SwbV5Ufb/IHHMB8GA1UdIwQYMBaAFCCY5ONeqOL/KqR/
+SwbV5Ufb/IHHMAwGA1UdEwQFMAMBAf8wCQYHKoZIzjgEAwMvADAsAhQRYSCVN/Ge
+agV3mffU3qNZ92fI0QIUPH7Jp+iASI7U1ocaYDc10qXGaGY=
-----END CERTIFICATE-----
#include "rsa.h"
-#define YASSL_VERSION "2.3.9b"
+#define YASSL_VERSION "2.4.2"
#if defined(__cplusplus)
TaoCrypt::DSA_PrivateKey dsaKey;
dsaKey.Initialize(dsaSource);
- if (rsaSource.GetError().What()) {
+ if (dsaSource.GetError().What()) {
// neither worked
ret = SSL_FAILURE;
}
WIN32_FIND_DATA FindFileData;
HANDLE hFind;
- char name[MAX_PATH + 1]; // directory specification
- strncpy(name, path, MAX_PATH - 3);
- strncat(name, "\\*", 3);
+ const int DELIMITER_SZ = 2;
+ const int DELIMITER_STAR_SZ = 3;
+ int pathSz = (int)strlen(path);
+ int nameSz = pathSz + DELIMITER_STAR_SZ + 1; // plus 1 for terminator
+ char* name = NEW_YS char[nameSz]; // directory specification
+ memset(name, 0, nameSz);
+ strncpy(name, path, nameSz - DELIMITER_STAR_SZ - 1);
+ strncat(name, "\\*", DELIMITER_STAR_SZ);
hFind = FindFirstFile(name, &FindFileData);
- if (hFind == INVALID_HANDLE_VALUE) return SSL_BAD_PATH;
+ if (hFind == INVALID_HANDLE_VALUE) {
+ ysArrayDelete(name);
+ return SSL_BAD_PATH;
+ }
do {
- if (FindFileData.dwFileAttributes != FILE_ATTRIBUTE_DIRECTORY) {
- strncpy(name, path, MAX_PATH - 2 - HALF_PATH);
- strncat(name, "\\", 2);
- strncat(name, FindFileData.cFileName, HALF_PATH);
+ if (!(FindFileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)) {
+ int curSz = (int)strlen(FindFileData.cFileName);
+ if (pathSz + curSz + DELIMITER_SZ + 1 > nameSz) {
+ ysArrayDelete(name);
+ // plus 1 for terminator
+ nameSz = pathSz + curSz + DELIMITER_SZ + 1;
+ name = NEW_YS char[nameSz];
+ }
+ memset(name, 0, nameSz);
+ strncpy(name, path, nameSz - curSz - DELIMITER_SZ - 1);
+ strncat(name, "\\", DELIMITER_SZ);
+ strncat(name, FindFileData.cFileName,
+ nameSz - pathSz - DELIMITER_SZ - 1);
ret = read_file(ctx, name, SSL_FILETYPE_PEM, CA);
}
} while (ret == SSL_SUCCESS && FindNextFile(hFind, &FindFileData));
+ ysArrayDelete(name);
FindClose(hFind);
#else // _WIN32
-
- const int MAX_PATH = 260;
-
DIR* dir = opendir(path);
if (!dir) return SSL_BAD_PATH;
struct dirent* entry;
struct stat buf;
- char name[MAX_PATH + 1];
+ const int DELIMITER_SZ = 1;
+ int pathSz = (int)strlen(path);
+ int nameSz = pathSz + DELIMITER_SZ + 1; //plus 1 for null terminator
+ char* name = NEW_YS char[nameSz]; // directory specification
while (ret == SSL_SUCCESS && (entry = readdir(dir))) {
- strncpy(name, path, MAX_PATH - 1 - HALF_PATH);
- strncat(name, "/", 1);
- strncat(name, entry->d_name, HALF_PATH);
+ int curSz = (int)strlen(entry->d_name);
+ if (pathSz + curSz + DELIMITER_SZ + 1 > nameSz) {
+ ysArrayDelete(name);
+ nameSz = pathSz + DELIMITER_SZ + curSz + 1;
+ name = NEW_YS char[nameSz];
+ }
+ memset(name, 0, nameSz);
+ strncpy(name, path, nameSz - curSz - 1);
+ strncat(name, "/", DELIMITER_SZ);
+ strncat(name, entry->d_name, nameSz - pathSz - DELIMITER_SZ - 1);
+
if (stat(name, &buf) < 0) {
+ ysArrayDelete(name);
closedir(dir);
return SSL_BAD_STAT;
}
ret = read_file(ctx, name, SSL_FILETYPE_PEM, CA);
}
+ ysArrayDelete(name);
closedir(dir);
#endif
static const word32 Te[5][256];
static const word32 Td[5][256];
+ static const byte CTd4[256];
static const word32* Te0;
static const word32* Te1;
void ProcessAndXorBlock(const byte*, const byte*, byte*) const;
+ word32 PreFetchTe() const;
+ word32 PreFetchTd() const;
+ word32 PreFetchCTd4() const;
+
AES(const AES&); // hide copy
AES& operator=(const AES&); // and assign
};
+#if defined(__x86_64__) || defined(_M_X64) || \
+ (defined(__ILP32__) && (__ILP32__ >= 1))
+ #define TC_CACHE_LINE_SZ 64
+#else
+ /* default cache line size */
+ #define TC_CACHE_LINE_SZ 32
+#endif
+
+inline word32 AES::PreFetchTe() const
+{
+ word32 x = 0;
+
+ /* 4 tables of 256 entries */
+ for (int i = 0; i < 4; i++) {
+ /* each entry is 4 bytes */
+ for (int j = 0; j < 256; j += TC_CACHE_LINE_SZ/4) {
+ x &= Te[i][j];
+ }
+ }
+
+ return x;
+}
+
+
+inline word32 AES::PreFetchTd() const
+{
+ word32 x = 0;
+
+ /* 4 tables of 256 entries */
+ for (int i = 0; i < 4; i++) {
+ /* each entry is 4 bytes */
+ for (int j = 0; j < 256; j += TC_CACHE_LINE_SZ/4) {
+ x &= Td[i][j];
+ }
+ }
+
+ return x;
+}
+
+
+inline word32 AES::PreFetchCTd4() const
+{
+ word32 x = 0;
+ int i;
+
+ for (i = 0; i < 256; i += TC_CACHE_LINE_SZ) {
+ x &= CTd4[i];
+ }
+
+ return x;
+}
+
+
typedef BlockCipher<ENCRYPTION, AES, ECB> AES_ECB_Encryption;
typedef BlockCipher<DECRYPTION, AES, ECB> AES_ECB_Decryption;
+#ifdef _WIN32
+ #undef max // avoid name clash
+#endif
// general MAX
template<typename T> inline
const T& max(const T& a, const T& b)
{
temp = rk[3];
rk[4] = rk[0] ^
- (Te4[GETBYTE(temp, 2)] & 0xff000000) ^
- (Te4[GETBYTE(temp, 1)] & 0x00ff0000) ^
- (Te4[GETBYTE(temp, 0)] & 0x0000ff00) ^
- (Te4[GETBYTE(temp, 3)] & 0x000000ff) ^
+ (Te2[GETBYTE(temp, 2)] & 0xff000000) ^
+ (Te3[GETBYTE(temp, 1)] & 0x00ff0000) ^
+ (Te0[GETBYTE(temp, 0)] & 0x0000ff00) ^
+ (Te1[GETBYTE(temp, 3)] & 0x000000ff) ^
rcon_[i];
rk[5] = rk[1] ^ rk[4];
rk[6] = rk[2] ^ rk[5];
{
temp = rk[ 5];
rk[ 6] = rk[ 0] ^
- (Te4[GETBYTE(temp, 2)] & 0xff000000) ^
- (Te4[GETBYTE(temp, 1)] & 0x00ff0000) ^
- (Te4[GETBYTE(temp, 0)] & 0x0000ff00) ^
- (Te4[GETBYTE(temp, 3)] & 0x000000ff) ^
+ (Te2[GETBYTE(temp, 2)] & 0xff000000) ^
+ (Te3[GETBYTE(temp, 1)] & 0x00ff0000) ^
+ (Te0[GETBYTE(temp, 0)] & 0x0000ff00) ^
+ (Te1[GETBYTE(temp, 3)] & 0x000000ff) ^
rcon_[i];
rk[ 7] = rk[ 1] ^ rk[ 6];
rk[ 8] = rk[ 2] ^ rk[ 7];
{
temp = rk[ 7];
rk[ 8] = rk[ 0] ^
- (Te4[GETBYTE(temp, 2)] & 0xff000000) ^
- (Te4[GETBYTE(temp, 1)] & 0x00ff0000) ^
- (Te4[GETBYTE(temp, 0)] & 0x0000ff00) ^
- (Te4[GETBYTE(temp, 3)] & 0x000000ff) ^
+ (Te2[GETBYTE(temp, 2)] & 0xff000000) ^
+ (Te3[GETBYTE(temp, 1)] & 0x00ff0000) ^
+ (Te0[GETBYTE(temp, 0)] & 0x0000ff00) ^
+ (Te1[GETBYTE(temp, 3)] & 0x000000ff) ^
rcon_[i];
rk[ 9] = rk[ 1] ^ rk[ 8];
rk[10] = rk[ 2] ^ rk[ 9];
break;
temp = rk[11];
rk[12] = rk[ 4] ^
- (Te4[GETBYTE(temp, 3)] & 0xff000000) ^
- (Te4[GETBYTE(temp, 2)] & 0x00ff0000) ^
- (Te4[GETBYTE(temp, 1)] & 0x0000ff00) ^
- (Te4[GETBYTE(temp, 0)] & 0x000000ff);
+ (Te2[GETBYTE(temp, 3)] & 0xff000000) ^
+ (Te3[GETBYTE(temp, 2)] & 0x00ff0000) ^
+ (Te0[GETBYTE(temp, 1)] & 0x0000ff00) ^
+ (Te1[GETBYTE(temp, 0)] & 0x000000ff);
rk[13] = rk[ 5] ^ rk[12];
rk[14] = rk[ 6] ^ rk[13];
rk[15] = rk[ 7] ^ rk[14];
for (i = 1; i < rounds_; i++) {
rk += 4;
rk[0] =
- Td0[Te4[GETBYTE(rk[0], 3)] & 0xff] ^
- Td1[Te4[GETBYTE(rk[0], 2)] & 0xff] ^
- Td2[Te4[GETBYTE(rk[0], 1)] & 0xff] ^
- Td3[Te4[GETBYTE(rk[0], 0)] & 0xff];
+ Td0[Te1[GETBYTE(rk[0], 3)] & 0xff] ^
+ Td1[Te1[GETBYTE(rk[0], 2)] & 0xff] ^
+ Td2[Te1[GETBYTE(rk[0], 1)] & 0xff] ^
+ Td3[Te1[GETBYTE(rk[0], 0)] & 0xff];
rk[1] =
- Td0[Te4[GETBYTE(rk[1], 3)] & 0xff] ^
- Td1[Te4[GETBYTE(rk[1], 2)] & 0xff] ^
- Td2[Te4[GETBYTE(rk[1], 1)] & 0xff] ^
- Td3[Te4[GETBYTE(rk[1], 0)] & 0xff];
+ Td0[Te1[GETBYTE(rk[1], 3)] & 0xff] ^
+ Td1[Te1[GETBYTE(rk[1], 2)] & 0xff] ^
+ Td2[Te1[GETBYTE(rk[1], 1)] & 0xff] ^
+ Td3[Te1[GETBYTE(rk[1], 0)] & 0xff];
rk[2] =
- Td0[Te4[GETBYTE(rk[2], 3)] & 0xff] ^
- Td1[Te4[GETBYTE(rk[2], 2)] & 0xff] ^
- Td2[Te4[GETBYTE(rk[2], 1)] & 0xff] ^
- Td3[Te4[GETBYTE(rk[2], 0)] & 0xff];
+ Td0[Te1[GETBYTE(rk[2], 3)] & 0xff] ^
+ Td1[Te1[GETBYTE(rk[2], 2)] & 0xff] ^
+ Td2[Te1[GETBYTE(rk[2], 1)] & 0xff] ^
+ Td3[Te1[GETBYTE(rk[2], 0)] & 0xff];
rk[3] =
- Td0[Te4[GETBYTE(rk[3], 3)] & 0xff] ^
- Td1[Te4[GETBYTE(rk[3], 2)] & 0xff] ^
- Td2[Te4[GETBYTE(rk[3], 1)] & 0xff] ^
- Td3[Te4[GETBYTE(rk[3], 0)] & 0xff];
+ Td0[Te1[GETBYTE(rk[3], 3)] & 0xff] ^
+ Td1[Te1[GETBYTE(rk[3], 2)] & 0xff] ^
+ Td2[Te1[GETBYTE(rk[3], 1)] & 0xff] ^
+ Td3[Te1[GETBYTE(rk[3], 0)] & 0xff];
}
}
}
s2 ^= rk[2];
s3 ^= rk[3];
+ s0 |= PreFetchTe();
/*
* Nr - 1 full rounds:
*/
*/
s0 =
- (Te4[GETBYTE(t0, 3)] & 0xff000000) ^
- (Te4[GETBYTE(t1, 2)] & 0x00ff0000) ^
- (Te4[GETBYTE(t2, 1)] & 0x0000ff00) ^
- (Te4[GETBYTE(t3, 0)] & 0x000000ff) ^
+ (Te2[GETBYTE(t0, 3)] & 0xff000000) ^
+ (Te3[GETBYTE(t1, 2)] & 0x00ff0000) ^
+ (Te0[GETBYTE(t2, 1)] & 0x0000ff00) ^
+ (Te1[GETBYTE(t3, 0)] & 0x000000ff) ^
rk[0];
s1 =
- (Te4[GETBYTE(t1, 3)] & 0xff000000) ^
- (Te4[GETBYTE(t2, 2)] & 0x00ff0000) ^
- (Te4[GETBYTE(t3, 1)] & 0x0000ff00) ^
- (Te4[GETBYTE(t0, 0)] & 0x000000ff) ^
+ (Te2[GETBYTE(t1, 3)] & 0xff000000) ^
+ (Te3[GETBYTE(t2, 2)] & 0x00ff0000) ^
+ (Te0[GETBYTE(t3, 1)] & 0x0000ff00) ^
+ (Te1[GETBYTE(t0, 0)] & 0x000000ff) ^
rk[1];
s2 =
- (Te4[GETBYTE(t2, 3)] & 0xff000000) ^
- (Te4[GETBYTE(t3, 2)] & 0x00ff0000) ^
- (Te4[GETBYTE(t0, 1)] & 0x0000ff00) ^
- (Te4[GETBYTE(t1, 0)] & 0x000000ff) ^
+ (Te2[GETBYTE(t2, 3)] & 0xff000000) ^
+ (Te3[GETBYTE(t3, 2)] & 0x00ff0000) ^
+ (Te0[GETBYTE(t0, 1)] & 0x0000ff00) ^
+ (Te1[GETBYTE(t1, 0)] & 0x000000ff) ^
rk[2];
s3 =
- (Te4[GETBYTE(t3, 3)] & 0xff000000) ^
- (Te4[GETBYTE(t0, 2)] & 0x00ff0000) ^
- (Te4[GETBYTE(t1, 1)] & 0x0000ff00) ^
- (Te4[GETBYTE(t2, 0)] & 0x000000ff) ^
+ (Te2[GETBYTE(t3, 3)] & 0xff000000) ^
+ (Te3[GETBYTE(t0, 2)] & 0x00ff0000) ^
+ (Te0[GETBYTE(t1, 1)] & 0x0000ff00) ^
+ (Te1[GETBYTE(t2, 0)] & 0x000000ff) ^
rk[3];
s2 ^= rk[2];
s3 ^= rk[3];
+ s0 |= PreFetchTd();
+
/*
* Nr - 1 full rounds:
*/
* apply last round and
* map cipher state to byte array block:
*/
+
+ t0 |= PreFetchCTd4();
+
s0 =
- (Td4[GETBYTE(t0, 3)] & 0xff000000) ^
- (Td4[GETBYTE(t3, 2)] & 0x00ff0000) ^
- (Td4[GETBYTE(t2, 1)] & 0x0000ff00) ^
- (Td4[GETBYTE(t1, 0)] & 0x000000ff) ^
+ ((word32)CTd4[GETBYTE(t0, 3)] << 24) ^
+ ((word32)CTd4[GETBYTE(t3, 2)] << 16) ^
+ ((word32)CTd4[GETBYTE(t2, 1)] << 8) ^
+ ((word32)CTd4[GETBYTE(t1, 0)]) ^
rk[0];
s1 =
- (Td4[GETBYTE(t1, 3)] & 0xff000000) ^
- (Td4[GETBYTE(t0, 2)] & 0x00ff0000) ^
- (Td4[GETBYTE(t3, 1)] & 0x0000ff00) ^
- (Td4[GETBYTE(t2, 0)] & 0x000000ff) ^
+ ((word32)CTd4[GETBYTE(t1, 3)] << 24) ^
+ ((word32)CTd4[GETBYTE(t0, 2)] << 16) ^
+ ((word32)CTd4[GETBYTE(t3, 1)] << 8) ^
+ ((word32)CTd4[GETBYTE(t2, 0)]) ^
rk[1];
s2 =
- (Td4[GETBYTE(t2, 3)] & 0xff000000) ^
- (Td4[GETBYTE(t1, 2)] & 0x00ff0000) ^
- (Td4[GETBYTE(t0, 1)] & 0x0000ff00) ^
- (Td4[GETBYTE(t3, 0)] & 0x000000ff) ^
+ ((word32)CTd4[GETBYTE(t2, 3)] << 24 ) ^
+ ((word32)CTd4[GETBYTE(t1, 2)] << 16 ) ^
+ ((word32)CTd4[GETBYTE(t0, 1)] << 8 ) ^
+ ((word32)CTd4[GETBYTE(t3, 0)]) ^
rk[2];
s3 =
- (Td4[GETBYTE(t3, 3)] & 0xff000000) ^
- (Td4[GETBYTE(t2, 2)] & 0x00ff0000) ^
- (Td4[GETBYTE(t1, 1)] & 0x0000ff00) ^
- (Td4[GETBYTE(t0, 0)] & 0x000000ff) ^
+ ((word32)CTd4[GETBYTE(t3, 3)] << 24) ^
+ ((word32)CTd4[GETBYTE(t2, 2)] << 16) ^
+ ((word32)CTd4[GETBYTE(t1, 1)] << 8) ^
+ ((word32)CTd4[GETBYTE(t0, 0)]) ^
rk[3];
gpBlock::Put(xorBlock, outBlock)(s0)(s1)(s2)(s3);
}
};
+const byte AES::CTd4[256] =
+{
+ 0x52U, 0x09U, 0x6aU, 0xd5U, 0x30U, 0x36U, 0xa5U, 0x38U,
+ 0xbfU, 0x40U, 0xa3U, 0x9eU, 0x81U, 0xf3U, 0xd7U, 0xfbU,
+ 0x7cU, 0xe3U, 0x39U, 0x82U, 0x9bU, 0x2fU, 0xffU, 0x87U,
+ 0x34U, 0x8eU, 0x43U, 0x44U, 0xc4U, 0xdeU, 0xe9U, 0xcbU,
+ 0x54U, 0x7bU, 0x94U, 0x32U, 0xa6U, 0xc2U, 0x23U, 0x3dU,
+ 0xeeU, 0x4cU, 0x95U, 0x0bU, 0x42U, 0xfaU, 0xc3U, 0x4eU,
+ 0x08U, 0x2eU, 0xa1U, 0x66U, 0x28U, 0xd9U, 0x24U, 0xb2U,
+ 0x76U, 0x5bU, 0xa2U, 0x49U, 0x6dU, 0x8bU, 0xd1U, 0x25U,
+ 0x72U, 0xf8U, 0xf6U, 0x64U, 0x86U, 0x68U, 0x98U, 0x16U,
+ 0xd4U, 0xa4U, 0x5cU, 0xccU, 0x5dU, 0x65U, 0xb6U, 0x92U,
+ 0x6cU, 0x70U, 0x48U, 0x50U, 0xfdU, 0xedU, 0xb9U, 0xdaU,
+ 0x5eU, 0x15U, 0x46U, 0x57U, 0xa7U, 0x8dU, 0x9dU, 0x84U,
+ 0x90U, 0xd8U, 0xabU, 0x00U, 0x8cU, 0xbcU, 0xd3U, 0x0aU,
+ 0xf7U, 0xe4U, 0x58U, 0x05U, 0xb8U, 0xb3U, 0x45U, 0x06U,
+ 0xd0U, 0x2cU, 0x1eU, 0x8fU, 0xcaU, 0x3fU, 0x0fU, 0x02U,
+ 0xc1U, 0xafU, 0xbdU, 0x03U, 0x01U, 0x13U, 0x8aU, 0x6bU,
+ 0x3aU, 0x91U, 0x11U, 0x41U, 0x4fU, 0x67U, 0xdcU, 0xeaU,
+ 0x97U, 0xf2U, 0xcfU, 0xceU, 0xf0U, 0xb4U, 0xe6U, 0x73U,
+ 0x96U, 0xacU, 0x74U, 0x22U, 0xe7U, 0xadU, 0x35U, 0x85U,
+ 0xe2U, 0xf9U, 0x37U, 0xe8U, 0x1cU, 0x75U, 0xdfU, 0x6eU,
+ 0x47U, 0xf1U, 0x1aU, 0x71U, 0x1dU, 0x29U, 0xc5U, 0x89U,
+ 0x6fU, 0xb7U, 0x62U, 0x0eU, 0xaaU, 0x18U, 0xbeU, 0x1bU,
+ 0xfcU, 0x56U, 0x3eU, 0x4bU, 0xc6U, 0xd2U, 0x79U, 0x20U,
+ 0x9aU, 0xdbU, 0xc0U, 0xfeU, 0x78U, 0xcdU, 0x5aU, 0xf4U,
+ 0x1fU, 0xddU, 0xa8U, 0x33U, 0x88U, 0x07U, 0xc7U, 0x31U,
+ 0xb1U, 0x12U, 0x10U, 0x59U, 0x27U, 0x80U, 0xecU, 0x5fU,
+ 0x60U, 0x51U, 0x7fU, 0xa9U, 0x19U, 0xb5U, 0x4aU, 0x0dU,
+ 0x2dU, 0xe5U, 0x7aU, 0x9fU, 0x93U, 0xc9U, 0x9cU, 0xefU,
+ 0xa0U, 0xe0U, 0x3bU, 0x4dU, 0xaeU, 0x2aU, 0xf5U, 0xb0U,
+ 0xc8U, 0xebU, 0xbbU, 0x3cU, 0x83U, 0x53U, 0x99U, 0x61U,
+ 0x17U, 0x2bU, 0x04U, 0x7eU, 0xbaU, 0x77U, 0xd6U, 0x26U,
+ 0xe1U, 0x69U, 0x14U, 0x63U, 0x55U, 0x21U, 0x0cU, 0x7dU,
+};
+
const word32* AES::Te0 = AES::Te[0];
const word32* AES::Te1 = AES::Te[1];
const word32* AES::Te2 = AES::Te[2];
const word32* AES::Te3 = AES::Te[3];
-const word32* AES::Te4 = AES::Te[4];
const word32* AES::Td0 = AES::Td[0];
const word32* AES::Td1 = AES::Td[1];
const word32* AES::Td2 = AES::Td[2];
const word32* AES::Td3 = AES::Td[3];
-const word32* AES::Td4 = AES::Td[4];
}
word32 rLen = GetLength(source);
if (rLen != 20) {
- if (rLen == 21) { // zero at front, eat
+ while (rLen > 20 && source.remaining() > 0) { // zero's at front, eat
source.next();
--rLen;
}
- else if (rLen == 19) { // add zero to front so 20 bytes
+ if (rLen < 20) { // add zero's to front so 20 bytes
+ word32 tmpLen = rLen;
+ while (tmpLen < 20) {
decoded[0] = 0;
decoded++;
+ tmpLen++;
}
- else {
- source.SetError(DSA_SZ_E);
- return 0;
}
}
memcpy(decoded, source.get_buffer() + source.get_index(), rLen);
}
word32 sLen = GetLength(source);
if (sLen != 20) {
- if (sLen == 21) {
- source.next(); // zero at front, eat
+ while (sLen > 20 && source.remaining() > 0) {
+ source.next(); // zero's at front, eat
--sLen;
}
- else if (sLen == 19) {
- decoded[rLen] = 0; // add zero to front so 20 bytes
+ if (sLen < 20) { // add zero's to front so 20 bytes
+ word32 tmpLen = sLen;
+ while (tmpLen < 20) {
+ decoded[rLen] = 0;
decoded++;
+ tmpLen++;
}
- else {
- source.SetError(DSA_SZ_E);
- return 0;
}
}
memcpy(decoded + rLen, source.get_buffer() + source.get_index(), sLen);
const Integer& q = key_.GetSubGroupOrder();
const Integer& g = key_.GetSubGroupGenerator();
const Integer& x = key_.GetPrivatePart();
+ byte* tmpPtr = sig; // initial signature output
Integer k(rng, 1, q - 1);
return -1;
int rSz = r_.ByteCount();
+ int tmpSz = rSz;
- if (rSz == 19) {
- sig[0] = 0;
- sig++;
+ while (tmpSz++ < SHA::DIGEST_SIZE) {
+ *sig++ = 0;
}
r_.Encode(sig, rSz);
+ sig = tmpPtr + SHA::DIGEST_SIZE; // advance sig output to s
int sSz = s_.ByteCount();
+ tmpSz = sSz;
- if (sSz == 19) {
- sig[rSz] = 0;
- sig++;
+ while (tmpSz++ < SHA::DIGEST_SIZE) {
+ *sig++ = 0;
}
- s_.Encode(sig + rSz, sSz);
+ s_.Encode(sig, sSz);
return 40;
}
if (!verifier.Verify(digest, decoded))
return -90;
+ if (!verifier.Verify(digest, signature))
+ return -91;
+
return 0;
}
#define yaSSL_TEST_HPP
#include "runtime.hpp"
-#include "openssl/ssl.h" /* openssl compatibility test */
#include "error.hpp"
#include <stdio.h>
#include <stdlib.h>
#endif
#define SOCKET_T int
#endif /* _WIN32 */
+#include "openssl/ssl.h" /* openssl compatibility test */
#ifdef _MSC_VER
--- Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.
+-- Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
("Changed limits: table_open_cache: *"),
("Could not increase number of max_open_files to more than *"),
+ /*
+ Warnings related to --secure-file-priv
+ */
+ ("Insecure configuration for --secure-file-priv:*"),
+
/*
Galera suppressions
*/
("JOIN message from member .* in non-primary configuration"),
("install timer expired"),
("Last Applied Action message in non-primary configuration from member"),
+
("THE_LAST_SUPPRESSION")||
# their paths may vary:
@skipvars=qw/basedir open-files-limit general-log-file plugin-dir
pid-file slow-query-log-file
- datadir slave-load-tmpdir tmpdir socket table-definition-cache table-open-cache wsrep-node-name/;
+ datadir slave-load-tmpdir tmpdir socket table-definition-cache table-open-cache secure-file-priv wsrep-node-name/;
# Plugins which may or may not be there:
@plugins=qw/innodb ndb ndbinfo archive blackhole federated partition ndbcluster debug temp-pool ssl des-key-file
mtr_init_args(\$args);
mtr_add_arg($args, "--no-defaults");
mtr_add_arg($args, "--datadir=%s", mixed_path($tmpdir));
+ mtr_add_arg($args, "--secure-file-priv=\"\"");
mtr_add_arg($args, "--lc-messages-dir=%s", $path_language);
mtr_add_arg($args, "--skip-grant-tables");
mtr_add_arg($args, "--verbose");
mtr_add_arg($args, "--loose-skip-falcon");
mtr_add_arg($args, "--loose-skip-ndbcluster");
mtr_add_arg($args, "--tmpdir=%s", "$opt_vardir/tmp/");
+ mtr_add_arg($args, "--secure-file-priv=%s", "$opt_vardir");
mtr_add_arg($args, "--innodb-log-file-size=5M");
mtr_add_arg($args, "--core-file");
# over writing innodb_autoextend_increment to 8 for reducing the ibdata1 file size
rpl-stop-slave-timeout 31536000
safe-user-create FALSE
secure-auth TRUE
-secure-file-priv (No default value)
server-id 0
server-id-bits 32
show-old-temporals FALSE
rpl-stop-slave-timeout 31536000
safe-user-create FALSE
secure-auth TRUE
-secure-file-priv (No default value)
server-id 0
server-id-bits 32
shared-memory FALSE
--- /dev/null
+#-----------------------------------------------------------------------
+# Setup
+# Try to restart server with invalid value for --secure-file-priv
+# Search for : Failed to access directory for --secure-file-priv.
+# Search for : No such file or directory
+# Restart completed.
+# Restart
+#-----------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------
+# Setup
+#-----------------------------------------------------------------------
+# Search for : --secure-file-priv is set to NULL. Operations
+# related to importing and exporting data are
+# disabled
+show variables like 'secure_file_priv';
+Variable_name Value
+secure_file_priv null
+use test;
+drop table if exists secure_file_priv_test_null;
+create table secure_file_priv_test_null(c1 int);
+insert into secure_file_priv_test_null values (1), (2), (3), (4);
+select * from secure_file_priv_test_null into outfile 'blah';
+ERROR HY000: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
+select * from secure_file_priv_test_null into outfile 'null/blah';
+ERROR HY000: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
+drop table secure_file_priv_test_null;
+#-----------------------------------------------------------------------
+# Clean-up
+#-----------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------
+# Setup
+#-----------------------------------------------------------------------
+# Search for : Insecure configuration for --secure-file-priv: Current
+# value does not restrict location of generated files.
+# Consider setting it to a valid, non-empty path.
+SHOW VARIABLES LIKE 'secure_file_priv';
+Variable_name Value
+secure_file_priv
+#-----------------------------------------------------------------------
+# Restart completed.
+# Search for : Insecure configuration for --secure-file-priv: Plugin
+# directory is accessible through --secure-file-priv.
+# Consider choosing a different directory.
+#-----------------------------------------------------------------------
+# Clean-up
+#-----------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------
+# Search for : Insecure configuration for --secure-file-priv: Data
+# directory is accessible through --secure-file-priv.
+# Consider choosing a different directory.
+#-----------------------------------------------------------------------
+# Search for : Insecure configuration for --secure-file-priv: Location
+# is accessible to all OS users. Consider choosing a
+# different directory.
+#-----------------------------------------------------------------------
--- /dev/null
+#-----------------------------------------------------------------------
+# Test 2 : Restarting mysqld with :
+# --secure-file-priv=MYSQLTEST_VARDIR/mysqld.1/Data
+# Restart completed.
+# Search for : Insecure configuration for --secure-file-priv: Data
+# directory is accessible through --secure-file-priv.
+# Consider choosing a different directory.
+#-----------------------------------------------------------------------
--- /dev/null
+--source include/no_valgrind_without_big.inc
+--source include/not_embedded.inc
+
+--echo #-----------------------------------------------------------------------
+--echo # Setup
+let restart_log= $MYSQLTEST_VARDIR/log/my_restart.err;
+let SEARCH_FILE= $restart_log;
+let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+
+--echo # Try to restart server with invalid value for --secure-file-priv
+--exec echo "wait" > $restart_file
+--shutdown_server
+--source include/wait_until_disconnected.inc
+
+--error 0,1
+--remove_file $restart_log
+# Following should fail
+--error 1
+--exec $MYSQLD_CMD --secure-file-priv=blahblahblah --loose-console > $restart_log 2>&1
+
+--echo # Search for : Failed to access directory for --secure-file-priv.
+let SEARCH_PATTERN= Failed to access directory for --secure-file-priv;
+--source include/search_pattern_in_file.inc
+
+--echo # Search for : No such file or directory
+let SEARCH_PATTERN= No such file or directory;
+--source include/search_pattern_in_file.inc
+
+--remove_file $restart_log
+
+--source include/wait_until_disconnected.inc
+# Dummy argument for restart
+--exec echo "restart: --ssl" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+--disable_reconnect
+--echo # Restart completed.
+
+--echo # Restart
+--disable_warnings
+--source include/force_restart.inc
+--enable_warnings
+--echo #-----------------------------------------------------------------------
--- /dev/null
+--source include/no_valgrind_without_big.inc
+--source include/not_embedded.inc
+
+--echo #-----------------------------------------------------------------------
+--echo # Setup
+let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
+let SEARCH_FILE= $server_log;
+let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+let $secure_file_priv_arg= \"null\";
+--echo #-----------------------------------------------------------------------
+
+--exec echo "wait" > $restart_file
+--shutdown_server
+--source include/wait_until_disconnected.inc
+--remove_file $server_log
+--exec echo "restart:--secure-file-priv=$secure_file_priv_arg" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+--disable_reconnect
+
+--echo # Search for : --secure-file-priv is set to NULL. Operations
+--echo # related to importing and exporting data are
+--echo # disabled
+let SEARCH_PATTERN= --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled;
+--source include/search_pattern_in_file.inc
+
+connect(test4_con,localhost,root,,,,,);
+show variables like 'secure_file_priv';
+
+use test;
+--disable_warnings
+drop table if exists secure_file_priv_test_null;
+--enable_warnings
+create table secure_file_priv_test_null(c1 int);
+insert into secure_file_priv_test_null values (1), (2), (3), (4);
+--error 1290
+select * from secure_file_priv_test_null into outfile 'blah';
+--error 1290
+select * from secure_file_priv_test_null into outfile 'null/blah';
+drop table secure_file_priv_test_null;
+
+connection default;
+disconnect test4_con;
+
+--echo #-----------------------------------------------------------------------
+
+--echo # Clean-up
+--disable_warnings
+--source include/force_restart.inc
+--enable_warnings
+
+--echo #-----------------------------------------------------------------------
--- /dev/null
+--source include/no_valgrind_without_big.inc
+--source include/not_embedded.inc
+
+--echo #-----------------------------------------------------------------------
+--echo # Setup
+let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
+let SEARCH_FILE= $server_log;
+let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+let PLUGIN_DIR= $MYSQLTEST_VARDIR/tmp;
+let $secure_file_priv_arg=;
+--echo #-----------------------------------------------------------------------
+
+--exec echo "wait" > $restart_file
+--shutdown_server
+--source include/wait_until_disconnected.inc
+--remove_file $server_log
+--exec echo "restart:--secure-file-priv=$secure_file_priv_arg" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+--disable_reconnect
+
+--echo # Search for : Insecure configuration for --secure-file-priv: Current
+--echo # value does not restrict location of generated files.
+--echo # Consider setting it to a valid, non-empty path.
+let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.;
+--source include/search_pattern_in_file.inc
+
+# Must show empty string
+SHOW VARIABLES LIKE 'secure_file_priv';
+
+--echo #-----------------------------------------------------------------------
+
+let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+--exec echo "wait" > $restart_file
+--shutdown_server
+--source include/wait_until_disconnected.inc
+--remove_file $server_log
+--exec echo "restart:--plugin-dir=$PLUGIN_DIR --secure-file-priv=$PLUGIN_DIR" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+--disable_reconnect
+--echo # Restart completed.
+
+--echo # Search for : Insecure configuration for --secure-file-priv: Plugin
+--echo # directory is accessible through --secure-file-priv.
+--echo # Consider choosing a different directory.
+let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Plugin directory is accessible through --secure-file-priv. Consider choosing a different directory.;
+--source include/search_pattern_in_file.inc
+
+--echo #-----------------------------------------------------------------------
+
+--echo # Clean-up
+--disable_warnings
+--source include/force_restart.inc
+--enable_warnings
+
+--echo #-----------------------------------------------------------------------
--- /dev/null
+--source include/no_valgrind_without_big.inc
+--source include/not_windows.inc
+--source include/not_embedded.inc
+
+let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
+let SEARCH_FILE= $server_log;
+
+--echo #-----------------------------------------------------------------------
+
+--echo # Search for : Insecure configuration for --secure-file-priv: Data
+--echo # directory is accessible through --secure-file-priv.
+--echo # Consider choosing a different directory.
+let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory.;
+--source include/search_pattern_in_file.inc
+
+--echo #-----------------------------------------------------------------------
+
+--echo # Search for : Insecure configuration for --secure-file-priv: Location
+--echo # is accessible to all OS users. Consider choosing a
+--echo # different directory.
+let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Location is accessible to all OS users. Consider choosing a different directory.;
+--source include/search_pattern_in_file.inc
+
+--echo #-----------------------------------------------------------------------
--- /dev/null
+--source include/no_valgrind_without_big.inc
+--source include/windows.inc
+--source include/not_embedded.inc
+
+let server_log= $MYSQLTEST_VARDIR/log/mysqld.1.err;
+let SEARCH_FILE= $server_log;
+
+--echo #-----------------------------------------------------------------------
+
+--echo # Test 2 : Restarting mysqld with :
+--echo # --secure-file-priv=MYSQLTEST_VARDIR/mysqld.1/Data
+
+let $restart_file= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect;
+--exec echo "wait" > $restart_file
+--shutdown_server
+--source include/wait_until_disconnected.inc
+--error 0,1
+--remove_file $server_log
+--exec echo "restart: --secure-file-priv=$MYSQLTEST_VARDIR/mysqld.1/Data" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--enable_reconnect
+--source include/wait_until_connected_again.inc
+--disable_reconnect
+--echo # Restart completed.
+
+--echo # Search for : Insecure configuration for --secure-file-priv: Data
+--echo # directory is accessible through --secure-file-priv.
+--echo # Consider choosing a different directory.
+let SEARCH_PATTERN= Insecure configuration for --secure-file-priv: Data directory is accessible through --secure-file-priv. Consider choosing a different directory.;
+--source include/search_pattern_in_file.inc
+
+--disable_warnings
+--source include/force_restart.inc
+--enable_warnings
+
+--echo #-----------------------------------------------------------------------
wsrep_provider=@ENV.WSREP_PROVIDER
wsrep_cluster_address='gcomm://'
-wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S'
+wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
# enforce read-committed characteristics across the cluster
wsrep_causal_reads=ON
wsrep_provider=@ENV.WSREP_PROVIDER
wsrep_cluster_address='gcomm://127.0.0.1:@mysqld.1.#galera_port'
-wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S'
+wsrep_provider_options='repl.causal_read_timeout=PT90S;base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
# enforce read-committed characteristics across the cluster
wsrep_causal_reads=ON
--- /dev/null
+SET SESSION wsrep_sync_wait = 0;
+Killing server ...
+SET SESSION wsrep_sync_wait = 0;
+Killing server ...
--- /dev/null
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+SET GLOBAL wsrep_max_ws_rows = 2;
+SET AUTOCOMMIT=OFF;
+START TRANSACTION;
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SHOW STATUS LIKE '%wsrep%';
+SET GLOBAL wsrep_max_ws_rows = 0;
+DROP TABLE t1;
--- /dev/null
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+SET GLOBAL wsrep_max_ws_rows = 2;
+SET AUTOCOMMIT=OFF;
+START TRANSACTION;
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SELECT * FROM t1 GROUP BY f1;
+f1
+1
+SHOW STATUS LIKE '%wsrep%';
+INSERT INTO t1 SELECT * FROM t1;
+ERROR HY000: wsrep_max_ws_rows exceeded
+START TRANSACTION;
+INSERT INTO t1 (f1) VALUES (1);
+INSERT INTO t1 (f1) VALUES (2),(3),(4);
+ERROR HY000: wsrep_max_ws_rows exceeded
+ROLLBACK;
+START TRANSACTION;
+DELETE FROM t1;
+ERROR HY000: wsrep_max_ws_rows exceeded
+DROP TABLE t1;
+SET GLOBAL wsrep_max_ws_rows = 0;
SELECT COUNT(*) = 2 FROM mysql.user WHERE user IN ('user1', 'user2');
COUNT(*) = 2
1
+ALTER USER user1 PASSWORD EXPIRE;
+SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
+password_expired = 'Y'
+1
+SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
+password_expired = 'Y'
+1
RENAME USER user2 TO user3;
SELECT COUNT(*) = 0 FROM mysql.user WHERE user = 'user2';
COUNT(*) = 0
-CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(6)) ENGINE=InnoDB;
SET AUTOCOMMIT=OFF;
START TRANSACTION;
-INSERT INTO t1 VALUES (1);
-INSERT INTO t1 VALUES (1);
-INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (1,'node_2');
+INSERT INTO t1 VALUES (1,'node_1');
+INSERT INTO t1 VALUES (2, 'node_2');
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
wsrep_local_aborts_increment
1
WSREP_SST_DONOR_REJECTS_QUERIES OFF
WSREP_SST_METHOD rsync
WSREP_SYNC_WAIT 7
-<BASE_DIR>; <BASE_HOST>; <BASE_PORT>; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = PT1S; evs.debug_log_mask = 0x1; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.info_log_mask = 0; evs.install_timeout = PT7.5S; evs.join_retrans_period = PT1S; evs.keepalive_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT10S; evs.use_aggregate = true; evs.user_send_window = 2; evs.version = 0; evs.view_forget_timeout = P1D; <GCACHE_DIR>; gcache.keep_pages_size = 0; gcache.mem_size = 0; <GCACHE_NAME>; gcache.page_size = 128M; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; <RECV_Q_HARD_LIMIT>;gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; <GMCAST_LISTEN_ADDR>; gmcast.mcast_addr = ; gmcast.mcast_ttl = 1; gmcast.peer_timeout = PT3S; gmcast.segment = 0; gmcast.time_wait = PT5S; gmcast.version = 0; <IST_RECV_ADDR>; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; pc.linger = PT20S; pc.npvo = false; pc.recovery = true; pc.version = 0; pc.wait_prim = true; pc.wait_prim_timeout = P30S; pc.weight = 1; protonet.backend = asio; protonet.version = 0; repl.causal_read_timeout = PT90S; repl.commit_order = 3; repl.key_format = FLAT8; repl.max_ws_size = 2147483647; repl.proto_max = 7; socket.checksum = 2; socket.recv_buf_size = 212992;
+<BASE_DIR>; <BASE_HOST>; <BASE_PORT>; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.causal_keepalive_period = PT1S; evs.debug_log_mask = 0x1; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT30S; evs.info_log_mask = 0; evs.install_timeout = PT15S; evs.join_retrans_period = PT1S; evs.keepalive_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT10S; evs.use_aggregate = true; evs.user_send_window = 2; evs.version = 0; evs.view_forget_timeout = P1D; <GCACHE_DIR>; gcache.keep_pages_size = 0; gcache.mem_size = 0; <GCACHE_NAME>; gcache.page_size = 128M; gcache.recover = no; gcache.size = 128M; gcomm.thread_prio = ; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; <RECV_Q_HARD_LIMIT>;gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; <GMCAST_LISTEN_ADDR>; gmcast.mcast_addr = ; gmcast.mcast_ttl = 1; gmcast.peer_timeout = PT3S; gmcast.segment = 0; gmcast.time_wait = PT5S; gmcast.version = 0; <IST_RECV_ADDR>; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = false; pc.linger = PT20S; pc.npvo = false; pc.recovery = true; pc.version = 0; pc.wait_prim = true; pc.wait_prim_timeout = PT30S; pc.weight = 1; protonet.backend = asio; protonet.version = 0; repl.causal_read_timeout = PT90S; repl.commit_order = 3; repl.key_format = FLAT8; repl.max_ws_size = 2147483647; repl.proto_max = 7; socket.checksum = 2; socket.recv_buf_size = 212992;
SELECT COUNT(*) FROM INFORMATION_SCHEMA.GLOBAL_STATUS
WHERE VARIABLE_NAME LIKE 'wsrep_%'
AND VARIABLE_NAME != 'wsrep_debug_sync_waiters';
--- /dev/null
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+SET SESSION wsrep_sync_wait = 0;
+SET SESSION wsrep_sync_wait = 0;
+Killing server ...
+INSERT INTO t1 VALUES (2);
+Killing server ...
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+INSERT INTO t1 VALUES (3);
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+include/diff_servers.inc [servers=1 2]
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+include/assert_grep.inc [async IST sender starting to serve]
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+include/assert_grep.inc [Recovering GCache ring buffer: found gapless sequence]
+DROP TABLE t1;
--- /dev/null
+SET SESSION wsrep_sync_wait = 0;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
+SET SESSION wsrep_sync_wait = 0;
+Killing server ...
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+Killing server ...
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+include/diff_servers.inc [servers=1 2]
+DROP TABLE t1;
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+include/assert_grep.inc [IST first seqno 2 not found from cache, falling back to SST]
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
--- /dev/null
+SET SESSION wsrep_sync_wait = 0;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
+CREATE TABLE ten (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
+CREATE PROCEDURE insert_simple ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+INSERT INTO t1 (f1, f2) VALUES (DEFAULT,'abcdef');
+END WHILE;
+END|
+CREATE PROCEDURE insert_multi ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+INSERT INTO t1 (f1) VALUES (DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT);
+END WHILE;
+END|
+CREATE PROCEDURE insert_transaction ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+SET AUTOCOMMIT = OFF;
+WHILE 1 DO
+START TRANSACTION;
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+INSERT INTO t1 (f1) VALUES (DEFAULT);
+COMMIT;
+END WHILE;
+END|
+CREATE PROCEDURE update_simple ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+UPDATE t1 SET f2 = CONCAT(f2,f2);
+END WHILE;
+END|
+CREATE PROCEDURE insert_1k ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024));
+END WHILE;
+END|
+CREATE PROCEDURE insert_1m ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024));
+END WHILE;
+END|
+CREATE PROCEDURE insert_10m ()
+BEGIN
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET SESSION wsrep_sync_wait = 0;
+WHILE 1 DO
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+END WHILE;
+END|
+CALL insert_simple();;
+CALL insert_multi();;
+CALL insert_transaction ();;
+CALL update_simple ();;
+CALL insert_1k ();;
+CALL insert_1m ();;
+CALL insert_10m ();;
+SET SESSION wsrep_sync_wait = 0;
+Killing server ...
+Killing server ...
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+ERROR HY000: Lost connection to MySQL server during query
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+Performing --wsrep-recover ...
+Using --wsrep-start-position when starting mysqld ...
+include/diff_servers.inc [servers=1 2]
+DROP TABLE t1;
+DROP TABLE ten;
+DROP PROCEDURE insert_simple;
+DROP PROCEDURE insert_multi;
+DROP PROCEDURE insert_transaction;
+DROP PROCEDURE update_simple;
+DROP PROCEDURE insert_1k;
+DROP PROCEDURE insert_1m;
+CALL mtr.add_suppression("conflict state 7 after post commit");
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+include/assert_grep.inc [async IST sender starting to serve]
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+include/assert_grep.inc [Recovering GCache ring buffer: found gapless sequence]
-SELECT COUNT(*) = 1000 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%';
-COUNT(*) = 1000
+SELECT COUNT(*) = 100 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%';
+COUNT(*) = 100
1
SET AUTOCOMMIT=OFF;
START TRANSACTION;
COMMIT;
CREATE TABLE sum_table (f1 INTEGER);
-SELECT SUM(f1) = 1000 FROM sum_table;
-SUM(f1) = 1000
+SELECT SUM(f1) = 100 FROM sum_table;
+SUM(f1) = 100
1
SET AUTOCOMMIT=OFF;
START TRANSACTION;
SET AUTOCOMMIT=OFF;
START TRANSACTION;
-UPDATE t1000 SET f1 = 3;
+UPDATE t100 SET f1 = 3;
COMMIT;
COMMIT;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+include/diff_servers.inc [servers=1 2]
DROP SCHEMA test;
CREATE SCHEMA test;
Killing server ...
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
-SET GLOBAL wsrep_cluster_address = '';
+++ /dev/null
-CREATE TABLE ten (f1 INTEGER);
-INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
-CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 INTEGER) ENGINE=InnoDB;
-INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;
-INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;;
-CREATE INDEX i1 ON t1 (f2);;
-ALTER TABLE t1 ADD COLUMN f3 INTEGER;;
-SELECT COUNT(*) = 200000 FROM t1;
-COUNT(*) = 200000
-1
-SELECT COUNT(*) = 3 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
-COUNT(*) = 3
-1
-SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 't1';
-COUNT(*) = 2
-1
-SELECT COUNT(*) = 200000 FROM t1;
-COUNT(*) = 200000
-1
-SELECT COUNT(*) = 3 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
-COUNT(*) = 3
-1
-SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 't1';
-COUNT(*) = 2
-1
-DROP TABLE t1;
-DROP TABLE ten;
INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
CREATE TABLE t2 (f1 INTEGER) ENGINE=InnoDB;
+SET SESSION wsrep_retry_autocommit = 0;
INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;;
USE database1;
+SET SESSION wsrep_retry_autocommit = 0;
INSERT INTO t2 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;;
DROP DATABASE database1;;
-ERROR 42S02: Table 'database1.t1' doesn't exist
-ERROR 42S02: Table 'database1.t2' doesn't exist
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME = 'database1';
COUNT(*) = 0
1
CREATE TABLE ten (f1 INTEGER) ENGINE=InnoDB;
INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+SET SESSION wsrep_retry_autocommit = 0;
INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5, ten AS a6;;
TRUNCATE TABLE t1;;
-SELECT COUNT(*) = 1000000 FROM t1;
-COUNT(*) = 1000000
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+SELECT COUNT(*) = 0 FROM t1;
+COUNT(*) = 0
1
-DROP TABLE t1;
-CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
-INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5, ten AS a6;;
-TRUNCATE TABLE t1;;
-SELECT COUNT(*) = 1000000 FROM t1;
-COUNT(*) = 1000000
+SELECT COUNT(*) = 0 FROM t1;
+COUNT(*) = 0
1
DROP TABLE t1;
DROP TABLE ten;
SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
VARIABLE_VALUE = 'Primary'
1
-SET GLOBAL wsrep_cluster_address = @@wsrep_cluster_address;
-SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
-VARIABLE_VALUE = 'Primary'
-1
-SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
-VARIABLE_VALUE = 2
-1
-SET GLOBAL wsrep_cluster_address = 'gcomm://192.0.2.1';
-SELECT COUNT(*) > 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS;
-COUNT(*) > 0
-1
-SHOW STATUS LIKE 'wsrep_ready';
-Variable_name Value
-wsrep_ready OFF
-SHOW STATUS LIKE 'wsrep_cluster_status';
-Variable_name Value
-wsrep_cluster_status non-Primary
-SHOW STATUS LIKE 'wsrep_local_state';
-Variable_name Value
-wsrep_local_state 0
-SHOW STATUS LIKE 'wsrep_local_state_comment';
-Variable_name Value
-wsrep_local_state_comment Initialized
-SET GLOBAL wsrep_cluster_address = @@wsrep_cluster_address;
SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
VARIABLE_VALUE = 'Primary'
1
CALL mtr.add_suppression("gcs_caused\\(\\) returned -103 \\(Software caused connection abort\\)");
CALL mtr.add_suppression("failed to open gcomm backend connection: 110: failed to reach primary view: 110");
CALL mtr.add_suppression("Failed to open backend connection: -110 \\(Connection timed out\\)");
-CALL mtr.add_suppression("Failed to open channel 'my_wsrep_cluster' at 'gcomm://192\\.0\\.2\\.1': -110 \\(Connection timed out\\)");
CALL mtr.add_suppression("gcs connect failed: Connection timed out");
CALL mtr.add_suppression("WSREP: wsrep::connect\\(foo://\\) failed: 7");
-CALL mtr.add_suppression("WSREP: wsrep::connect\\(gcomm://192.0.2.1\\) failed: 7");
--- /dev/null
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 INTEGER) ENGINE=InnoDB;
+CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW SET NEW.f2 = SLEEP(5);
+SET SESSION wsrep_retry_autocommit = 0;
+INSERT INTO t1 (f1) VALUES (1),(2);;
+TRUNCATE TABLE t1;
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+SET SESSION wsrep_retry_autocommit = 1;
+INSERT INTO t1 (f1) VALUES (3),(4);;
+TRUNCATE TABLE t1;
+SELECT * FROM test.t1;
+f1 f2
+3 0
+4 0
+CREATE PROCEDURE repeated_truncate ()
+BEGIN
+DECLARE i INT;
+DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+SET i = 0;
+WHILE i <= 1000 DO
+TRUNCATE TABLE t1;
+SET i = i + 1;
+END WHILE;
+END|
+CALL repeated_truncate();
+SET SESSION wsrep_retry_autocommit = 1;
+INSERT INTO t1 (f1) VALUES (5),(6);
+ERROR 40001: Deadlock found when trying to get lock; try restarting transaction
+SET SESSION wsrep_retry_autocommit = 1024;
+INSERT INTO t1 (f1) VALUES (7),(8);;
+include/diff_servers.inc [servers=1 2]
+DROP TABLE t1;
+DROP PROCEDURE repeated_truncate;
# Resync node_2, should pass:
SET @@global.wsrep_desync = 0;
+--let $wait_condition = SELECT VARIABLE_VALUE = 'Synced' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_state_comment';
+--source include/wait_condition.inc
+
SET SESSION wsrep_sync_wait=7;
SHOW CREATE TABLE t1;
DROP TABLE t1;
--- /dev/null
+#
+# GAL-419 safe_to_bootstrap: boostrap using wsrep_cluster_address=gcomm:// not prevented
+#
+
+--source include/galera_cluster.inc
+--source include/big_test.inc
+
+--connection node_2
+SET SESSION wsrep_sync_wait = 0;
+--source include/kill_galera.inc
+
+--connection node_1
+SET SESSION wsrep_sync_wait = 0;
+--source include/kill_galera.inc
+
+--sleep 2
+
+# Node #1 has wsrep_cluster_address=gcomm:// in my.cnf, so should fail to bootstrap
+
+--error 1
+--exec $MYSQLD --defaults-group-suffix=.1 --defaults-file=$MYSQLTEST_VARDIR/my.cnf | grep 'This node is not safe to bootstrap the cluster'
+
+# Unless we remove grastate.dat
+
+--remove_file $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+--remove_file $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+
+--connection node_1
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--source include/start_mysqld.inc
+--source include/wait_until_connected_again.inc
+
+--connection node_2
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
--- /dev/null
+#
+# MW-309 Regression: wsrep_max_ws_rows limit also applies to certain SELECT queries
+#
+
+--source include/galera_cluster.inc
+
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+
+SET GLOBAL wsrep_max_ws_rows = 2;
+
+SET AUTOCOMMIT=OFF;
+START TRANSACTION;
+SELECT * FROM t1 GROUP BY f1;
+SELECT * FROM t1 GROUP BY f1;
+
+--error 0
+SELECT * FROM t1 GROUP BY f1;
+
+--disable_result_log
+--error 0
+SHOW STATUS LIKE '%wsrep%';
+--enable_result_log
+
+SET GLOBAL wsrep_max_ws_rows = 0;
+DROP TABLE t1;
--- /dev/null
+--log-bin --log-slave-updates
--- /dev/null
+#
+# MW-313 Enforce wsrep_max_ws_rows also when binlog is enabled
+#
+
+--source include/galera_cluster.inc
+--source include/have_binlog_format_row.inc
+
+# No error expected for SELECT and SHOW
+
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+INSERT INTO t1 SELECT * FROM t1;
+
+SET GLOBAL wsrep_max_ws_rows = 2;
+
+SET AUTOCOMMIT=OFF;
+START TRANSACTION;
+SELECT * FROM t1 GROUP BY f1;
+SELECT * FROM t1 GROUP BY f1;
+
+--error 0
+SELECT * FROM t1 GROUP BY f1;
+
+--disable_result_log
+--error 0
+SHOW STATUS LIKE '%wsrep%';
+--enable_result_log
+
+# Error expected for DML
+
+--error ER_ERROR_DURING_COMMIT
+INSERT INTO t1 SELECT * FROM t1;
+
+START TRANSACTION;
+INSERT INTO t1 (f1) VALUES (1);
+
+--error ER_ERROR_DURING_COMMIT
+INSERT INTO t1 (f1) VALUES (2),(3),(4);
+
+ROLLBACK;
+START TRANSACTION;
+--error ER_ERROR_DURING_COMMIT
+DELETE FROM t1;
+
+DROP TABLE t1;
+SET GLOBAL wsrep_max_ws_rows = 0;
SET SESSION wsrep_on = ON;
--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
--source include/wait_condition.inc
+--let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready';
+--source include/wait_condition.inc
--connection node_1
CALL mtr.add_suppression("Failed to set packet size");
--connection node_2
+--let $wait_condition = SELECT VARIABLE_VALUE = 'ON' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_ready';
+--source include/wait_condition.inc
CALL mtr.add_suppression("Failed to set packet size");
# ALTER USER
#
-# LP bug 1376269
-#
-#--connection node_1
-#ALTER USER user1 PASSWORD EXPIRE;
-#SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
-#
-#--connection node_2
-#SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
+--connection node_1
+ALTER USER user1 PASSWORD EXPIRE;
+SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
+
+--connection node_2
+SELECT password_expired = 'Y' FROM mysql.user WHERE user = 'user1';
#
# RENAME USER
# Test a local transaction being aborted by a slave one
#
-CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 CHAR(6)) ENGINE=InnoDB;
+--connect node_2a, 127.0.0.1, root, , test, $NODE_MYPORT_2
--connection node_2
--let $wsrep_local_bf_aborts_before = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'`
SET AUTOCOMMIT=OFF;
START TRANSACTION;
-INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (1,'node_2');
--connection node_1
-INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (1,'node_1');
+
+--connection node_2a
+--let $wait_condition = SELECT COUNT(*) = 1 FROM t1 WHERE f2 = 'node_1'
+--source include/wait_condition.inc
--connection node_2
--error ER_LOCK_DEADLOCK
-INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (2, 'node_2');
--let $wsrep_local_bf_aborts_after = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_local_bf_aborts'`
--- /dev/null
+!include ../galera_2nodes.cnf
+
+[mysqld.1]
+wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcache.recover=yes;pc.ignore_sb=true'
+
+[mysqld.2]
+wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcache.recover=yes;pc.ignore_sb=true'
--- /dev/null
+#
+# Kill entire cluster while gcache.recover=yes. Expect that node #2 will rejoin using IST
+#
+
+--source include/galera_cluster.inc
+--source include/big_test.inc
+
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY) ENGINE=InnoDB;
+INSERT INTO t1 VALUES (1);
+SET SESSION wsrep_sync_wait = 0;
+
+--connection node_2
+--let $wait_condition = SELECT COUNT(*) > 0 FROM t1;
+--source include/wait_condition.inc
+
+SET SESSION wsrep_sync_wait = 0;
+--source include/kill_galera.inc
+
+--connection node_1
+--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+INSERT INTO t1 VALUES (2);
+
+--source include/kill_galera.inc
+
+--sleep 1
+
+--connection node_1
+--let $galera_wsrep_recover_server_id=1
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--source include/start_mysqld.inc
+
+INSERT INTO t1 VALUES (3);
+
+--connection node_2
+--let $galera_wsrep_recover_server_id=2
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
+
+--connection node_1
+--source include/wait_until_connected_again.inc
+--source include/galera_wait_ready.inc
+--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+
+--let $diff_servers = 1 2
+--source include/diff_servers.inc
+
+--connection node_1
+# Warning happens when the cluster is started for the first time
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+
+# Confirm that IST took place
+--let $assert_text = async IST sender starting to serve
+--let $assert_select = async IST sender starting to serve
+--let $assert_count = 1
+--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.1.err
+--let $assert_only_after = starting as process
+--source include/assert_grep.inc
+
+--connection node_2
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+
+# Confirm that gcache recovery took place
+
+--let $assert_text = Recovering GCache ring buffer: found gapless sequence
+--let $assert_select = Recovering GCache ring buffer: found gapless sequence
+--let $assert_count = 1
+--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err
+--let $assert_only_after = starting as process
+--source include/assert_grep.inc
+
+DROP TABLE t1;
--- /dev/null
+!include ../galera_2nodes.cnf
+
+[mysqld.1]
+max_allowed_packet=10M
+innodb_log_file_size=110M
+wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcache.recover=yes;pc.ignore_sb=true;gcache.size=10M'
+
+[mysqld.2]
+wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcache.recover=yes;pc.ignore_sb=true;gcache.size=10M'
--- /dev/null
+#
+# Attempt gcache recovery on a full gcache. Node will not be able to join via IST due to gcache rollover
+#
+
+--source include/galera_cluster.inc
+--source include/big_test.inc
+
+SET SESSION wsrep_sync_wait = 0;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
+
+--connection node_2
+SET SESSION wsrep_sync_wait = 0;
+--source include/kill_galera.inc
+
+--connection node_1
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+--source include/kill_galera.inc
+
+--connection node_1
+--let $galera_wsrep_recover_server_id=1
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name = $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--source include/start_mysqld.inc
+--connection node_2
+--let $galera_wsrep_recover_server_id=2
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
+
+--connection node_1
+--source include/wait_until_connected_again.inc
+--source include/galera_wait_ready.inc
+--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+
+--let $diff_servers = 1 2
+--source include/diff_servers.inc
+
+--connection node_1
+DROP TABLE t1;
+
+# Warning always happens when the cluster is started for the first time
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+
+# Confirm that IST did not take place
+--let $assert_text = IST first seqno 2 not found from cache, falling back to SST
+--let $assert_select = IST first seqno 2 not found from cache, falling back to SST
+--let $assert_count = 1
+--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.1.err
+--let $assert_only_after = starting as process
+--source include/assert_grep.inc
+
+--connection node_2
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
--- /dev/null
+!include ../galera_2nodes.cnf
+
+[mysqld.1]
+innodb_log_file_size=110M
+wsrep_provider_options='base_port=@mysqld.1.#galera_port;gcache.recover=yes;pc.ignore_sb=true;'
+
+[mysqld.2]
+innodb_log_file_size=110M
+wsrep_provider_options='base_port=@mysqld.2.#galera_port;gcache.recover=yes;pc.ignore_sb=true;'
--- /dev/null
+#
+# Kill entire cluster while various transactions are in progress
+# restore the cluster and expect that node #2 will rejoin using IST
+#
+
+--source include/galera_cluster.inc
+--source include/big_test.inc
+
+SET SESSION wsrep_sync_wait = 0;
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 LONGBLOB) ENGINE=InnoDB;
+CREATE TABLE ten (f1 INTEGER) ENGINE=InnoDB;
+INSERT INTO ten VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
+
+DELIMITER |;
+CREATE PROCEDURE insert_simple ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ INSERT INTO t1 (f1, f2) VALUES (DEFAULT,'abcdef');
+ END WHILE;
+END|
+
+CREATE PROCEDURE insert_multi ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ INSERT INTO t1 (f1) VALUES (DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT),(DEFAULT);
+ END WHILE;
+END|
+
+CREATE PROCEDURE insert_transaction ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ SET AUTOCOMMIT = OFF;
+ WHILE 1 DO
+ START TRANSACTION;
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ INSERT INTO t1 (f1) VALUES (DEFAULT);
+ COMMIT;
+ END WHILE;
+END|
+
+DELIMITER ;|
+DELIMITER |;
+
+CREATE PROCEDURE update_simple ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ UPDATE t1 SET f2 = CONCAT(f2,f2);
+ END WHILE;
+END|
+
+CREATE PROCEDURE insert_1k ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024));
+ END WHILE;
+END|
+
+CREATE PROCEDURE insert_1m ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024));
+ END WHILE;
+END|
+
+CREATE PROCEDURE insert_10m ()
+BEGIN
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+ SET SESSION wsrep_sync_wait = 0;
+ WHILE 1 DO
+ INSERT INTO t1 (f2) VALUES (REPEAT('x', 1024 * 1024 * 10));
+ END WHILE;
+END|
+
+DELIMITER ;|
+
+--connect node_1_insert_simple, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_insert_multi, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_insert_transaction, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_update_simple, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_insert_1k, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_insert_1m, 127.0.0.1, root, , test, $NODE_MYPORT_1
+--connect node_1_insert_10m, 127.0.0.1, root, , test, $NODE_MYPORT_1
+
+--connection node_1_insert_simple
+--send CALL insert_simple();
+
+--connection node_1_insert_multi
+--send CALL insert_multi();
+
+--connection node_1_insert_transaction
+--send CALL insert_transaction ();
+
+--connection node_1_update_simple
+--send CALL update_simple ();
+
+--connection node_1_insert_1k
+--send CALL insert_1k ();
+
+--connection node_1_insert_1m
+--send CALL insert_1m ();
+
+--connection node_1_insert_10m
+--send CALL insert_10m ();
+
+--connection node_2
+SET SESSION wsrep_sync_wait = 0;
+--source include/kill_galera.inc
+
+--sleep 10
+--connection node_1
+--source include/kill_galera.inc
+
+--connection node_1_insert_simple
+--error 2013
+--reap
+
+--connection node_1_insert_multi
+--error 2013
+--reap
+
+--connection node_1_insert_transaction
+--error 2013
+--reap
+
+--connection node_1_update_simple
+--error 2013
+--reap
+
+--connection node_1_insert_1k
+--error 2013
+--reap
+
+--connection node_1_insert_1m
+--error 2013
+--reap
+
+--connection node_1_insert_10m
+--error 2013
+--reap
+
+--connection node_1
+--let $galera_wsrep_recover_server_id=1
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name = $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--source include/start_mysqld.inc
+--connection node_2
+--let $galera_wsrep_recover_server_id=2
+--source suite/galera/include/galera_wsrep_recover.inc
+
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
+
+--connection node_1
+--source include/wait_until_connected_again.inc
+--source include/galera_wait_ready.inc
+--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+
+--let $diff_servers = 1 2
+--source include/diff_servers.inc
+
+--connection node_1
+DROP TABLE t1;
+DROP TABLE ten;
+DROP PROCEDURE insert_simple;
+DROP PROCEDURE insert_multi;
+DROP PROCEDURE insert_transaction;
+DROP PROCEDURE update_simple;
+DROP PROCEDURE insert_1k;
+DROP PROCEDURE insert_1m;
+
+--connection node_1
+CALL mtr.add_suppression("conflict state 7 after post commit");
+
+# Warning happens when the cluster is started for the first time
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+
+# Confirm that IST took place
+--let $assert_text = async IST sender starting to serve
+--let $assert_select = async IST sender starting to serve
+--let $assert_count = 1
+--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.1.err
+--let $assert_only_after = starting as process
+--source include/assert_grep.inc
+
+--connection node_2
+CALL mtr.add_suppression("Skipped GCache ring buffer recovery");
+
+# Confirm that gcache recovery took place
+
+--let $assert_text = Recovering GCache ring buffer: found gapless sequence
+--let $assert_select = Recovering GCache ring buffer: found gapless sequence
+--let $assert_count = 1
+--let $assert_file = $MYSQLTEST_VARDIR/log/mysqld.2.err
+--let $assert_only_after = starting as process
+--source include/assert_grep.inc
--source include/have_innodb.inc
#
-# This test forces 1K tables with a PK to participate in a single transaction
+# This test forces 100 tables with a PK to participate in a single transaction
#
#
-# First, create 1K tables and make sure the DDLs are all propagated
+# First, create 100 tables and make sure the DDLs are all propagated
#
--connection node_1
---let $count = 1000
+--let $count = 100
while ($count)
{
--disable_query_log
}
--connection node_2
-SELECT COUNT(*) = 1000 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%';
+SELECT COUNT(*) = 100 FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'test' AND TABLE_NAME LIKE 't%';
#
# Second, create a transaction that uses all those tables
SET AUTOCOMMIT=OFF;
START TRANSACTION;
---let $count = 1000
+--let $count = 100
while ($count)
{
--disable_query_log
--connection node_2
CREATE TABLE sum_table (f1 INTEGER);
---let $count = 1000
+--let $count = 100
while ($count)
{
--disable_query_log
--dec $count
}
-SELECT SUM(f1) = 1000 FROM sum_table;
+SELECT SUM(f1) = 100 FROM sum_table;
#
# Fourth, create a deadlock
SET AUTOCOMMIT=OFF;
START TRANSACTION;
---let $count = 1000
+--let $count = 100
while ($count)
{
--disable_query_log
--connection node_2
SET AUTOCOMMIT=OFF;
START TRANSACTION;
-UPDATE t1000 SET f1 = 3;
+UPDATE t100 SET f1 = 3;
--connection node_1
COMMIT;
--error ER_LOCK_DEADLOCK
COMMIT;
+--let $diff_servers = 1 2
+--source include/diff_servers.inc
+
DROP SCHEMA test;
CREATE SCHEMA test;
# Reset the master and restart the slave so that post-test checks can run
-SET GLOBAL wsrep_cluster_address = '';
---disable_query_log
---eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_orig';
---enable_query_log
+--connection node_2
--source include/start_mysqld.inc
--sleep 5
--source include/wait_until_connected_again.inc
+++ /dev/null
---source include/galera_cluster.inc
---source include/have_innodb.inc
-
-#
-# In this test, we run concurrent INSERT against a table against which we have issued concurrent DDL statements that are fully online,
-# that is, DDL statements that allow for the DML to proceed non-blocking while the DDL is in progress
-#
-
-CREATE TABLE ten (f1 INTEGER);
-INSERT INTO ten VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
-
-CREATE TABLE t1 (f1 INTEGER PRIMARY KEY AUTO_INCREMENT, f2 INTEGER) ENGINE=InnoDB;
-INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;
-
---connection node_1
---send INSERT INTO t1 (f2) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;
-
---let $galera_connection_name = node_1a
---let $galera_server_number = 1
---source include/galera_connect.inc
-
---connection node_1a
---send CREATE INDEX i1 ON t1 (f2);
-
-
---let $galera_connection_name = node_1b
---let $galera_server_number = 1
---source include/galera_connect.inc
-
---connection node_1b
---send ALTER TABLE t1 ADD COLUMN f3 INTEGER;
-
---connection node_1
---reap
-
---connection node_1a
---reap
-
---connection node_1b
---reap
-
---connection node_2
-SELECT COUNT(*) = 200000 FROM t1;
-SELECT COUNT(*) = 3 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
-SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 't1';
-
---connection node_1
-SELECT COUNT(*) = 200000 FROM t1;
-SELECT COUNT(*) = 3 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 't1';
-SELECT COUNT(*) = 2 FROM INFORMATION_SCHEMA.STATISTICS WHERE TABLE_NAME = 't1';
-
-DROP TABLE t1;
-DROP TABLE ten;
# Test the operation of DDLs that affect multiple database objects
#
---source include/big_test.inc
--source include/galera_cluster.inc
--source include/have_innodb.inc
CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
CREATE TABLE t2 (f1 INTEGER) ENGINE=InnoDB;
-# Insert 1M rows
+# Make sure autocommit retrying does not kick in as this will mask the error we expect to get
+SET SESSION wsrep_retry_autocommit = 0;
+# Attemp to insert 1M rows
--send INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;
--connection node_1a
USE database1;
+SET SESSION wsrep_retry_autocommit = 0;
--send INSERT INTO t2 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5;
--connection node_2
--send DROP DATABASE database1;
--connection node_1
---sleep 30
---error ER_NO_SUCH_TABLE
+--sleep 1
+--error ER_LOCK_DEADLOCK
--reap
--connection node_1a
---error ER_NO_SUCH_TABLE
+--error ER_LOCK_DEADLOCK
--reap
--connection node_2
#
-# Test the operation of TRUNCATE with concurrent DML. Even in the face of a concurrent INSERT,
-# the TRUNCATE will complete first and be recorded in the history before the INSERT.
+# Test the operation of TRUNCATE with concurrent DML.
+# The DML should be BF-aborted if the DDL arrives from another node
#
---source include/big_test.inc
--source include/galera_cluster.inc
--source include/have_innodb.inc
# Insert 100K rows
--connection node_2
+# Prevent autocommit retring from masking the deadlock error we expect to get
+SET SESSION wsrep_retry_autocommit = 0;
--send INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5, ten AS a6;
--connection node_1
--reap
--connection node_2
+--error ER_LOCK_DEADLOCK
--reap
--connection node_2
-SELECT COUNT(*) = 1000000 FROM t1;
+SELECT COUNT(*) = 0 FROM t1;
--connection node_1
---let $wait_condition = SELECT COUNT(*) = 1000000 FROM t1;
---source include/wait_condition.inc
-
-DROP TABLE t1;
-
-#
-# INSERT AND TRUNCATE on same node
-#
-
---let $galera_connection_name = node_1a
---let $galera_server_number = 1
---source include/galera_connect.inc
-
---connection node_1
-
-CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
-
-# Insert 100K rows
---connection node_1
---send INSERT INTO t1 (f1) SELECT 1 FROM ten AS a1, ten AS a2, ten AS a3, ten AS a4, ten AS a5, ten AS a6;
-
---connection node_1a
---sleep 1
---send TRUNCATE TABLE t1;
-
---connection node_1
---reap
-
---connection node_1a
---reap
-
---connection node_1
-SELECT COUNT(*) = 1000000 FROM t1;
-
---connection node_2
---let $wait_condition = SELECT COUNT(*) = 1000000 FROM t1;
---source include/wait_condition.inc
+SELECT COUNT(*) = 0 FROM t1;
DROP TABLE t1;
DROP TABLE ten;
# Set to invalid value
#
---connection node_1
---let $wsrep_cluster_address_node1 = `SELECT @@wsrep_cluster_address`
+--connection node_2
+--let $wsrep_cluster_address_node2 = `SELECT @@wsrep_cluster_address`
SET GLOBAL wsrep_cluster_address = 'foo://';
# With wsrep_sync_wait, this returns an error
SHOW STATUS LIKE 'wsrep_local_state';
SHOW STATUS LIKE 'wsrep_local_state_comment';
---connection node_2
+--connection node_1
--sleep 1
-# Node #2 thinks that it is now part of a single-node primary cluster
+# Node #1 thinks that it is now part of a single-node primary cluster
SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
# Reset everything as it was
#
---connection node_1
+--connection node_2
--disable_query_log
---eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_node1';
+--eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_node2';
--enable_query_log
---connection node_2
-SET GLOBAL wsrep_cluster_address = @@wsrep_cluster_address;
-
--source include/wait_until_connected_again.inc
--connection node_1
SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
-#
-# Set to invalid host
-#
-
---connection node_1
-SET GLOBAL wsrep_cluster_address = 'gcomm://192.0.2.1';
-
---error 0
-SELECT COUNT(*) > 0 FROM INFORMATION_SCHEMA.GLOBAL_STATUS;
-
-# Must return 'OFF'
-SHOW STATUS LIKE 'wsrep_ready';
-
-# Must return 'Non-primary'
-SHOW STATUS LIKE 'wsrep_cluster_status';
-
-# Must return 0 = 'Initialized'
-SHOW STATUS LIKE 'wsrep_local_state';
-SHOW STATUS LIKE 'wsrep_local_state_comment';
-
-#
-# Reset everything as it was
-#
-
---connection node_1
---disable_query_log
---eval SET GLOBAL wsrep_cluster_address = '$wsrep_cluster_address_node1';
---enable_query_log
-
--connection node_2
-SET GLOBAL wsrep_cluster_address = @@wsrep_cluster_address;
---sleep 1
-
---connection node_1
-SELECT VARIABLE_VALUE = 'Primary' FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_status';
-SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
-
CALL mtr.add_suppression("Backend not supported: foo");
CALL mtr.add_suppression("Failed to initialize backend using 'foo");
CALL mtr.add_suppression("Failed to open channel 'my_wsrep_cluster' at 'foo");
CALL mtr.add_suppression("gcs_caused\\(\\) returned -103 \\(Software caused connection abort\\)");
CALL mtr.add_suppression("failed to open gcomm backend connection: 110: failed to reach primary view: 110");
CALL mtr.add_suppression("Failed to open backend connection: -110 \\(Connection timed out\\)");
-CALL mtr.add_suppression("Failed to open channel 'my_wsrep_cluster' at 'gcomm://192\\.0\\.2\\.1': -110 \\(Connection timed out\\)");
CALL mtr.add_suppression("gcs connect failed: Connection timed out");
CALL mtr.add_suppression("WSREP: wsrep::connect\\(foo://\\) failed: 7");
-CALL mtr.add_suppression("WSREP: wsrep::connect\\(gcomm://192.0.2.1\\) failed: 7");
-
--- /dev/null
+#
+# Test that the wsrep_retry_autocommit variable is respected. We use an INSERT that
+# proceeds very slowly due to extra SLEEP() in a trigger
+#
+
+--source include/galera_cluster.inc
+
+--connection node_1
+CREATE TABLE t1 (f1 INTEGER PRIMARY KEY, f2 INTEGER) ENGINE=InnoDB;
+CREATE TRIGGER tr1 BEFORE INSERT ON t1 FOR EACH ROW SET NEW.f2 = SLEEP(5);
+
+#
+# With wsrep_retry_autocommit = 0, error is certain
+#
+
+--connection node_1
+SET SESSION wsrep_retry_autocommit = 0;
+--send INSERT INTO t1 (f1) VALUES (1),(2);
+
+--connection node_2
+--sleep 1
+TRUNCATE TABLE t1;
+
+--connection node_1
+--error ER_LOCK_DEADLOCK
+--reap
+
+#
+# With wsrep_retry_autocommit = 1, success against one TRUNCATE
+#
+
+--connection node_1
+SET SESSION wsrep_retry_autocommit = 1;
+--send INSERT INTO t1 (f1) VALUES (3),(4);
+
+--connection node_2
+--sleep 1
+TRUNCATE TABLE t1;
+
+--connection node_1
+--error 0
+--reap
+SELECT * FROM test.t1;
+
+#
+# With wsrep_retry_autocommit = 1, failure against multiple TRUNCATEs
+#
+
+--connection node_2
+DELIMITER |;
+CREATE PROCEDURE repeated_truncate ()
+BEGIN
+ DECLARE i INT;
+ DECLARE CONTINUE HANDLER FOR SQLEXCEPTION BEGIN END;
+
+ SET i = 0;
+ WHILE i <= 1000 DO
+ TRUNCATE TABLE t1;
+ SET i = i + 1;
+ END WHILE;
+END|
+DELIMITER ;|
+
+# Begin streaming TRUNCATEs
+--let $truncate_connection_id = `SELECT CONNECTION_ID()`
+--send CALL repeated_truncate()
+
+--connection node_1
+SET SESSION wsrep_retry_autocommit = 1;
+--sleep 1
+--error ER_LOCK_DEADLOCK
+INSERT INTO t1 (f1) VALUES (5),(6);
+
+#
+# With wsrep_retry_autocommit = 1024, success against multiple TRUNCATEs
+#
+
+--connection node_1
+SET SESSION wsrep_retry_autocommit = 1024;
+--send INSERT INTO t1 (f1) VALUES (7),(8);
+
+--sleep 6
+
+# Once he stream of TRUNCATEs is complete
+--connection node_2
+--reap
+
+# the INSERT will eventually be sucessfull
+--connection node_1
+--error 0
+--reap
+
+--let $diff_servers = 1 2
+--source include/diff_servers.inc
+
+DROP TABLE t1;
+DROP PROCEDURE repeated_truncate;
[mysqld.1]
wsrep_cluster_address='gcomm://'
-wsrep_provider_options='base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S'
+wsrep_provider_options='base_port=@mysqld.1.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
wsrep_sst_receive_address=127.0.0.2:@mysqld.1.#sst_port
wsrep_node_incoming_address=127.0.0.1:@mysqld.1.port
[mysqld.2]
wsrep_cluster_address='gcomm://127.0.0.1:@mysqld.1.#galera_port'
-wsrep_provider_options='base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S'
+wsrep_provider_options='base_port=@mysqld.2.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
wsrep_sst_receive_address=127.0.0.2:@mysqld.2.#sst_port
wsrep_node_incoming_address=127.0.0.1:@mysqld.2.port
[mysqld.3]
wsrep_cluster_address='gcomm://127.0.0.1:@mysqld.1.#galera_port'
-wsrep_provider_options='base_port=@mysqld.3.#galera_port;evs.suspect_timeout=PT10S'
+wsrep_provider_options='base_port=@mysqld.3.#galera_port;evs.suspect_timeout=PT10S;evs.inactive_timeout=PT30S;evs.install_timeout=PT15S'
wsrep_sst_receive_address=127.0.0.2:@mysqld.3.#sst_port
wsrep_node_incoming_address=127.0.0.1:@mysqld.3.port
--- /dev/null
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 1']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+include/assert_grep.inc [grastate.dat does not have 'safe_to_bootstrap: 0']
+SET SESSION wsrep_on = OFF;
+Killing server ...
+safe_to_bootstrap: 1
+safe_to_bootstrap: 0
+safe_to_bootstrap: 0
+CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
+CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `f1` int(11) DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+DROP TABLE t1;
--- /dev/null
+#
+# Test the safe_to_bootstrap in grastate.dat
+#
+
+--source include/galera_cluster.inc
+CREATE TABLE t1 (f1 INTEGER) ENGINE=InnoDB;
+
+#
+# At start, all grastate.dat files have safe_to_boostrap: 0
+#
+
+--let $assert_text= grastate.dat does not have 'safe_to_bootstrap: 0'
+--let $assert_select= safe_to_bootstrap: 0
+--let $assert_count= 1
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.3/data/grastate.dat
+--source include/assert_grep.inc
+
+#
+# Shut down one node
+#
+
+--connection node_2
+--source include/shutdown_mysqld.inc
+
+--connection node_1
+--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+# Still, all grastate.dat files should have safe_to_boostrap: 0
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.3/data/grastate.dat
+--source include/assert_grep.inc
+
+#
+# Shut down one more node
+#
+
+--connect node_3, 127.0.0.1, root, , test, $NODE_MYPORT_3
+--connection node_3
+--source include/shutdown_mysqld.inc
+
+--connection node_1
+--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+# Now, nodes 2,3 should have safe_to_boostrap: 0
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.3/data/grastate.dat
+--source include/assert_grep.inc
+
+# But node #1 should have safe_to_boostrap: 1
+
+--let $assert_text= grastate.dat does not have 'safe_to_bootstrap: 1'
+--let $assert_select= safe_to_bootstrap: 1
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+--source include/assert_grep.inc
+
+# Restart one node
+
+--connection node_2
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
+
+--connection node_1
+--let $wait_condition = SELECT VARIABLE_VALUE = 2 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+# All nodes should be back to 'safe_to_bootstrap: 0'
+
+--let $assert_text= grastate.dat does not have 'safe_to_bootstrap: 0'
+--let $assert_select= safe_to_bootstrap: 0
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+--source include/assert_grep.inc
+
+--let $assert_file= $MYSQLTEST_VARDIR/mysqld.3/data/grastate.dat
+--source include/assert_grep.inc
+
+#
+# Kill the cluster
+#
+
+--connection node_2
+--source include/shutdown_mysqld.inc
+
+--connection node_1
+SET SESSION wsrep_on = OFF;
+--let $wait_condition = SELECT VARIABLE_VALUE = 1 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+--source include/kill_galera.inc
+
+#
+# Only node #1 should have safe_to_bootstrap: 1
+# include/assert_grep.inc requires a running server, so we revert to simple grep
+#
+
+--error 0
+--exec grep 'safe_to_bootstrap: 1' $MYSQLTEST_VARDIR/mysqld.1/data/grastate.dat
+
+--error 0
+--exec grep 'safe_to_bootstrap: 0' $MYSQLTEST_VARDIR/mysqld.2/data/grastate.dat
+
+--error 0
+--exec grep 'safe_to_bootstrap: 0' $MYSQLTEST_VARDIR/mysqld.3/data/grastate.dat
+
+#
+# Attempt to bootstrap nodes #2, #3, should fail
+#
+
+--error 1
+--exec $MYSQLD --defaults-group-suffix=.2 --defaults-file=$MYSQLTEST_VARDIR/my.cnf --wsrep-new-cluster | grep 'This node is not safe to bootstrap the cluster'
+--error 1
+--exec $MYSQLD --defaults-group-suffix=.3 --defaults-file=$MYSQLTEST_VARDIR/my.cnf --wsrep-new-cluster | grep 'This node is not safe to bootstrap the cluster'
+
+#
+# Attempt to bootstrap starting from node #1, should succeed
+#
+
+--connection node_1
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
+--source include/start_mysqld.inc
+--source include/wait_until_connected_again.inc
+
+--connection node_2
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.2.expect
+--source include/start_mysqld.inc
+
+--connection node_3
+--let $_expect_file_name= $MYSQLTEST_VARDIR/tmp/mysqld.3.expect
+--source include/start_mysqld.inc
+
+--let $wait_condition = SELECT VARIABLE_VALUE = 3 FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'wsrep_cluster_size';
+--source include/wait_condition.inc
+
+--connection node_2
+CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
+
+--connection node_3
+CALL mtr.add_suppression("Failed to prepare for incremental state transfer");
+SHOW CREATE TABLE t1;
+
+DROP TABLE t1;
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case "$1" in
configure)
+# MySQL 5.6.34 needs this
+ MYSQLFILES=/var/lib/mysql-files
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ -z "$2" ];
then
set -e
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
MYSQLDATA=/var/lib/mysql
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
+ MYSQLFILES=/var/lib/mysql-files
server_stop
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
MYSQLDATA=/var/lib/mysql
+ MYSQLFILES=/var/lib/mysql-files
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
chmod 750 ${MYSQLDATA}
fi
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ ! -d ${MYSQLLOG} -a ! -L ${MYSQLLOG} ];
then
mkdir ${MYSQLLOG}
Default: false
Description: Remove data directory at /var/lib/mysql ?
This operation will remove the data directory that stores all the databases, tables and related meta-data.
+ Additionally, any import or export files stored at '/var/lib/mysql-files' will be removed along with directory.
It is highly recommended to take data backup before removing the data directory.
Template: mysql-community-server/data-dir
/var/lib/mysql/ r,
/var/lib/mysql/** rwk,
+# Allow data files dir access
+ /var/lib/mysql-files/ r,
+ /var/lib/mysql-files/** rwk,
+
# Allow log file access
/var/log/mysql/ r,
/var/log/mysql/** rw,
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case "$1" in
configure)
+# MySQL 5.6.34 needs this
+ MYSQLFILES=/var/lib/mysql-files
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ -z "$2" ];
then
set -e
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
MYSQLDATA=/var/lib/mysql
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
+ MYSQLFILES=/var/lib/mysql-files
server_stop
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
MYSQLDATA=/var/lib/mysql
+ MYSQLFILES=/var/lib/mysql-files
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
chmod 750 ${MYSQLDATA}
fi
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ ! -d ${MYSQLLOG} -a ! -L ${MYSQLLOG} ];
then
mkdir ${MYSQLLOG}
Default: false
Description: Remove data directory at /var/lib/mysql ?
This operation will remove the data directory that stores all the databases, tables and related meta-data.
+ Additionally, any import or export files stored at '/var/lib/mysql-files' will be removed along with directory.
It is highly recommended to take data backup before removing the data directory.
Template: mysql-community-server/data-dir
/var/lib/mysql/ r,
/var/lib/mysql/** rwk,
+# Allow data files dir access
+ /var/lib/mysql-files/ r,
+ /var/lib/mysql-files/** rwk,
+
# Allow log file access
/var/log/mysql/ r,
/var/log/mysql/** rw,
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case "$1" in
configure)
+# MySQL 5.6.34 needs this
+ MYSQLFILES=/var/lib/mysql-files
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ -z "$2" ];
then
set -e
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
MYSQLDATA=/var/lib/mysql
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
+ MYSQLFILES=/var/lib/mysql-files
server_stop
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
MYSQLDATA=/var/lib/mysql
+ MYSQLFILES=/var/lib/mysql-files
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
chmod 750 ${MYSQLDATA}
fi
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ ! -d ${MYSQLLOG} -a ! -L ${MYSQLLOG} ];
then
mkdir ${MYSQLLOG}
Default: false
Description: Remove data directory at /var/lib/mysql ?
This operation will remove the data directory that stores all the databases, tables and related meta-data.
+ Additionally, any import or export files stored at '/var/lib/mysql-files' will be removed along with directory.
It is highly recommended to take data backup before removing the data directory.
Template: mysql-community-server/data-dir
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
case "$1" in
configure)
+# MySQL 5.6.34 needs this
+ MYSQLFILES=/var/lib/mysql-files
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ -z "$2" ];
then
set -e
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
MYSQLDATA=/var/lib/mysql
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
+ MYSQLFILES=/var/lib/mysql-files
server_stop
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
rm -rf ${MYSQLDATA}
fi
+ if [ -d ${MYSQLFILES} ] || [ -L ${MYSQLFILES} ];
+ then
+ rm -rf ${MYSQLFILES}
+ fi
+
if getent passwd mysql >/dev/null;
then
userdel mysql
#!/bin/bash
-# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
fi
MYSQLDATA=/var/lib/mysql
+ MYSQLFILES=/var/lib/mysql-files
MYSQLLOG=/var/log/mysql
MYSQLRUN=/var/run/mysqld
chmod 750 ${MYSQLDATA}
fi
+ if [ ! -d ${MYSQLFILES} -a ! -L ${MYSQLFILES} ];
+ then
+ mkdir ${MYSQLFILES}
+ chown mysql:mysql ${MYSQLFILES}
+ chmod 770 ${MYSQLFILES}
+ fi
+
if [ ! -d ${MYSQLLOG} -a ! -L ${MYSQLLOG} ];
then
mkdir ${MYSQLLOG}
Default: false
Description: Remove data directory at /var/lib/mysql ?
This operation will remove the data directory that stores all the databases, tables and related meta-data.
+ Additionally, any import or export files stored at '/var/lib/mysql-files' will be removed along with directory.
It is highly recommended to take data backup before removing the data directory.
Template: mysql-community-server/data-dir
if [ -x /usr/sbin/restorecon ]; then
/usr/sbin/restorecon "$datadir"
/usr/sbin/restorecon $log
+ for dir in /var/lib/mysql-files ; do
+ if [ -x /usr/sbin/semanage -a -d /var/lib/mysql -a -d $dir ] ; then
+ /usr/sbin/semanage fcontext -a -e /var/lib/mysql $dir >/dev/null 2>&1
+ /sbin/restorecon $dir
+ fi
+ done
fi
# If special mysql dir is in place, skip db install
install -d -m 0755 %{buildroot}%{_datadir}/mysql/SELinux/RHEL4
install -d -m 0755 %{buildroot}/var/lib/mysql
install -d -m 0755 %{buildroot}/var/run/mysqld
+install -d -m 0750 %{buildroot}/var/lib/mysql-files
# Install all binaries
pushd $MBD/release
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
%dir %attr(755, mysql, mysql) /var/lib/mysql
%dir %attr(755, mysql, mysql) /var/run/mysqld
+%dir %attr(750, mysql, mysql) /var/lib/mysql-files
%files common
%defattr(-, root, root, -)
%attr(755, root, root) %{_libdir}/mysql/libmysqld.so
%changelog
+* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.34-1
+- Include mysql-files directory
+
* Tue Jul 05 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.32-1
- Remove mysql_config from client subpackage
if [ -x /usr/sbin/restorecon ]; then
/usr/sbin/restorecon "$datadir"
/usr/sbin/restorecon $log
+ for dir in /var/lib/mysql-files ; do
+ if [ -x /usr/sbin/semanage -a -d /var/lib/mysql -a -d $dir ] ; then
+ /usr/sbin/semanage fcontext -a -e /var/lib/mysql $dir >/dev/null 2>&1
+ /sbin/restorecon $dir
+ fi
+ done
fi
# If special mysql dir is in place, skip db install
fi
chown mysql:mysql "$datadir"
chmod 0755 "$datadir"
- [ -x /sbin/restorecon ] && /sbin/restorecon "$datadir"
+ if [ -x /sbin/restorecon ]; then
+ /sbin/restorecon "$datadir"
+ for dir in /var/lib/mysql-files ; do
+ if [ -x /usr/sbin/semanage -a -d /var/lib/mysql -a -d $dir ] ; then
+ /usr/sbin/semanage fcontext -a -e /var/lib/mysql $dir >/dev/null 2>&1
+ /sbin/restorecon $dir
+ fi
+ done
+ fi
# Now create the database
action $"Initializing MySQL database: " /usr/bin/mysql_install_db --rpm --datadir="$datadir" --user=mysql
ret=$?
install -d -m 0755 %{buildroot}%{_datadir}/mysql/SELinux/RHEL4
install -d -m 0755 %{buildroot}/var/lib/mysql
install -d -m 0755 %{buildroot}/var/run/mysqld
+install -d -m 0750 %{buildroot}/var/lib/mysql-files
# Install all binaries
cd $MBD/release
%attr(644, root, root) %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
%dir %attr(755, mysql, mysql) /var/lib/mysql
%dir %attr(755, mysql, mysql) /var/run/mysqld
+%dir %attr(750, mysql, mysql) /var/lib/mysql-files
%files common
%defattr(-, root, root, -)
%endif
%changelog
+* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.34-1
+- Include mysql-files directory
+
* Tue Jul 05 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.32-1
- Remove mysql_config from client subpackage
install -d -m 0755 %{buildroot}/var/lib/mysql
install -d -m 0755 %{buildroot}/var/run/mysql
install -d -m 0750 %{buildroot}/var/log/mysql
+install -d -m 0750 %{buildroot}/var/lib/mysql-files
# Install all binaries
cd $MBD/release
%dir %attr(755, mysql, mysql) /var/lib/mysql
%dir %attr(755, mysql, mysql) /var/run/mysql
%dir %attr(750, mysql, mysql) /var/log/mysql
+%dir %attr(750, mysql, mysql) /var/lib/mysql-files
%files common
%defattr(-, root, root, -)
%attr(755, root, root) %{_libdir}/mysql/libmysqld.so
%changelog
+* Mon Sep 26 2016 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.6.34-1
+- Include mysql-files directory
+
* Mon Mar 14 2016 Georgi Kodinov <georgi.kodinov@oracle.com> - 5.6.31-1
- Add test_udf_services.so plugin
#!/bin/sh
#
-# Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
myuser=mysql
mydatadir=/var/lib/mysql
basedir=@@basedir@@
+mysecurefiledir=/var/lib/mysql-files
if [ -n "$BASEDIR" ] ; then
basedir="$BASEDIR"
chown -R $myuser:$mygroup $mydatadir
+# Create securefile directory
+[ -d "$mysecurefiledir" ] || mkdir -p -m 770 "$mysecurefiledir" || exit 1
+chown -R $myuser:$mygroup $mysecurefiledir
+
# Solaris patch 119255 (somewhere around revision 42) changes the behaviour
# of pkgadd to set TMPDIR internally to a root-owned install directory. This
# has the unfortunate side effect of breaking running mysql_install_db with
--- /dev/null
+# Keep the entries sorted to reduce the risk for a merge conflict
+*.[ao]
+*.exe
+*.gcda
+*.gcno
+*.gcov
+*.l[ao]
+*.tcov
+*.pyc
+*~
+.deps
+/.libs/
+/INSTALL
+/aclocal.m4
+/autom4te.cache
+/breakdancer_testsuite.c
+/config.h
+/config.h.in
+/config.log
+/config.status
+/config/Doxyfile
+/config/Doxyfile-api
+/config/compile
+/config/config.guess
+/config/config.sub
+/config/depcomp
+/config/install-sh
+/config/ltmain.sh
+/config/missing
+/configure
+/doc/doxy
+/doc/doxy-api
+/doc/engine-interface.txt
+/doc/protocol-binary-range.txt
+/doc/protocol-binary.txt
+/engine_testapp
+/libtool
+/m4/version.m4
+/mcstat
+/memcached
+/memcached-*.tar.gz
+/memcached-debug
+/memcached-debug.profile
+/memcached.spec
+/memcached_dtrace.h
+/mkinstalldirs
+/sizes
+/stamp-h1
+/t/binary-sasl.t
+/testapp
+/timedrun
+/version.num
+Makefile
+Makefile.in
+TAGS
+cscope.out
+tags
+++ /dev/null
-/* config.h. Generated from config.h.in by configure. */
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-#ifndef CONFIG_H
-#define CONFIG_H
-
-/* Define if building universal (internal helper macro) */
-/* #undef AC_APPLE_UNIVERSAL_BUILD */
-
-/* Set to nonzero if you want to include DTRACE */
-/* #undef ENABLE_DTRACE */
-
-/* Set to nonzero if you want to include ISASL */
-/* #undef ENABLE_ISASL */
-
-/* Set to nonzero if you want to include SASL */
-/* #undef ENABLE_SASL */
-
-/* Set to nonzero if you want to enable a SASL pwdb */
-/* #undef ENABLE_SASL_PWDB */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define this if you have an implementation of drop_privileges() */
-/* #undef HAVE_DROP_PRIVILEGES */
-
-/* Define to 1 if you have the `getpagesizes' function. */
-/* #undef HAVE_GETPAGESIZES */
-
-/* Have ntohll */
-/* #undef HAVE_HTONLL */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the <link.h> header file. */
-#define HAVE_LINK_H 1
-
-/* Define to 1 if you have the `memcntl' function. */
-/* #undef HAVE_MEMCNTL */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `mlockall' function. */
-#define HAVE_MLOCKALL 1
-
-/* Define to 1 if you have the <netdb.h> header file. */
-#define HAVE_NETDB_H 1
-
-/* Define to 1 if you have the <netinet/in.h> header file. */
-#define HAVE_NETINET_IN_H 1
-
-/* Define to 1 if you have the <netinet/tcp.h> header file. */
-#define HAVE_NETINET_TCP_H 1
-
-/* Define to 1 if you have the <priv.h> header file. */
-/* #undef HAVE_PRIV_H */
-
-/* Define to 1 if you have the <pwd.h> header file. */
-#define HAVE_PWD_H 1
-
-/* Set to nonzero if your SASL implementation supports SASL_CB_GETCONF */
-/* #undef HAVE_SASL_CB_GETCONF */
-
-/* Define to 1 if you have the <sasl/sasl.h> header file. */
-/* #undef HAVE_SASL_SASL_H */
-
-/* Define to 1 if you have the `setppriv' function. */
-/* #undef HAVE_SETPPRIV */
-
-/* Define to 1 if you have the `sigignore' function. */
-#define HAVE_SIGIGNORE 1
-
-/* Define to 1 if stdbool.h conforms to C99. */
-/* #undef HAVE_STDBOOL_H */
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sysexits.h> header file. */
-#define HAVE_SYSEXITS_H 1
-
-/* Define to 1 if you have the <syslog.h> header file. */
-#define HAVE_SYSLOG_H 1
-
-/* Define to 1 if you have the <sys/mman.h> header file. */
-#define HAVE_SYS_MMAN_H 1
-
-/* Define to 1 if you have the <sys/resource.h> header file. */
-#define HAVE_SYS_RESOURCE_H 1
-
-/* Define to 1 if you have the <sys/socket.h> header file. */
-#define HAVE_SYS_SOCKET_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <sys/uio.h> header file. */
-#define HAVE_SYS_UIO_H 1
-
-/* Define to 1 if you have the <sys/un.h> header file. */
-#define HAVE_SYS_UN_H 1
-
-/* Define to 1 if you have the <sys/wait.h> header file. */
-#define HAVE_SYS_WAIT_H 1
-
-/* Define this if you have umem.h */
-/* #undef HAVE_UMEM_H */
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if you have the <windows.h> header file. */
-/* #undef HAVE_WINDOWS_H */
-
-/* Define to 1 if the system has the type `_Bool'. */
-#define HAVE__BOOL 1
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LT_OBJDIR ".libs/"
-
-/* Machine need alignment */
-#define NEED_ALIGN 1
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-/* #undef NO_MINUS_C_MINUS_O */
-
-/* Name of package */
-#define PACKAGE "memcached"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT "memcached@googlegroups.com"
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "memcached"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "memcached 1.6.0_beta1"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "memcached"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "1.6.0_beta1"
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "1.6.0_beta1"
-
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* # undef WORDS_BIGENDIAN */
-# endif
-#endif
-
-/* find sigignore on Linux */
-#define _GNU_SOURCE 1
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* define to int if socklen_t not available */
-/* #undef socklen_t */
-
-#include "config_static.h"
-#endif
+++ /dev/null
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-use Cwd;
-use FindBin qw($Bin);
-use lib "$Bin/lib";
-use MemcachedTest;
-
-my $supports_sasl = supports_sasl();
-my $saslpasswd2 = '';
-my $sasldb;
-my $expected_mechs = 'PLAIN';
-
-# If sasl, then use saslpasswd
-unless ($saslpasswd2 eq "isasl") {
- $sasldb = '/tmp/test-memcached.sasldb';
- $expected_mechs = "CRAM-MD5 $expected_mechs";
-}
-# if isasl, use plain text file
-else {
- $sasldb = '/tmp/isasl.txt';
- $ENV{'ISASL_PWFILE'} = $sasldb;
-}
-
-use Test::More;
-
-if (supports_sasl()) {
- if ($saslpasswd2 eq '') {
- plan skip_all => "The binary 'saslpasswd' is missing from your system";
- }
- else {
- plan tests => 25;
- }
-} else {
- plan tests => 1;
- eval {
- my $server = new_memcached("-S");
- };
- ok($@, "Died with illegal -S args when SASL is not supported.");
- exit 0;
-}
-
-eval {
- my $server = new_memcached("-S -B auto");
-};
-ok($@, "SASL shouldn't be used with protocol auto negotiate");
-
-eval {
- my $server = new_memcached("-S -B ascii");
-};
-ok($@, "SASL isn't implemented in the ascii protocol");
-
-eval {
- my $server = new_memcached("-S -B binary -B ascii");
-};
-ok($@, "SASL isn't implemented in the ascii protocol");
-
-# Based almost 100% off testClient.py which is:
-# Copyright (c) 2007 Dustin Sallings <dustin@spy.net>
-
-# Command constants
-use constant CMD_GET => 0x00;
-use constant CMD_SET => 0x01;
-use constant CMD_ADD => 0x02;
-use constant CMD_REPLACE => 0x03;
-use constant CMD_DELETE => 0x04;
-use constant CMD_INCR => 0x05;
-use constant CMD_DECR => 0x06;
-use constant CMD_QUIT => 0x07;
-use constant CMD_FLUSH => 0x08;
-use constant CMD_GETQ => 0x09;
-use constant CMD_NOOP => 0x0A;
-use constant CMD_VERSION => 0x0B;
-use constant CMD_GETK => 0x0C;
-use constant CMD_GETKQ => 0x0D;
-use constant CMD_APPEND => 0x0E;
-use constant CMD_PREPEND => 0x0F;
-use constant CMD_STAT => 0x10;
-use constant CMD_SETQ => 0x11;
-use constant CMD_ADDQ => 0x12;
-use constant CMD_REPLACEQ => 0x13;
-use constant CMD_DELETEQ => 0x14;
-use constant CMD_INCREMENTQ => 0x15;
-use constant CMD_DECREMENTQ => 0x16;
-use constant CMD_QUITQ => 0x17;
-use constant CMD_FLUSHQ => 0x18;
-use constant CMD_APPENDQ => 0x19;
-use constant CMD_PREPENDQ => 0x1A;
-
-use constant CMD_SASL_LIST_MECHS => 0x20;
-use constant CMD_SASL_AUTH => 0x21;
-use constant CMD_SASL_STEP => 0x22;
-use constant ERR_AUTH_ERROR => 0x20;
-
-
-# REQ and RES formats are divided even though they currently share
-# the same format, since they _could_ differ in the future.
-use constant REQ_PKT_FMT => "CCnCCnNNNN";
-use constant RES_PKT_FMT => "CCnCCnNNNN";
-use constant INCRDECR_PKT_FMT => "NNNNN";
-use constant MIN_RECV_BYTES => length(pack(RES_PKT_FMT));
-use constant REQ_MAGIC => 0x80;
-use constant RES_MAGIC => 0x81;
-
-my $pwd=getcwd;
-$ENV{'SASL_CONF_PATH'} = "$pwd/t/sasl";
-
-my $server = new_memcached('-B binary -S ');
-
-my $mc = MC::Client->new;
-
-my $check = sub {
- my ($key, $orig_val) = @_;
- my ($status, $val, $cas) = $mc->get($key);
-
- if ($val =~ /^\d+$/) {
- cmp_ok($val,'==', $orig_val, "$val = $orig_val");
- }
- else {
- cmp_ok($val, 'eq', $orig_val, "$val = $orig_val");
- }
-};
-
-my $set = sub {
- my ($key, $orig_value, $exp) = @_;
- $exp = defined $exp ? $exp : 0;
- my ($status, $rv)= $mc->set($key, $orig_value, $exp);
- $check->($key, $orig_value);
-};
-
-my $empty = sub {
- my $key = shift;
- my ($status,$rv) =()= eval { $mc->get($key) };
- #if ($status == ERR_AUTH_ERROR) {
- # ok($@->auth_error, "Not authorized to connect");
- #}
- #else {
- # ok($@->not_found, "We got a not found error when we expected one");
- #}
- if ($status) {
- ok($@->not_found, "We got a not found error when we expected one");
- }
-};
-
-my $delete = sub {
- my ($key, $when) = @_;
- $mc->delete($key, $when);
- $empty->($key);
-};
-
-# BEGIN THE TEST
-ok($server, "started the server");
-
-my $v = $mc->version;
-ok(defined $v && length($v), "Proper version: $v");
-
-# list mechs
-my $mechs= $mc->list_mechs();
-Test::More::cmp_ok($mechs, 'eq', $expected_mechs, "list_mechs $mechs");
-
-# this should fail, not authenticated
-{
- my ($status, $val)= $mc->set('x', "somevalue");
- ok($status, "this fails to authenticate");
- cmp_ok($status,'==',ERR_AUTH_ERROR, "error code matches");
-}
-$empty->('x');
-{
- my $mc = MC::Client->new;
- my ($status, $val) = $mc->delete('x');
- ok($status, "this fails to authenticate");
- cmp_ok($status,'==',ERR_AUTH_ERROR, "error code matches");
-}
-$empty->('x');
-{
- my $mc = MC::Client->new;
- my ($status, $val)= $mc->set('x', "somevalue");
- ok($status, "this fails to authenticate");
- cmp_ok($status,'==',ERR_AUTH_ERROR, "error code matches");
-}
-$empty->('x');
-{
- my $mc = MC::Client->new;
- my ($status, $val)= $mc->flush('x');
- ok($status, "this fails to authenticate");
- cmp_ok($status,'==',ERR_AUTH_ERROR, "error code matches");
-}
-$empty->('x');
-
-unlink $sasldb;
-my ($testuser, $testpass) = ('testuser', 'testpass');
-unless ($saslpasswd2 eq "isasl") {
- system("echo $testpass | $saslpasswd2 -a memcached -f $sasldb -c -p $testuser");
-}
-else {
- my $isasl_fh;
- open($isasl_fh, ">$sasldb") or die "unable to open $sasldb\n";
- print $isasl_fh "$testuser $testpass";
- close($isasl_fh);
-}
-
-$mc = MC::Client->new;
-
-# Attempt a bad auth mech.
-is ($mc->authenticate('testuser', 'testpass', "X" x 40), 0x4, "bad mech");
-
-# Attempt bad authentication.
-is ($mc->authenticate('testuser', 'wrongpassword'), 0x20, "bad auth");
-
-# Now try good authentication and make the tests work.
-is ($mc->authenticate('testuser', 'testpass'), 0, "authenticated");
-# these should work
-{
- my ($status, $val)= $mc->set('x', "somevalue");
- ok(! $status);
-}
-$check->('x','somevalue');
-
-{
- my ($status, $val)= $mc->delete('x');
- ok(! $status);
-}
-$empty->('x');
-
-{
- my ($status, $val)= $mc->set('x', "somevalue");
- ok(! $status);
-}
-$check->('x','somevalue');
-
-{
- my ($status, $val)= $mc->flush('x');
- ok(! $status);
-}
-$empty->('x');
-
-# check the SASL stats, make sure they track things correctly
-# note: the enabled or not is presence checked in stats.t
-
-# while authenticated, get current counter
-#
-# My initial approach was going to be to get current counts, reauthenticate
-# and fail, followed by a reauth successfully so I'd know what happened.
-# Reauthentication is currently unsupported, so it doesn't work that way at the
-# moment. Adding tests may break this.
-
-{
- my %stats = $mc->stats('');
- is ($stats{'auth_cmds'}, 2, "auth commands counted");
- is ($stats{'auth_errors'}, 1, "auth errors correct");
-}
-
-
-# Along with the assertion added to the code to verify we're staying
-# within bounds when we do a stats detail dump (detail turned on at
-# the top).
-# my %stats = $mc->stats('detail dump');
-
-# ######################################################################
-# Test ends around here.
-# ######################################################################
-
-package MC::Client;
-
-use strict;
-use warnings;
-use fields qw(socket);
-use IO::Socket::INET;
-
-use constant ERR_AUTH_ERROR => 0x20;
-
-sub new {
- my $self = shift;
- my ($s) = @_;
- $s = $server unless defined $s;
- my $sock = $s->sock;
- $self = fields::new($self);
- $self->{socket} = $sock;
- return $self;
-}
-
-sub authenticate {
- my ($self, $user, $pass, $mech)= @_;
- $mech ||= 'PLAIN';
- my $buf = sprintf("%c%s%c%s", 0, $user, 0, $pass);
- my ($status, $rv, undef) = $self->_do_command(::CMD_SASL_AUTH, $mech, $buf, '');
- return $status;
-}
-sub list_mechs {
- my ($self)= @_;
- my ($status, $rv, undef) = $self->_do_command(::CMD_SASL_LIST_MECHS, '', '', '');
- return join(" ", sort(split(/\s+/, $rv)));
-}
-
-sub build_command {
- my $self = shift;
- die "Not enough args to send_command" unless @_ >= 4;
- my ($cmd, $key, $val, $opaque, $extra_header, $cas) = @_;
-
- $extra_header = '' unless defined $extra_header;
- my $keylen = length($key);
- my $vallen = length($val);
- my $extralen = length($extra_header);
- my $datatype = 0; # field for future use
- my $reserved = 0; # field for future use
- my $totallen = $keylen + $vallen + $extralen;
- my $ident_hi = 0;
- my $ident_lo = 0;
-
- if ($cas) {
- $ident_hi = int($cas / 2 ** 32);
- $ident_lo = int($cas % 2 ** 32);
- }
-
- my $msg = pack(::REQ_PKT_FMT, ::REQ_MAGIC, $cmd, $keylen, $extralen,
- $datatype, $reserved, $totallen, $opaque, $ident_hi,
- $ident_lo);
- my $full_msg = $msg . $extra_header . $key . $val;
- return $full_msg;
-}
-
-sub send_command {
- my $self = shift;
- die "Not enough args to send_command" unless @_ >= 4;
- my ($cmd, $key, $val, $opaque, $extra_header, $cas) = @_;
-
- my $full_msg = $self->build_command($cmd, $key, $val, $opaque, $extra_header, $cas);
-
- my $sent = $self->{socket}->send($full_msg);
- die("Send failed: $!") unless $sent;
- if($sent != length($full_msg)) {
- die("only sent $sent of " . length($full_msg) . " bytes");
- }
-}
-
-sub flush_socket {
- my $self = shift;
- $self->{socket}->flush;
-}
-
-# Send a silent command and ensure it doesn't respond.
-sub send_silent {
- my $self = shift;
- die "Not enough args to send_silent" unless @_ >= 4;
- my ($cmd, $key, $val, $opaque, $extra_header, $cas) = @_;
-
- $self->send_command($cmd, $key, $val, $opaque, $extra_header, $cas);
- $self->send_command(::CMD_NOOP, '', '', $opaque + 1);
-
- my ($ropaque, $status, $data) = $self->_handle_single_response;
- Test::More::is($ropaque, $opaque + 1);
-}
-
-sub silent_mutation {
- my $self = shift;
- my ($cmd, $key, $value) = @_;
-
- $empty->($key);
- my $extra = pack "NN", 82, 0;
- $mc->send_silent($cmd, $key, $value, 7278552, $extra, 0);
- $check->($key, $value);
-}
-
-sub _handle_single_response {
- my $self = shift;
- my $myopaque = shift;
-
- $self->{socket}->recv(my $response, ::MIN_RECV_BYTES);
-
- my ($magic, $cmd, $keylen, $extralen, $datatype, $status, $remaining,
- $opaque, $ident_hi, $ident_lo) = unpack(::RES_PKT_FMT, $response);
-
- return ($opaque, '', '', '', 0) if not defined $remaining;
- return ($opaque, '', '', '', 0) if ($remaining == 0);
-
- # fetch the value
- my $rv="";
- while($remaining - length($rv) > 0) {
- $self->{socket}->recv(my $buf, $remaining - length($rv));
- $rv .= $buf;
- }
- if(length($rv) != $remaining) {
- my $found = length($rv);
- die("Expected $remaining bytes, got $found");
- }
-
- my $cas = ($ident_hi * 2 ** 32) + $ident_lo;
-
- #if ($status) {
- #die MC::Error->new($status, $rv);
- #}
-
- return ($opaque, $status, $rv, $cas, $keylen);
-}
-
-sub _do_command {
- my $self = shift;
- die unless @_ >= 3;
- my ($cmd, $key, $val, $extra_header, $cas) = @_;
-
- $extra_header = '' unless defined $extra_header;
- my $opaque = int(rand(2**32));
- $self->send_command($cmd, $key, $val, $opaque, $extra_header, $cas);
- my (undef, $status, $rv, $rcas) = $self->_handle_single_response($opaque);
- return ($status, $rv, $rcas);
-}
-
-sub _incrdecr_header {
- my $self = shift;
- my ($amt, $init, $exp) = @_;
-
- my $amt_hi = int($amt / 2 ** 32);
- my $amt_lo = int($amt % 2 ** 32);
-
- my $init_hi = int($init / 2 ** 32);
- my $init_lo = int($init % 2 ** 32);
-
- my $extra_header = pack(::INCRDECR_PKT_FMT, $amt_hi, $amt_lo, $init_hi,
- $init_lo, $exp);
-
- return $extra_header;
-}
-
-sub _incrdecr {
- my $self = shift;
- my ($cmd, $key, $amt, $init, $exp) = @_;
-
- my ($status, $data, undef) = $self->_do_command($cmd, $key, '',
- $self->_incrdecr_header($amt, $init, $exp));
-
- my $header = substr $data, 0, 8, '';
- my ($resp_hi, $resp_lo) = unpack "NN", $header;
- my $resp = ($resp_hi * 2 ** 32) + $resp_lo;
-
- return $resp;
-}
-
-sub silent_incrdecr {
- my $self = shift;
- my ($cmd, $key, $amt, $init, $exp) = @_;
- my $opaque = 8275753;
-
- $mc->send_silent($cmd, $key, '', $opaque,
- $mc->_incrdecr_header($amt, $init, $exp));
-}
-
-sub stats {
- my $self = shift;
- my $key = shift;
- my $cas = 0;
- my $opaque = int(rand(2**32));
- $self->send_command(::CMD_STAT, $key, '', $opaque, '', $cas);
-
- my %rv = ();
- my $found_key = '';
- my $found_val = '';
- my $status= 0;
- do {
- my ($op, $status, $data, $cas, $keylen) = $self->_handle_single_response($opaque);
- if ($keylen > 0) {
- $found_key = substr($data, 0, $keylen);
- $found_val = substr($data, $keylen);
- $rv{$found_key} = $found_val;
- } else {
- $found_key = '';
- }
- } while($found_key ne '');
- return %rv;
-}
-
-sub get {
- my $self = shift;
- my $key = shift;
- my ($status, $rv, $cas) = $self->_do_command(::CMD_GET, $key, '', '');
-
- my $header = substr $rv, 0, 4, '';
- my $flags = unpack("N", $header);
-
- return ($status, $rv);
-}
-
-sub get_multi {
- my $self = shift;
- my @keys = @_;
-
- for (my $i = 0; $i < @keys; $i++) {
- $self->send_command(::CMD_GETQ, $keys[$i], '', $i, '', 0);
- }
-
- my $terminal = @keys + 10;
- $self->send_command(::CMD_NOOP, '', '', $terminal);
-
- my %return;
- my $status = 0;
- while (1) {
- my ($opaque, $status, $data) = $self->_handle_single_response;
- last if $opaque == $terminal;
-
- my $header = substr $data, 0, 4, '';
- my $flags = unpack("N", $header);
-
- $return{$keys[$opaque]} = [$flags, $data];
- }
-
- return %return if wantarray;
- return \%return;
-}
-
-sub version {
- my $self = shift;
- return $self->_do_command(::CMD_VERSION, '', '');
-}
-
-sub flush {
- my $self = shift;
- return $self->_do_command(::CMD_FLUSH, '', '');
-}
-
-sub add {
- my $self = shift;
- my ($key, $val, $flags, $expire) = @_;
- my $extra_header = pack "NN", $flags, $expire;
- my $cas = 0;
- return $self->_do_command(::CMD_ADD, $key, $val, $extra_header, $cas);
-}
-
-sub set {
- my $self = shift;
- my $flags = 0;
- my $cas = 0;
- my ($key, $val, $expire) = @_;
- $expire = defined $expire ? $expire : 0;
- my $extra_header = pack "NN", $flags, $expire;
- return $self->_do_command(::CMD_SET, $key, $val, $extra_header, $cas);
-}
-
-sub _append_prepend {
- my $self = shift;
- my ($cmd, $key, $val, $cas) = @_;
- return $self->_do_command($cmd, $key, $val, '', $cas);
-}
-
-sub replace {
- my $self = shift;
- my ($key, $val, $flags, $expire) = @_;
- my $extra_header = pack "NN", $flags, $expire;
- my $cas = 0;
- return $self->_do_command(::CMD_REPLACE, $key, $val, $extra_header, $cas);
-}
-
-sub delete {
- my $self = shift;
- my ($key) = @_;
- return $self->_do_command(::CMD_DELETE, $key, '');
-}
-
-sub incr {
- my $self = shift;
- my ($key, $amt, $init, $exp) = @_;
- $amt = 1 unless defined $amt;
- $init = 0 unless defined $init;
- $exp = 0 unless defined $exp;
-
- return $self->_incrdecr(::CMD_INCR, $key, $amt, $init, $exp);
-}
-
-sub decr {
- my $self = shift;
- my ($key, $amt, $init, $exp) = @_;
- $amt = 1 unless defined $amt;
- $init = 0 unless defined $init;
- $exp = 0 unless defined $exp;
-
- return $self->_incrdecr(::CMD_DECR, $key, $amt, $init, $exp);
-}
-
-sub noop {
- my $self = shift;
- return $self->_do_command(::CMD_NOOP, '', '');
-}
-
-package MC::Error;
-
-use strict;
-use warnings;
-
-use constant ERR_UNKNOWN_CMD => 0x81;
-use constant ERR_NOT_FOUND => 0x1;
-use constant ERR_EXISTS => 0x2;
-use constant ERR_TOO_BIG => 0x3;
-use constant ERR_EINVAL => 0x4;
-use constant ERR_NOT_STORED => 0x5;
-use constant ERR_DELTA_BADVAL => 0x6;
-use constant ERR_AUTH_ERROR => 0x20;
-
-use overload '""' => sub {
- my $self = shift;
- return "Memcache Error ($self->[0]): $self->[1]";
-};
-
-sub new {
- my $class = shift;
- my $error = [@_];
- my $self = bless $error, (ref $class || $class);
-
- return $self;
-}
-
-sub not_found {
- my $self = shift;
- return $self->[0] == ERR_NOT_FOUND;
-}
-
-sub exists {
- my $self = shift;
- return $self->[0] == ERR_EXISTS;
-}
-
-sub too_big {
- my $self = shift;
- return $self->[0] == ERR_TOO_BIG;
-}
-
-sub delta_badval {
- my $self = shift;
- return $self->[0] == ERR_DELTA_BADVAL;
-}
-
-sub auth_error {
- my $self = shift;
- return $self->[0] == ERR_AUTH_ERROR;
-}
-
-unlink $sasldb;
-
-# vim: filetype=perl
-
--- /dev/null
+*.build
+xcode/ndbmemcache.xcodeproj/jdd.perspectivev3
+xcode/ndbmemcache.xcodeproj/jdd.mode1v3
+xcode/ndbmemcache.xcodeproj/*.mode1v3
+xcode/ndbmemcache.xcodeproj/*.pbxuser
+.DS_Store
+Makefile.in
+junkbin
+aclocal.m4
+compile
+configure
+depcomp
+install-sh
+ltmain.sh
+missing
+autom4te.cache/
+config.guess
+config.h.in
+config.sub
+Makefile
+config.h
+config.log
+config.status
+libtool
+src/.deps/
+src/Makefile
+stamp-h1
+unit/.deps/
+unit/test_workqueue
+unit/Makefile
+unit/casbits_test
+unit/ndbapi_interp_test
+unit/test_interp
+.libs
+.deps
+*.la
+*.lo
+
+++ /dev/null
-/* config.h. Generated from config.h.in by configure. */
-/* config.h.in. Generated from configure.in by autoheader. */
-
-/* Define if building universal (internal helper macro) */
-/* #undef AC_APPLE_UNIVERSAL_BUILD */
-
-/* Enable debug log */
-/* #undef DEBUG_OUTPUT */
-
-/* Define to 1 if you have the `clock_gettime' function. */
-#define HAVE_CLOCK_GETTIME 1
-
-/* Darwin libkern OSAtomic functions. */
-/* #undef HAVE_DARWIN_ATOMICS */
-
-/* Define to 1 if you have the <dispatch/dispatch.h> header file. */
-/* #undef HAVE_DISPATCH_DISPATCH_H */
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#define HAVE_DLFCN_H 1
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* GCC atomic builtins. */
-#define HAVE_GCC_ATOMIC_BUILTINS 1
-
-/* Define to 1 if you have the `gethrtime' function. */
-/* #undef HAVE_GETHRTIME */
-
-/* Define to 1 if you have the `gethrvtime' function. */
-/* #undef HAVE_GETHRVTIME */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the `dispatch' library (-ldispatch). */
-/* #undef HAVE_LIBDISPATCH */
-
-/* Define to 1 if you have the <mach/mach_time.h> header file. */
-/* #undef HAVE_MACH_MACH_TIME_H */
-
-/* Define to 1 if your system has a GNU libc compatible `malloc' function, and
- to 0 otherwise. */
-#define HAVE_MALLOC 1
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the `memset' function. */
-#define HAVE_MEMSET 1
-
-/* Define to 1 if you have the <netinet/in.h> header file. */
-#define HAVE_NETINET_IN_H 1
-
-/* Define to 1 if your system has a GNU libc compatible `realloc' function,
- and to 0 otherwise. */
-#define HAVE_REALLOC 1
-
-/* Solaris Atomic functions. */
-/* #undef HAVE_SOLARIS_ATOMICS */
-
-/* Define to 1 if you have the `srandomdev' function. */
-/* #undef HAVE_SRANDOMDEV */
-
-/* Define to 1 if stdbool.h conforms to C99. */
-#define HAVE_STDBOOL_H 1
-
-/* Define to 1 if you have the <stddef.h> header file. */
-#define HAVE_STDDEF_H 1
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/param.h> header file. */
-#define HAVE_SYS_PARAM_H 1
-
-/* Define to 1 if you have the <sys/socket.h> header file. */
-#define HAVE_SYS_SOCKET_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to 1 if the system has the type `_Bool'. */
-#define HAVE__BOOL 1
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#define LT_OBJDIR ".libs/"
-
-/* Machine need alignment */
-#define NEED_ALIGN 1
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-/* #undef NO_MINUS_C_MINUS_O */
-
-/* Name of package */
-#define PACKAGE "innodbmemcache"
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT ""
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME "innodbmemcache"
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "innodbmemcache proto4"
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME "innodbmemcache"
-
-/* Define to the home page for this package. */
-#define PACKAGE_URL ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION "proto4"
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Version number of package */
-#define VERSION "proto4"
-
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* # undef WORDS_BIGENDIAN */
-# endif
-#endif
-
-/* find sigignore on Linux */
-#define _GNU_SOURCE 1
-
-/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
- <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
- #define below would cause a syntax error. */
-/* #undef _UINT32_T */
-
-/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
- <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
- #define below would cause a syntax error. */
-/* #undef _UINT64_T */
-
-/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
- <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
- #define below would cause a syntax error. */
-/* #undef _UINT8_T */
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define to `__inline__' or `__inline' if that's what the C compiler
- calls it, or to nothing if 'inline' is not supported under any name. */
-#ifndef __cplusplus
-/* #undef inline */
-#endif
-
-/* Define to the type of a signed integer type of width exactly 32 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef int32_t */
-
-/* Define to the type of a signed integer type of width exactly 64 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef int64_t */
-
-/* Define to rpl_malloc if the replacement function should be used. */
-/* #undef malloc */
-
-/* Define to rpl_realloc if the replacement function should be used. */
-/* #undef realloc */
-
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-/* #undef size_t */
-
-/* Define to the type of an unsigned integer type of width exactly 16 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef uint16_t */
-
-/* Define to the type of an unsigned integer type of width exactly 32 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef uint32_t */
-
-/* Define to the type of an unsigned integer type of width exactly 64 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef uint64_t */
-
-/* Define to the type of an unsigned integer type of width exactly 8 bits if
- such a type exists and the standard includes do not define it. */
-/* #undef uint8_t */
-
-#if HAVE_STDBOOL_H
-#include <stdbool.h>
-#else
-#define bool char
-#define false 0
-#define true 1
-#endif
-
-#ifdef HAVE_INTTYPES_H
-#include <inttypes.h>
-#endif
-
#ifdef WITH_WSREP
/* only InnoDB tables will be replicated through binlog emulation */
- if (WSREP_EMULATE_BINLOG(thd) &&
- table->file->ht->db_type != DB_TYPE_INNODB &&
- !(table->file->ht->db_type == DB_TYPE_PARTITION_DB &&
- (((ha_partition*)(table->file))->wsrep_db_type() == DB_TYPE_INNODB)))
- // !strcmp(table->file->table_type(), "InnoDB"))
+ if (WSREP_EMULATE_BINLOG(thd) &&
+ table->file->ht->db_type != DB_TYPE_INNODB &&
+ !(table->file->ht->db_type == DB_TYPE_PARTITION_DB &&
+ (((ha_partition*)(table->file))->wsrep_db_type() == DB_TYPE_INNODB)))
{
- return 0;
- }
+ return 0;
+ }
+
+ /* enforce wsrep_max_ws_rows */
+ if (table->s->tmp_table == NO_TMP_TABLE)
+ {
+ thd->wsrep_affected_rows++;
+ if (wsrep_max_ws_rows &&
+ thd->wsrep_exec_mode != REPL_RECV &&
+ thd->wsrep_affected_rows > wsrep_max_ws_rows)
+ {
+ trans_rollback_stmt(thd) || trans_rollback(thd);
+ my_message(ER_ERROR_DURING_COMMIT, "wsrep_max_ws_rows exceeded", MYF(0));
+ return ER_ERROR_DURING_COMMIT;
+ }
+ }
#endif /* WITH_WSREP */
if (check_table_binlog_row_based(thd, table))
{
if (unlikely(error= binlog_log_row(table, 0, buf, log_func)))
DBUG_RETURN(error); /* purecov: inspected */
-#ifdef WITH_WSREP
- current_thd->wsrep_affected_rows++;
- if (wsrep_max_ws_rows &&
- current_thd->wsrep_exec_mode != REPL_RECV &&
- current_thd->wsrep_affected_rows > wsrep_max_ws_rows)
- {
- trans_rollback_stmt(current_thd) || trans_rollback(current_thd);
- my_message(ER_ERROR_DURING_COMMIT, "wsrep_max_ws_rows exceeded", MYF(0));
- DBUG_RETURN(ER_ERROR_DURING_COMMIT);
- }
-#endif /* WITH_WSREP */
DEBUG_SYNC_C("ha_write_row_end");
DBUG_RETURN(0);
return error;
if (unlikely(error= binlog_log_row(table, old_data, new_data, log_func)))
return error;
-#ifdef WITH_WSREP
- current_thd->wsrep_affected_rows++;
- if (wsrep_max_ws_rows &&
- current_thd->wsrep_exec_mode != REPL_RECV &&
- current_thd->wsrep_affected_rows > wsrep_max_ws_rows)
- {
- trans_rollback_stmt(current_thd) || trans_rollback(current_thd);
- my_message(ER_ERROR_DURING_COMMIT, "wsrep_max_ws_rows exceeded", MYF(0));
- return ER_ERROR_DURING_COMMIT;
- }
-#endif /* WITH_WSREP */
return 0;
}
return error;
if (unlikely(error= binlog_log_row(table, buf, 0, log_func)))
return error;
-#ifdef WITH_WSREP
- current_thd->wsrep_affected_rows++;
- if (wsrep_max_ws_rows &&
- current_thd->wsrep_exec_mode != REPL_RECV &&
- current_thd->wsrep_affected_rows > wsrep_max_ws_rows)
- {
- trans_rollback_stmt(current_thd) || trans_rollback(current_thd);
- my_message(ER_ERROR_DURING_COMMIT, "wsrep_max_ws_rows exceeded", MYF(0));
- return ER_ERROR_DURING_COMMIT;
- }
-#endif /* WITH_WSREP */
return 0;
}
opt_logname= opt_update_logname= opt_binlog_index_name= opt_slow_logname= 0;
opt_tc_log_file= (char *)"tc.log"; // no hostname in tc_log file name !
opt_secure_auth= 0;
- opt_secure_file_priv= NULL;
opt_myisam_log= 0;
mqh_used= 0;
kill_in_progress= 0;
char buff1[FN_REFLEN], buff2[FN_REFLEN];
size_t opt_secure_file_priv_len;
/*
- All paths are secure if opt_secure_file_path is 0
+ All paths are secure if opt_secure_file_priv is 0
*/
- if (!opt_secure_file_priv)
+ if (!opt_secure_file_priv[0])
return TRUE;
opt_secure_file_priv_len= strlen(opt_secure_file_priv);
if (strlen(path) >= FN_REFLEN)
return FALSE;
+ if (!my_strcasecmp(system_charset_info, opt_secure_file_priv, "NULL"))
+ return FALSE;
+
if (my_realpath(buff1, path, 0))
{
/*
}
+/**
+ check_secure_file_priv_path : Checks path specified through
+ --secure-file-priv and raises warning in following cases:
+ 1. If path is empty string or NULL and mysqld is not running
+ with --bootstrap mode.
+ 2. If path can access data directory
+ 3. If path points to a directory which is accessible by
+ all OS users (non-Windows build only)
+
+ It throws error in following cases:
+
+ 1. If path normalization fails
+ 2. If it can not get stats of the directory
+
+ @params NONE
+
+ Assumptions :
+ 1. Data directory path has been normalized
+ 2. opt_secure_file_priv has been normalized unless it is set
+ to "NULL".
+
+ @returns Status of validation
+ @retval true : Validation is successful with/without warnings
+ @retval false : Validation failed. Error is raised.
+*/
+
+bool check_secure_file_priv_path()
+{
+ char datadir_buffer[FN_REFLEN+1]={0};
+ char plugindir_buffer[FN_REFLEN+1]={0};
+ char whichdir[20]= {0};
+ size_t opt_plugindir_len= 0;
+ size_t opt_datadir_len= 0;
+ size_t opt_secure_file_priv_len= 0;
+ bool warn= false;
+ bool case_insensitive_fs;
+#ifndef _WIN32
+ MY_STAT dir_stat;
+#endif
+
+ if (!opt_secure_file_priv[0])
+ {
+ if (opt_bootstrap)
+ {
+ /*
+ Do not impose --secure-file-priv restriction
+ in --bootstrap mode
+ */
+ sql_print_information("Ignoring --secure-file-priv value as server is "
+ "running with --bootstrap.");
+ }
+ else
+ {
+ sql_print_warning("Insecure configuration for --secure-file-priv: "
+ "Current value does not restrict location of generated "
+ "files. Consider setting it to a valid, "
+ "non-empty path.");
+ }
+ return true;
+ }
+
+ /*
+ Setting --secure-file-priv to NULL would disable
+ reading/writing from/to file
+ */
+ if(!my_strcasecmp(system_charset_info, opt_secure_file_priv, "NULL"))
+ {
+ sql_print_information("--secure-file-priv is set to NULL. "
+ "Operations related to importing and exporting "
+ "data are disabled");
+ return true;
+ }
+
+ /*
+ Check if --secure-file-priv can access data directory
+ */
+ opt_secure_file_priv_len= strlen(opt_secure_file_priv);
+
+ /*
+ Adds dir seperator at the end.
+ This is required in subsequent comparison
+ */
+ convert_dirname(datadir_buffer, mysql_unpacked_real_data_home, NullS);
+ opt_datadir_len= strlen(datadir_buffer);
+
+ case_insensitive_fs=
+ (test_if_case_insensitive(datadir_buffer) == 1);
+
+ if (!case_insensitive_fs)
+ {
+ if (!strncmp(datadir_buffer, opt_secure_file_priv,
+ opt_datadir_len < opt_secure_file_priv_len ?
+ opt_datadir_len : opt_secure_file_priv_len))
+ {
+ warn= true;
+ strcpy(whichdir, "Data directory");
+ }
+ }
+ else
+ {
+ if (!files_charset_info->coll->strnncoll(files_charset_info,
+ (uchar *) datadir_buffer,
+ opt_datadir_len,
+ (uchar *) opt_secure_file_priv,
+ opt_secure_file_priv_len,
+ TRUE))
+ {
+ warn= true;
+ strcpy(whichdir, "Data directory");
+ }
+ }
+
+ /*
+ Don't bother comparing --secure-file-priv with --plugin-dir
+ if we already have a match against --datadir or
+ --plugin-dir is not pointing to a valid directory.
+ */
+ if (!warn && !my_realpath(plugindir_buffer, opt_plugin_dir, 0))
+ {
+ convert_dirname(plugindir_buffer, plugindir_buffer, NullS);
+ opt_plugindir_len= strlen(plugindir_buffer);
+
+ if (!case_insensitive_fs)
+ {
+ if (!strncmp(plugindir_buffer, opt_secure_file_priv,
+ opt_plugindir_len < opt_secure_file_priv_len ?
+ opt_plugindir_len : opt_secure_file_priv_len))
+ {
+ warn= true;
+ strcpy(whichdir, "Plugin directory");
+ }
+ }
+ else
+ {
+ if (!files_charset_info->coll->strnncoll(files_charset_info,
+ (uchar *) plugindir_buffer,
+ opt_plugindir_len,
+ (uchar *) opt_secure_file_priv,
+ opt_secure_file_priv_len,
+ TRUE))
+ {
+ warn= true;
+ strcpy(whichdir, "Plugin directory");
+ }
+ }
+ }
+
+
+ if (warn)
+ sql_print_warning("Insecure configuration for --secure-file-priv: "
+ "%s is accessible through "
+ "--secure-file-priv. Consider choosing a different "
+ "directory.", whichdir);
+
+#ifndef _WIN32
+ /*
+ Check for --secure-file-priv directory's permission
+ */
+ if (!(my_stat(opt_secure_file_priv, &dir_stat, MYF(0))))
+ {
+ sql_print_error("Failed to get stat for directory pointed out "
+ "by --secure-file-priv");
+ return false;
+ }
+
+ if (dir_stat.st_mode & S_IRWXO)
+ sql_print_warning("Insecure configuration for --secure-file-priv: "
+ "Location is accessible to all OS users. "
+ "Consider choosing a different directory.");
+#endif
+ return true;
+}
+
static int fix_paths(void)
{
char buff[FN_REFLEN],*pos;
+ bool secure_file_priv_nonempty= false;
convert_dirname(mysql_home,mysql_home,NullS);
/* Resolve symlinks to allow 'mysql_home' to be a relative symlink */
my_realpath(mysql_home,mysql_home,MYF(0));
/*
Convert the secure-file-priv option to system format, allowing
a quick strcmp to check if read or write is in an allowed dir
- */
- if (opt_secure_file_priv)
+ */
+ if (opt_bootstrap)
+ opt_secure_file_priv= EMPTY_STR.str;
+ secure_file_priv_nonempty= opt_secure_file_priv[0] ? true : false;
+
+ if (secure_file_priv_nonempty && strlen(opt_secure_file_priv) > FN_REFLEN)
{
- if (*opt_secure_file_priv == 0)
- opt_secure_file_priv= NULL;
- else
+ sql_print_warning("Value for --secure-file-priv is longer than maximum "
+ "limit of %d", FN_REFLEN-1);
+ return 1;
+ }
+
+ memset(buff, 0, sizeof(buff));
+ if (secure_file_priv_nonempty &&
+ my_strcasecmp(system_charset_info, opt_secure_file_priv, "NULL"))
+ {
+ int retval= my_realpath(buff, opt_secure_file_priv, MYF(MY_WME));
+ if (!retval)
{
- if (strlen(opt_secure_file_priv) >= FN_REFLEN)
- opt_secure_file_priv[FN_REFLEN-1]= '\0';
- if (my_realpath(buff, opt_secure_file_priv, 0))
+ convert_dirname(secure_file_real_path, buff, NullS);
+#ifdef WIN32
+ MY_DIR *dir= my_dir(secure_file_real_path, MYF(MY_DONT_SORT+MY_WME));
+ if (!dir)
{
- sql_print_warning("Failed to normalize the argument for --secure-file-priv.");
- return 1;
+ retval= 1;
}
- convert_dirname(secure_file_real_path, buff, NullS);
- opt_secure_file_priv= secure_file_real_path;
+ else
+ {
+ my_dirend(dir);
+ }
+#endif
}
+
+ if (retval)
+ {
+ char err_buffer[FN_REFLEN];
+ my_snprintf(err_buffer, FN_REFLEN-1,
+ "Failed to access directory for --secure-file-priv."
+ " Please make sure that directory exists and is "
+ "accessible by MySQL Server. Supplied value : %s",
+ opt_secure_file_priv);
+ err_buffer[FN_REFLEN-1]='\0';
+ sql_print_error("%s", err_buffer);
+ return 1;
+ }
+ opt_secure_file_priv= secure_file_real_path;
}
+ if (!check_secure_file_priv_path())
+ return 1;
+
return 0;
}
if (check_access(thd, UPDATE_ACL, "mysql", NULL, NULL, 1, 1) &&
check_global_access(thd, CREATE_USER_ACL))
break;
+ WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL)
/* Conditionally writes to binlog */
if (!(res= mysql_user_password_expire(thd, lex->users_list)))
my_ok(thd);
"Limit LOAD DATA, SELECT ... OUTFILE, and LOAD_FILE() to files "
"within specified directory",
READ_ONLY GLOBAL_VAR(opt_secure_file_priv),
- CMD_LINE(REQUIRED_ARG), IN_FS_CHARSET, DEFAULT(0));
+#ifndef EMBEDDED_LIBRARY
+ CMD_LINE(REQUIRED_ARG), IN_FS_CHARSET, DEFAULT(DEFAULT_SECURE_FILE_PRIV_DIR));
+#else
+ CMD_LINE(REQUIRED_ARG), IN_FS_CHARSET, DEFAULT(DEFAULT_SECURE_FILE_PRIV_EMBEDDED_DIR));
+#endif
static bool fix_server_id(sys_var *self, THD *thd, enum_var_type type)
{
install -d $RBR%{_libdir}
install -d $RBR%{_mandir}
install -d $RBR%{_sbindir}
+install -d $RBR/var/lib/mysql-files
mkdir -p $RBR%{_sysconfdir}/my.cnf.d
%attr(755, root, root) %{_sysconfdir}/init.d/mysql
# %%attr(755, root, root) %%{_datadir}/mysql/ ## Contained in "plugins.files", see "%%install" code
%dir %attr(755, mysql, mysql) /var/lib/mysql
+%dir %attr(750, mysql, mysql) /var/lib/mysql-files
# ----------------------------------------------------------------------------
%files -n mysql-wsrep-client%{product_suffix}
-/* Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
+/* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
const_cast<char*>("--log_syslog=0"),
const_cast<char*>("--explicit_defaults_for_timestamp"),
const_cast<char*>("--datadir=" DATA_DIR),
+ const_cast<char*>("--secure-file-priv=NULL"),
const_cast<char*>("--lc-messages-dir=" ERRMSG_DIR), 0 };
- set_remaining_args(5, argv);
+ set_remaining_args(6, argv);
mysql_mutex_init(key_LOCK_error_log, &LOCK_error_log, MY_MUTEX_INIT_FAST);
system_charset_info= &my_charset_utf8_general_ci;
sys_var_init();