mysql mac 실행
cd /usr/local/mysql/bin
sudo ./mysql -u root -p
show databases;
use 'databasename';
show tables;
create table 'tablename'( name date-type [aption]);
-data-type : tinyint | smallint | mediumint | int[unsigned] | integer | bigint | float | double | date | datetime | timestamp | time | year | char(M) | varchar(M) | tinytext | enum('value1','value2') | text | blob | mediumblob | mediumtext | longblob | longtext
- [option] : not null | auto_increment | primary key | etc