Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.5.25, 10.11.8, 10.6.18
-
None
Description
Latest MariaDB prepends sandbox mode enable command in the dumps:
$ mysqldump database_name | head -n 1
|
/*!999999\- enable the sandbox mode */
|
Dump with this prefix can not be restored when `--binary-mode` flag is used:
$ mysqldump database_name | mysql --binary-mode another_db
|
ERROR at line 1: Unknown command '\-'.
|
Is there a way to opt-out of sandbox mode when creating a dump?
Attachments
Issue Links
- is caused by
-
MDEV-33727 mariadb-dump trusts the server and does not validate the data
-
- Closed
-
- is duplicated by
-
MDEV-34395 Binary mode import breaks with /*!999999\- enable the sandbox mode */
-
- Closed
-
We've changed this recently, so the answer is longer than I'd prefer it to be. 11.1 and 11.2 are Short-Term Release, supported for one year (that's the short term). They aren't rolling and you should basically treat 11.1->11.4 as a major upgrade. Depending on your linux distro the package manager might refuse to do an automatic major upgrade.
11.3 and up (except 11.4) are rolling, indeed. If you decide to roll, the upgrade path is 11.3.2->11.4.2->11.5.2->11.6.2, this is minor upgrade, basically, packages should upgrade automatically.
11.4 is LTS, if you stay on it the upgrade path is 11.4.2->11.4.3->11.4.4... etc, these are patch upgrades, always were automatic.