MySQL Forums
Forum List  »  Newbie

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




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.