PDA

View Full Version : Problems with mysql, plz plz help


Khranok
09-08-2002, 01:08 AM
i keep getting... "ERROR 1064: You have an error in your SQL syntax near 'source db.sql' at line 1" when I type source db.sql; even though I have the db.sql file in the "mysql\bin" folder which is where I read its meant to be... whats going on?
any advice would be great, thanks

DeletedUser
09-08-2002, 11:14 AM
Did you type use (db); first?

My mysql database is named eq so to sql i have to type:

use eq;
source db.sql;

That might not be the problem but only thing I can think of.

Khranok
09-08-2002, 01:00 PM
its OK Ive sorted it now, i needed to change the line... (1,'eqemu','eqemu',0,NULL,0);
to...
(1,'eqemu','eqemu','','',0,NULL,0);