我通过MacPorts安装了MySQL .我需要什么命令来停止服务器(我需要测试我的应用程序在MySQL死机时的行为)?
我正在尝试以安全模式启动MySQL,但日志文件只是继续吐出:
[ERROR] InnoDB: Unable to lock ./ibdata1 error: 35
[Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
Run Code Online (Sandbox Code Playgroud)
笔记:
我已经停止了所有mysql进程并使用该ps
命令进行了检查