|
本帖最后由 happyplus 于 2014-5-23 16:34 编辑
mysql> show create table customer\G
*************************** 1. row ***************************
Table: customer
Create Table: CREATE TABLE `customer` (
`cusId` int(11) NOT NULL,
`gender` char(1) DEFAULT NULL,
PRIMARY KEY (`cusId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8
1 row in set (0.00 sec)
mysql> alter table customer engine=innodb;
ERROR 1050 (42S01): Table './bi_report/customer' already exists
mysql>
-bash-4.1$ ls -ltr customer.*
-rwxrwxrwx 1 mysql mysql 2048 Apr 4 2013 customer.MYI
-rwxrwxrwx 1 mysql mysql 32 Apr 4 2013 customer.MYD
-rwxrwxrwx 1 mysql mysql 8596 Apr 4 2013 customer.frm
|
|