当前位置: 移动技术网 > IT编程>数据库>Mysql > 安装mysql时出现initialize specified but the data directory has files in in.Aborting.该如何解决

安装mysql时出现initialize specified but the data directory has files in in.Aborting.该如何解决

2019年03月01日  | 移动技术网IT编程  | 我要评论

eclipse中写入sql插入语句时,navicat中显示的出现乱码(???)。

在修改eclipse工作空间编码、navicate中的数据库编码、mysql中my.ini中的配置之后还是出现乱码。

然后把mysql、navicate全部卸载,下载新版本。

再重新配置mysql中,因为新建data里面有文件出现“initialize specified but the data directory has files in in.aborting.”

接着删除data里面的文件,修改my.ini中datadir的路径,改为data的路径。

最后配置成功。

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网