Errors restoring mysqldump backup
Posted: 28 Mar 2023, 14:53
I installed the new 0.9.7 and it went flawlessly. Wonderful.
However, as I go through normal commands to restore my data, I get new errors.
When I google my error it says that I have the SQL command wrong (?)
$ sudo mysql -u cats -p -f -D cats < dbackup.sql
but, I get:
ERROR 1064 (42000) at line 616: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' Current\n * Online Marketer at Indipendente (Sole Proprietorship...' at line 1
It looks like it hit some data, it didn't like and it coughed.
Have you seen anything like this before?
Is this a version mismatch from my database and a new version of MariaDB?
Did that bracket in my data throw off MariadB?
Even the -f switch is not letting me skip errors
Environment: Ubuntu server 22.04.2 LTS
MariaDB 15.1
However, as I go through normal commands to restore my data, I get new errors.
When I google my error it says that I have the SQL command wrong (?)
$ sudo mysql -u cats -p -f -D cats < dbackup.sql
but, I get:
ERROR 1064 (42000) at line 616: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' Current\n * Online Marketer at Indipendente (Sole Proprietorship...' at line 1
It looks like it hit some data, it didn't like and it coughed.
Have you seen anything like this before?
Is this a version mismatch from my database and a new version of MariaDB?
Did that bracket in my data throw off MariadB?
Even the -f switch is not letting me skip errors
Environment: Ubuntu server 22.04.2 LTS
MariaDB 15.1