Restore problem during database

Infos:

I get the following error when trying to restore the database using the zammad_restore.sh script

  • Used Zammad version: 6.3.1-1723444927.6c6b5571.bullseye
  • Used Zammad installation type: source
  • Operating system: debian bullseye 11
  • Browser + version: Firefox 128.3

Actual behavior:

Stopping Zammad
Restoring MySQL DB
Error at line 1: Unkown command ‘-’.

Steps to reproduce the behavior:

The first piece of information in the SQL dump file was the following line, which may have caused the restore error:
/M!999999*-** enable the sandbox mode */


Uhm…at glance looks like something else gets in the middle.
Does removing such first line allow you to perform a restore?

Yes, by removing this complete line I was able to restore the database.