Import or migration of MySQL databases fails in Plesk ERROR at line 1: Unknown command '/-‘.

Follow

Comments

2 comments

  • Avatar
    Alessio De

    This error is also generated by the Plesk migrator, can you apply the workaround/fix directly in the Plesk Migrator code?

    0
    Comment actions Permalink
  • Avatar
    whtop.com

    Take a look over other options at https://mariadb.org/mariadb-dump-file-compatibility-change/

    Solution:

        Recommended: Import the dump using the secure client from a version of MariaDB Server that has the change.
        Use an older (insecure) version of mariadb-dump to take the backup.
        Remove the line at backup time with something like mariadb-dump|tail +2.
        Remove the line at import time with something like tail +2|mariadb.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request