mysqld: mysqld: cannot execute binary file
Question
执行sh mysqld --user=mysql
时报错,mysqld: mysqld: cannot execute binary file
。
Solution
mysqld: mysqld: cannot execute binary file
说的很明白了。不能执行二进制文件。
### error
localhost:bin Sean$ sh mysqld --user=mysql
mysqld: mysqld: cannot execute binary file
### success
mysqld --user=mysql
### backup
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
还没有评论,来说两句吧...