【mysql】[ERROR] --initialize specified but the data directory has files in it. Aborting.

这篇具有很好参考价值的文章主要介绍了【mysql】[ERROR] --initialize specified but the data directory has files in it. Aborting.。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

执行 mysqld --initialize

[ERROR] --initialize specified but the data directory has files in it. Aborting.
 

[错误]--指定了初始化,但数据目录中有文件。正在中止

--initialize specified but the data directory has files in it. aborting,mysql,mysql,数据库

清除掉 数据文件。

对应的目录 : /usr/local/mysql/data

查看现在目录内容:

--initialize specified but the data directory has files in it. aborting,mysql,mysql,数据库

把这些都删除掉。

然后重新执行:

mysqld --initialize

--initialize specified but the data directory has files in it. aborting,mysql,mysql,数据库

可以正常执行了。文章来源地址https://www.toymoban.com/news/detail-794761.html

到了这里,关于【mysql】[ERROR] --initialize specified but the data directory has files in it. Aborting.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • LateInitializationError: Field ‘data‘ has not been initialized.

    问题描述: LateInitializationError: Field \\\'data\\\' has not been initialized. 后期初始化错误:字段“数据”尚未初始化。  解决办法: 给data定义为空即可。 源代码: 修改后的代码: 参考链接:[Solved] LateInitializationError: Field has not been initialized 感谢群里的大佬提供的帮助!

    2024年02月13日
    浏览(32)
  • git pull Your configuration specifies to merge with the ref ‘refs/heads/xxxx‘ from the remote, but n

    Your configuration specifies to merge with the ref ‘refs/heads/xxxx’ from the remote, but no such ref was fetched.) 1.主要是因为网页上仓库fork别人的,更新了就没了分支,但是本地还有 2.需要切换到丢失的分支下,需要先解锁: 3.然后在执行git pull会有提示: 但是这样问题还不能根本性的解决:

    2024年02月04日
    浏览(47)
  • ERROR: your rosdep installation has not been initialized yet

    这个错误表示你的 rosdep 还没有初始化。rosdep 是一个 ROS 中的系统依赖管理工具,用于安装和配置需要的系统依赖包。在使用 rosdep 之前,需要先通过  rosdep update  命令初始化它。这个命令会连接远程服务器来更新 rosdep 的数据源,以获取所有支持的 ROS 版本和平台的依赖信息。所

    2024年02月09日
    浏览(35)
  • nginx报错[error] CreateFile() failed The system cannot find the file specified

    无论是 nginx -s stop 还是 nginx -s reload 命令,都会出现这个错误。 解决方法:使用命令创建/logs/nginx.pid文件 ,命令如下所示 之后 还是有问题,就想起网上看过的另一篇博文,把logs文件夹下的文件全部都删除了,再执行,发现生成了.pid文件,之后就可以运用命令行了。 值得一

    2024年02月11日
    浏览(33)
  • mysql:Error 3948 (42000): Loading local data is disabled; this must be enabled on both the client an

    上面图片是AI创作,未经允许,不可商用哦!如有更多需要,可私戳! 执行项目过程中意外出现的报错,之前也没有遇到过 报错信息如下: 翻译如下: 看报错信息感觉是和数据库有一定关系,网上搜索该错误,也都直指mysql中的一个参数: local_infile 需要指定该参数为开启状

    2024年02月02日
    浏览(33)
  • [ERROR] Error executing Maven.[ERROR] The specified user settings file does not exist:

    今天在导入JavaEE项目的时候运行时出现了以下错误: [ERROR] Error executing Maven. [ERROR] The specified user settings file does not exist: C:Usersmavenapache-maven-3.6.2-binapache-maven-3.6.2confsettings.xml  解决方法 两种,主要看自己使用的tomcat: 1、 File——Settings,选择正确的Maven安装路径。  2、 点

    2024年02月08日
    浏览(49)
  • STM32CUBE 安装报错 Error! Can‘t initialize plug-ins directory. Please try again later.

    Stm32Cube安装位置默认为C:user(用户名)…temp 打开C盘的用户(User)文件夹 搜索Temp 打开带有公用的Temp文件 并复制地址

    2024年02月12日
    浏览(36)
  • 【文献分享】Big data and benchmarking initiatives to bridge the gap from AlphaFold to drug design

    今天来精读一篇发在《Nature Chemical Biology》上的最新评论,题目为: Big data and benchmarking initiatives to bridge the gap from AlphaFold to drug design  原文链接如下: Big data and benchmarking initiatives to bridge the gap from AlphaFold to drug design | Nature Chemical Biology https://www.nature.com/articles/s41589-024-01570

    2024年03月28日
    浏览(41)
  • Error: The project seems to require yarn but it‘s not installed.

    今天把之前做过的vue项目拷贝到新电脑上,运行启动命令后发现报了如下错误:  我查了一下资料,我是这么解决的: 是因为项目中存在:yarn.lock 文件,先把这个文件删除掉。 把这个文件删除后,执行如下命令:  下载完成后重新启动文件。 有的时候遇到安装依赖装不上的

    2024年02月13日
    浏览(27)
  • nginx:[error]OpenEvent(“Global\ngx_reload_19792“)failed(2:The system cannot find the file specified)

    执行 nginx -s reload 命令后报错: 重新载入修改后的 Nginx 配置 Nginx 未启动 启动 Nginx,启动命令: start nginx ,启动 Nginx。

    2024年02月07日
    浏览(35)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包