Unix Technical Forum

Can't create table

This is a discussion on Can't create table within the SQL Server forums, part of the Microsoft SQL Server category; --> I have just installed Mysql on winXP. When I get to the mysql promt and type: create table mytable(id ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 07:27 AM
JS
 
Posts: n/a
Default Can't 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?


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 07:27 AM
Simon Hayes
 
Posts: n/a
Default Re: Can't create table

You'll probably get a better response in a MySQL forum - this
newsgroup is for Microsoft SQL Server.

http://www.google.com/search?sourcei...SQL+ERROR+1046

Simon

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:00 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com