MySQL Forums :: Newbie :: Error #1064 SQL syntax at line 1 - strange characters


Advanced Search

Error #1064 SQL syntax at line 1 - strange characters
Posted by: Wendy Cockcroft ()
Date: September 02, 2011 09:50AM

Hi there, I've been trying unsuccessfully to import a database from a dump file to my new host. Whenever I try using mySQL, I get this error message:

Error

SQL query:

-- MySQL dump 10.11
--
-- Host: wendycockcroftwebdes.ipagemysql.com Database: wendycoc_pd-- ------------------------------------------------------
-- Server version 5.0.92-community
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

There are no such characters there. The old DB was UTF8 and the new one is UTF8 so it can't be the character set, can it? What am I doing wrong?

Options: ReplyQuote


Subject Written By Posted
Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/02/2011 09:50AM
Re: Error #1064 SQL syntax at line 1 - strange characters Peter Brawley 09/02/2011 10:21AM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/02/2011 10:25AM
Re: Error #1064 SQL syntax at line 1 - strange characters Peter Brawley 09/02/2011 11:28AM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/03/2011 05:41AM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/03/2011 05:53AM
Re: Error #1064 SQL syntax at line 1 - strange characters Rick James 09/04/2011 11:34PM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/05/2011 02:44AM
Re: Error #1064 SQL syntax at line 1 - strange characters Josh Goldberg 09/05/2011 02:51AM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/05/2011 02:57AM
Re: Error #1064 SQL syntax at line 1 - strange characters Ryan Albert Rucas 09/05/2011 10:52AM
Re: Error #1064 SQL syntax at line 1 - strange characters Rick James 09/07/2011 09:43AM
Re: Error #1064 SQL syntax at line 1 - strange characters Wendy Cockcroft 09/07/2011 09:58AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.