Knowledge Update

MariaDB Sandbox Mode

Today I ran into a problem I’ve never seen before when moving MariaDB databases between systems.

ERROR at line 1: Unknown command '\\-'.

Quickly searching on Perplexity revealed the problem. There was a dump file compatibility change in MariaDB which introduces a new directive on the first line of a dump file to disable the execution of shell commands:

/*!999999\- enable the sandbox mode */

There are several remedies available.

Leave a Reply

Your email address will not be published. Required fields are marked *

More Technology Knowledge Updates…