mysqld: mysqld: cannot execute binary file

淡淡的烟草味﹌ 2022-05-22 08:41 455阅读 0赞

Question

执行sh mysqld --user=mysql时报错,mysqld: mysqld: cannot execute binary file


Solution

mysqld: mysqld: cannot execute binary file说的很明白了。不能执行二进制文件。

  1. ### error
  2. localhost:bin Sean$ sh mysqld --user=mysql
  3. mysqld: mysqld: cannot execute binary file
  4. ### success
  5. mysqld --user=mysql
  6. ### backup
  7. nohup mysqld --user=mysql > mysql.log 2>&1 &
  • 注: 有人问解决办法是啥? 解决办法是success标签内的方法 mysqld --user=mysql. 这样就可以常规启动了. backup是用来将启动命令写在脚本内, 并放置后台运行.

reference

[1]. (MY CSDN)mysqld: Too many arguments (first extra is ‘start’).
[2]. (Official)Re: Mysql cannot execute binary file

发表评论

表情:
评论列表 (有 0 条评论,455人围观)

还没有评论,来说两句吧...

相关阅读

    相关 mysqld-autocnf

    mysql 变量设置问题 mysql变量的术语分类: 1.用户变量:以"@"开始,形式为"@变量名" 用户变量跟mysql客户端是绑定的,设置的变量,只对当前用户使用