[Maria-discuss] required mysql_upgrade; MDEV-14637
Hello, I have a questions regarding the warnings showing up at 10.2 and 10.3 releases: When upgrading from MariaDB 10.2.16 or earlier to MariaDB 10.2.17 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637. When upgrading from MariaDB 10.3.8 or earlier to MariaDB 10.3.9 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637. -- 1) The same applies for upgrading <=10.2.16 to >= 10.3.9, right? 2) Does it mean, it is impossible to use "dump and restore" technique, or it only means I need to run the mysql_upgrade afterwards? 3) The problem is not triggered when upgrading from 5.5, 10.0 and 10.1? 4) The problem is not triggered when upgrading to 10.4 ? -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat --
Am 28.03.19 um 11:16 schrieb Michal Schorm:
Hello, I have a questions regarding the warnings showing up at 10.2 and 10.3 releases:
When upgrading from MariaDB 10.2.16 or earlier to MariaDB 10.2.17 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637.
When upgrading from MariaDB 10.3.8 or earlier to MariaDB 10.3.9 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637.
--
1) The same applies for upgrading <=10.2.16 to >= 10.3.9, right?
2) Does it mean, it is impossible to use "dump and restore" technique, or it only means I need to run the mysql_upgrade afterwards?
3) The problem is not triggered when upgrading from 5.5, 10.0 and 10.1? 4) The problem is not triggered when upgrading to 10.4 ?
just run "mysql_upgrade" after each update and you are done our production datadirs date back to 2002, originally on windows then moved to MacOS and in 2008 to Fedora and i did not dump/restore a single time in my whole life, this is not postgresql
Hi, On 3/28/19 11:59 AM, Reindl Harald wrote:
our production datadirs date back to 2002, originally on windows then moved to MacOS and in 2008 to Fedora and i did not dump/restore a single time in my whole life, this is not postgresql
Just curiosity: does the above statement mean that you consider postgresql less stable than mariadb/mysql? And why..? MJ
On 03/04/2019 08:54, mj wrote:
Hi,
On 3/28/19 11:59 AM, Reindl Harald wrote:
our production datadirs date back to 2002, originally on windows then moved to MacOS and in 2008 to Fedora and i did not dump/restore a single time in my whole life, this is not postgresql
Just curiosity: does the above statement mean that you consider postgresql less stable than mariadb/mysql? And why..?
PostgreSQL until relatively recently (8.something) required you to dump and restore all your data for a major version upgrade. For some people this was an argument against using PostgreSQL. Vince
MJ
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
Am 03.04.19 um 09:54 schrieb mj:
On 3/28/19 11:59 AM, Reindl Harald wrote:
our production datadirs date back to 2002, originally on windows then moved to MacOS and in 2008 to Fedora and i did not dump/restore a single time in my whole life, this is not postgresql
Just curiosity: does the above statement mean that you consider postgresql less stable than mariadb/mysql? And why..?
beasue any application which can't read it's data after upgrade to a new version is f**g crap and pretty unusable when using as example distro-packages - when you forgot the dump with the old version your are fucked additionally that means you have downtimes nobody needs, a dist-upgrade here is a "dnf --releasever=xx distro-sync" for 11 years now followed by a reboot like for any kernel update with no downtimes again: my "mysql" database dates back to version 3.x, that's what i consider production quality
On 4/3/19 12:44 PM, Reindl Harald wrote:
beasue any application which can't read it's data after upgrade to a new version is f**g crap and pretty unusable when using as example distro-packages - when you forgot the dump with the old version your are fucked
That explains. Thank you. MJ
On Thu, Mar 28, 2019 at 11:16 AM Michal Schorm <mschorm@redhat.com> wrote:
Hello, I have a questions regarding the warnings showing up at 10.2 and 10.3 releases:
When upgrading from MariaDB 10.2.16 or earlier to MariaDB 10.2.17 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637.
When upgrading from MariaDB 10.3.8 or earlier to MariaDB 10.3.9 or higher, running mysql_upgrade is required due to changes introduced in MDEV-14637.
--
1) The same applies for upgrading <=10.2.16 to >= 10.3.9, right?
2) Does it mean, it is impossible to use "dump and restore" technique, or it only means I need to run the mysql_upgrade afterwards?
3) The problem is not triggered when upgrading from 5.5, 10.0 and 10.1? 4) The problem is not triggered when upgrading to 10.4 ?
I found a reply in the mailing list archive which haven't reached my inbox: From: Reindl Harald Date: Thu, 28 Mar 2019 11:59:50 +0100
just run "mysql_upgrade" after each update and you are done our production datadirs date back to 2002, originally on windows then moved to MacOS and in 2008 to Fedora and i did not dump/restore a single time in my whole life, this is not postgresql
My question is focused on the clarification in our downstream documentation. So while usually I'd be fine with personal experience, in this case, I'd prefer more in-depth answer covering. I'm forwarding this mail to devel mailing list. -- Michal Schorm Software Engineer Core Services - Databases Team Red Hat --
participants (4)
-
Michal Schorm
-
mj
-
Reindl Harald
-
Vincent Hoffman-Kazlauskas