1. 报错提示:
3678 - Schema directory '. test' already exists. This must be resolved manually (e.g. by moving the
2. 查看数据库中是否存在该数据库:![](https://img-blog.csdnimg.cn/9188fc70f0b14fb7bb58721ea1bbad3d.png)
3. 验证数据库数据存放的地方
可以输入一下查看自己电脑中数据库数据存放的地址
show variables like '%datadir%';
4. 删除指定的文件之后就可以在数据库那边正常的新建了
3678 - Schema directory '. test' already exists. This must be resolved manually (e.g. by moving the
可以输入一下查看自己电脑中数据库数据存放的地址
show variables like '%datadir%';
4. 删除指定的文件之后就可以在数据库那边正常的新建了