View Single Post
Old 01-05-2008, 08:06 PM   #24 (permalink)
SOCK
The Acquainted
 
Join Date: Nov 2007
Posts: 154
Thanks: 31
SOCK is on a distinguished road
Default

Quote:
Originally Posted by Aaron View Post
Actually, SOCK, when I create a table over another table I get an error saying there is already a table.
Yes, this is why I suggest using IF NOT EXISTS in your CREATE TABLE statement.

Quote:
Originally Posted by Aaron View Post
I also don't see the need for data types that are so peculiar... Saving space really isn't a problem in today's world.
No offense, but you don't plan on having many records in your database then, or want your application to work efficiently.

Quote:
Originally Posted by Aaron View Post
What is this engine=myisam?
wouldn't you want your default charset to be utf-8?
As VillageIdiot stated, it's the table type, whether InnoDB, MyISAM, HEAP, etc. Used to be MyISAM was the default table type, but has been replaced by InnoDB on most installations. Either one of these will serve you fine, but I prefer to use MyISAM on 'regular' tables I don't need any special constraints on. Thus I specify the table/engine type for each table.

As to the character set, if you want it set to UTF-8, that's fine. Please be aware, the default character set is usually latin1_swedish_ci, even if the server is set to UTF-8.

MySQL Manual : Character set support
SOCK is offline  
Reply With Quote
The Following User Says Thank You to SOCK For This Useful Post:
Aaron (01-05-2008)