Error when reading back dump file.

2004-12-22 Thread Song Ken Vern-E11804
Hi, I am using the cygwin version of the mysql client. When trying to read back my dump file into the database, I get this error [EMAIL PROTECTED]:/cygdrive/c/Program Files/mysql/data 23:15$ ../bin/mysql.exe -h 10.224.3.3 -u root -p testdb -e ./zztest.sql Enter password: ERROR

Re: Error when reading back dump file.

2004-12-22 Thread SGreen
The -e parameter is intended to allow you to directly execute a SQL statement. In this case the SQL statement you tried to execute was ./zztest.sql which is not valid SQL. You need to use the redirector to tell mysql to use the file you name as an input source. 23:15$ ../bin/mysql.exe -h