新建表的时候报错mysql Tablespace exists
mysql> show global variables like "%datadir%";
+---------------+-----------------+
| Variable_name | Value |
+---------------+-----------------+
| datadir | /var/lib/mysql/ |
+---------------+-----------------+
1 row in set (0.03 sec)
去这个目录(/var/lib/mysql/ )下面找 表名.idb 文件,删除该.ibd文件文件后,再重新创建表就没有问题了