I have a file named exampledb.dump which is in the apache\mysql\bin folder and i cant get it to insert the table data into my exampledb database.
I keep getting an error2 message.
in the mysql command i go: use exampledb;
then source C:\apache\mysql\bin\exampledb.dump;
I keep getting an error and i have checked my actual text file 3 times but i will post it below just incase.
CREATE TABLE clients ( id int NOT NULL AUTO_INCREMENT, firstname text, lastname text, userid text, password text, PRIMARY KEY (id), UNIQUE id (id));
INSERT INTO clients VALUES
(1,'Liz','Hall','lhall','sweatpea');
INSERT INTO clients VALUES
(2,'William','Lee','wlee','tulip');
INSERT INTO clients VALUES
(3,'Kevin','Hinds','khinds','daisy');
Any ideas???
I keep getting an error2 message.
in the mysql command i go: use exampledb;
then source C:\apache\mysql\bin\exampledb.dump;
I keep getting an error and i have checked my actual text file 3 times but i will post it below just incase.
CREATE TABLE clients ( id int NOT NULL AUTO_INCREMENT, firstname text, lastname text, userid text, password text, PRIMARY KEY (id), UNIQUE id (id));
INSERT INTO clients VALUES
(1,'Liz','Hall','lhall','sweatpea');
INSERT INTO clients VALUES
(2,'William','Lee','wlee','tulip');
INSERT INTO clients VALUES
(3,'Kevin','Hinds','khinds','daisy');
Any ideas???