【问题标题】:mysql not starting in Ubuntu 16.04.1 LTSmysql 未在 Ubuntu 16.04.1 LTS 中启动
【发布时间】:2016-12-06 08:39:33
【问题描述】:

sudo systemctl start mysql 命令返回以下错误

mysql.service 的作业失败,因为控制进程退出 错误代码。请参阅“systemctl status mysql.service”和“journalctl -xe” 了解详情。

【问题讨论】:

  • 你试过systemctl status mysql.servicejournalctl -xe吗?他们告诉了你什么?
  • 错误信息是什么?
  • mysql.service:主进程退出,code=exited,status=1/FAILURE
  • [错误] 未知变量 'key_buffer=16M'
  • 我的 /etc/mysql/my.cnf 文件中有“key_buffer”、“myisam-recover”和“thread_concurrency”的条目与 mysql 5.7 不兼容。刚刚评论了这些及其按预期工作。

标签: mysql linux ubuntu


【解决方案1】:

在我的 /etc/mysql/my.cnf 文件中有“key_buffer”、“myisam-recover”和“thread_concurrency”的条目与 mysql 5.7 不兼容。刚刚评论了这些及其按预期工作。 – 扎卡利亚

【讨论】:

    猜你喜欢
    • 2017-01-27
    • 1970-01-01
    • 1970-01-01
    • 2017-04-02
    • 1970-01-01
    • 2019-03-20
    • 1970-01-01
    • 2017-11-11
    • 1970-01-01
    相关资源
    最近更新 更多