Thursday, March 8, 2012

Cant create table

I have just installed Mysql on winXP.

When I get to the mysql promt and type:

create table mytable(id int);

I get this error:

ERROR 1046 <3D000>: No database selected

It seems that I need to create a database first, but I was told this was not
necessary to create a table, is this right?You'll probably get a better response in a MySQL forum - this
newsgroup is for Microsoft SQL Server.

http://www.google.com/search?source...ySQL+ERROR+1046

Simon

No comments:

Post a Comment