mysql service fails to start/hangs up - timeout (Ubuntu, MariaDB)

前端 未结 10 1141
失恋的感觉
失恋的感觉 2020-12-08 00:46

I set up my first Ubuntu Server with Ubuntu 16.04, nginx, php7.0, MariaDB, nextcloud and external DynDNS using this tutorial here: Install Nextcloud 9 on Ubuntu 16.04

10条回答
  •  眼角桃花
    2020-12-08 01:26

    This last option worked for me (from quazgar). I have Ubuntu 18.10 installed with MariaDB 10.3.13:

    $ echo "/usr/sbin/mysqld { }" > /etc/apparmor.d/usr.sbin.mysqld
    $ apparmor_parser -v -R /etc/apparmor.d/usr.sbin.mysqld
    $ systemctl restart mariadb
    

    I had to use "sudo su" for it to work though.

提交回复
热议问题