If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > mysql/ how do i create a table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-02-06, 04:59
NoOneuk NoOneuk is offline
Registered User
 
Join Date: Jul 2006
Posts: 4
Red face mysql/ how do i create a table

hi
i have a compelately blank canverse.

i have no idea where to start
i no what i want but i canno work it out..

i am looking for a table that has

topic / views / replise / last poasted /

its the same as most forums i have been on
Reply With Quote
  #2 (permalink)  
Old 07-02-06, 06:06
divined divined is offline
Registered User
 
Join Date: Apr 2004
Posts: 110
I would suggest you pick up a good book on the SQL language for a start. What you need is the create command. Take a look at the following site :

Code:
http://sqlcourse.com/create.html
I suppose you have already connected to the mysql command interface using the mysql command.
Reply With Quote
  #3 (permalink)  
Old 07-02-06, 07:22
NoOneuk NoOneuk is offline
Registered User
 
Join Date: Jul 2006
Posts: 4
thank you for the quick responce

i have a book on php and mysql.. i need to read it again
thanks again i will be back
Reply With Quote
  #4 (permalink)  
Old 07-02-06, 07:23
NoOneuk NoOneuk is offline
Registered User
 
Join Date: Jul 2006
Posts: 4
Quote:
Originally Posted by divined
I would suggest you pick up a good book on the SQL language for a start. What you need is the create command. Take a look at the following site :

Code:
http://sqlcourse.com/create.html
I suppose you have already connected to the mysql command interface using the mysql command.
where would i do this?
Reply With Quote
  #5 (permalink)  
Old 07-02-06, 14:26
divined divined is offline
Registered User
 
Join Date: Apr 2004
Posts: 110
When you install MySQL there should be a utility called mysql. This can be called from the command line.

Enter the commands :

mysql -u root -p

and give the password of your root user. That password should have been set by you during the installation. In the environment you can enter SQL commands.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On