That's what I used :
mysql testdb < exp. Sorry about the typo
Gene
--- Gerald Clark <[EMAIL PROTECTED]>
wrote:
>
>
> 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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php