List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 12 2001 2:42pm
Subject:Re: error 1064
View as plain text  

Gene Gurevich wrote:

> Hi all:
> 
> I'm trying to import the tables from the dump file
> via 
> 
> mysqldump testdb < exp 

That should be:

mysql testdb < exp


> 
> and it complaints about the command in the export
> file:
> DROP TABLE IF EXISTS db;
> CREATE TABLE db (
>   Host char(60) NOT NULL default '',
>   Db char(64) NOT NULL default '',
>   User char(16) NOT NULL default '',
>   Select_priv enum('N','Y') NOT NULL default 'N',
>   Insert_priv enum('N','Y') NOT NULL default 'N',
>   Update_priv enum('N','Y') NOT NULL default 'N',
>   Delete_priv enum('N','Y') NOT NULL default 'N',
>   Create_priv enum('N','Y') NOT NULL default 'N',
>   Drop_priv enum('N','Y') NOT NULL default 'N',
>   Grant_priv enum('N','Y') NOT NULL default 'N',
>   References_priv enum('N','Y') NOT NULL default 'N',
>   Index_priv enum('N','Y') NOT NULL default 'N',
>   Alter_priv enum('N','Y') NOT NULL default 'N',
>   UNIQUE KEY Primary (Host,Db,User),
>   KEY User (User)
> ) TYPE=MyISAM MAX_ROWS=1000 PACK_KEYS=1
> 
> Specifically the last three lines. The file I'm using
> was created via mysqldump --add-drop-table
> --all-databases. I can't understand why a file created
> by a mysqldump can have any issues. Can anyone explain
> that for me? Is there a error search engine on
> mysql.com (something like oracle has on oracle.com)?
> 
> thanks in advance
> 
> 
> =====
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
> http://im.yahoo.com
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread85336@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Gerald L. Clark
gerald_clark@stripped

Thread
my.cnf optimization question ..Weslee Bilodeau10 Sep
  • Re: my.cnf optimization question ..Jeremy Zawodny11 Sep
  • Re: my.cnf optimization question ..Weslee Bilodeau11 Sep
    • error 1064Gene Gurevich12 Sep
      • Re: error 1064Gerald Clark12 Sep
        • Re: error 1064Gene Gurevich12 Sep
          • mysql to oracle conversionGene Gurevich12 Sep
            • Re: mysql to oracle conversionPaul DuBois12 Sep
    • Re: my.cnf optimization question ..Jeremy Zawodny13 Sep