MySQL Error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
box

MySQL Error

Post by box »

On Widows 2000 Advance Server with IIS
my MySQL Server working OK
When I start execute queri form a file cati.sql with SQLyog
I got this message:

Code: Select all

-- MySQL dump 9.08
--
-- Host: localhost    Database: dev_cacti_2
---------------------------------------------------------
-- Server version	4.0.14-standard

--
-- Table structure for table 'cdef'
--

CREATE TABLE cdef (
  id mediumint(8) unsigned NOT NULL auto_increment,
  name varchar(255) NOT NULL default '',
  PRIMARY KEY  (id),
  UNIQUE KEY ID (id),
  KEY id_2 (id)
) TYPE=MyISAM

Error : 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 '---------------------------------------------------------
-- Se
:(
SiRiC
Posts: 29
Joined: Mon Sep 15, 2003 7:54 am
Location: Barbados

Post by SiRiC »

Edit the cacti.sql file and remove all the lines before

CREATE table cdef (



That should work.
Thx
SiRiC
branbell

thank you SiRiC

Post by branbell »

SiRiC,

Thanks! This did the trick
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest