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

前端 未结 10 1171
失恋的感觉
失恋的感觉 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:23

    The solution for me was to run the following:

    sudo killall mysqld
    

    If you are still experiencing this issue, run the command ps -aux | grep 'mysql'. if anything shows up, just kill it as well.

    Finally run:

    sudo systemctl restart mysql.service
    

提交回复
热议问题