right syntax to use – at line 1

How to solve the following error message:

right syntax to use near “a:4:{s:5:\“child\“;a:1:{s:0:\“\“;a:1:{s:3:\“rss\“;a:1:{i:0;a:6:{s:4:\“data\“;s:‘ at line 1

Solution

Don’t use phpmyadmin to import the mysqldump.

Try it over the command line with mysql. First create the user and the database, then import the file over the cli.

mysql -u username -p < mysqldump

This worked for me. Now my database was imported correctly

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Scroll to Top