MySQL Forums
Forum List  »  Other Migration

help...trying to dump a db from 4.1.11 to server running 4.0.24...
Posted by: g
Date: July 04, 2005 03:57PM

i'm getting crazy errors...

here's my dump file:

*****************************
*****************************
-- MySQL dump 10.9
--
-- Host: localhost Database: ccc
-- ------------------------------------------------------
-- Server version 4.1.11

/*!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 */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `offers`
--

DROP TABLE IF EXISTS `offers`;
CREATE TABLE `offers` (
`offerID` int(4) unsigned zerofill NOT NULL auto_increment,
`offerHot` varchar(100) NOT NULL default '',
`offerName` varchar(100) NOT NULL default '',
`offerName2` varchar(100) NOT NULL default '',
`offerType1` varchar(100) NOT NULL default '',
`offerType2` text NOT NULL,
`offerLink` text NOT NULL,
`offerImgSmall` text NOT NULL,
`bannerImg` text NOT NULL,
`rightNavImg` text NOT NULL,
`offerPitch` text NOT NULL,
`offerTitle` text NOT NULL,
PRIMARY KEY (`offerID`)
) ENGINE=MyISAM;

--
-- Dumping data for table `offers`
--


/*!40000 ALTER TABLE `offers` DISABLE KEYS */;
LOCK TABLES `offers` WRITE;
INSERT INTO `offers` VALUES (

//dump info here (tables)

);
UNLOCK TABLES;
/*!40000 ALTER TABLE `offers` ENABLE KEYS */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

*****************************
*****************************
and here's the error i'm getting:
*****************************
*****************************
There is a chance that you may have found a bug in the SQL parser. Please examine your query closely, and check that the quotes are correct and not mis-matched. Other possible failure causes may be that you are uploading a file with binary outside of a quoted text area. You can also try your query on the MySQL command line interface. The MySQL server error output below, if there is any, may also help you in diagnosing the problem. If you still have problems or if the parser fails where the command line interface succeeds, please reduce your SQL query input to the single query that causes problems, and submit a bug report with the data chunk in the CUT section below:
----BEGIN CUT----
eNqdUMFugkAUPHe/Ypp4MuyyS8HKJk2kSNUExbLUHg3iJpKgULCm/TYP/aT+Qpeee+rkveRlMm/m
5UVpmqQSoUDoII5WEgIOHO4TlRn+Ski4URKDxV6ie6uavO10y6pyx5pDY13gMOfeyLlrC2FzD5xL
V0jPQ6WPPqKPBgOy/FTPsYTLOHNc8qJSJMpCMItWmYVNZGJeyxMWEUaMk/UykMZ1xARtKoes5+te
YiWqN7hjQuCp1fpRTUkcrGYS+kTLrqbjsedTQX6Dvq9flOI3Ffv3YwPBmU8oNYV53Z0lqrrIq4MZ
YTDNz/ku77REURS9hv4L/abS7UW3MN2V9enGZcIcTIg9vHW54AIqyjBJ4uk2nAdpEGZRujXUNowX
5hcPk8lfNIb2DwL9ar0=
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 1 2 209
STR: »

CVS: $Id: sqlparser.lib.php,v 2.27 2004/11/05 00:41:55 lem9 Exp $
MySQL: 4.0.24
USR OS, AGENT, VER: Win IE 6.0
PMA: 2.6.1-pl2
PHP VER,OS: 4.3.11 FreeBSD
LANG: en-iso-8859-1
SQL: -- MySQL dump 10.9
--
-- Host: localhost Database: ccc
-- ------------------------------------------------------
-- Server version 4.1.11

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
----END RAW----
SQL-query:

-- MySQL dump 10.9 -- -- Host: localhost Database: ccc -- ------------------------------------------------------ -- Server version 4.1.11 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
MySQL said:

#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 '-- MySQL dump 10.9
--
-- Host: localhost Database: ccc
*****************************
*****************************
please help!

- g

Options: ReplyQuote


Subject
Views
Written By
Posted
help...trying to dump a db from 4.1.11 to server running 4.0.24...
4360
g
July 04, 2005 03:57PM


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.