出现错误:
[ERROR] InnoDB: Unable to lock ./ibdata1 error: 11
[Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
解决办法:
进入mysql文件夹
- 备份文件 ibdata1 、 ib_logfile0 、 ib_logfile1;
- 移除上述三个文件;
- 重启docker:mysql