mysql - SQL - #1064 - You have an error in your SQL syntax; -


i exported database, because changing server. want import sql dump, getting error:

#1064 - have error in sql syntax; check manual corresponds mariadb server version right syntax use near 'phpmyadmin sql dump  set sql_mode = "no_auto_value_on_zero"' @ line 1 

here begin of dump:

-- phpmyadmin sql dump -- version 4.0.5  -- http://www.phpmyadmin.net -- -- host: localhost -- czas wygenerowania: 28 cze 2016, 12:42 -- wersja serwera: 5.5.32-cll -- wersja php: 5.3.17  set sql_mode = "no_auto_value_on_zero"; set time_zone = "+00:00";   /*!40101 set @old_character_set_client=@@character_set_client */; /*!40101 set @old_character_set_results=@@character_set_results */; /*!40101 set @old_collation_connection=@@collation_connection */; /*!40101 set names utf8 */; 

are changing server types? (microsoft sql, mysql, postgres...) if so, affect how sql works. need use appropriate syntax sql version using.

#1064 - have error in sql syntax; check manual corresponds mariadb server version right syntax use near 'phpmyadmin sql dump 

on side note, error makes appear "--" throwing off import.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -