MySQL Forums
Forum List  »  Newbie

ERROR 1102 incorrect database name
Posted by: David Browne
Date: October 07, 2007 03:21PM

Hi there,

I am kinda new to mysql and am trying to follow a tutorial i found in a book

I have entered the following code to a file named websites.sql

drop table IF EXISTS websites;

create table websites (title char(50),
description char(50),
int integer primary key,)


insert into websites values
('Google Search Engine', 'The Worlds most popular Search Engine', 1);

insert into websites values
('Gmail', 'Webbased email from Google', 2);


When I attempt to load it by typing

mysql websistes.sql.........I get the following error messege


error 1102 (42000): Incorrect Database name 'C:\mydb\websites.sql

Please help thanks in advance

Options: ReplyQuote


Subject
Written By
Posted
ERROR 1102 incorrect database name
October 07, 2007 03:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.