When importing a database dump, you may encounter many errors like “Unexpected symbol"And / or"Unexpected start of expression", Which looks something like this: Please note that errors may vary.
These errors are the result of importing a zipped database dump, most often
.tar.gz... Such an import cannot be completed correctly, so there is no need to repeat it.
To solve the problem, unzip the archive and get a file in SQL format from it, and then import the resulting SQL file. This can be done in one of the following ways:
.tar.gzthe command to unpack into the same directory will look like this:
tar -zxvf name_archive.tar.gz