报错信息:
Schema directory ‘./reggie’ already exists. This must be resolved manually (e.g. by moving the schema directory to another location)
解决方法
查看数据库位置
- 命令:show variables like ‘datadir’;
删除数据库
- 删除掉有问题的数据库
- 此方案仅适用于自己本地开发环境,相对简单粗暴,谨慎使用。
Schema directory ‘./reggie’ already exists. This must be resolved manually (e.g. by moving the schema directory to another location)