相关疑难解决方法(0)

由于 AppArmor,MySQL 无法启动?

我正在尝试在 Kubuntu 16.04 上安装 mysql-server-5.7,但遇到了问题。

sudo apt install mysql-server 给出以下输出。

Setting up mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ...
Renaming removed key_buffer and myisam-recover options (if present)
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
? mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since ons 2017-05-17 09:48:39 CEST; 10ms ago
  Process: 13622 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, …
Run Code Online (Sandbox Code Playgroud)

mysql apparmor 16.04

38
推荐指数
3
解决办法
6万
查看次数

标签 统计

16.04 ×1

apparmor ×1

mysql ×1