Mysql service is not working when trying to install . OS - Ubuntu 16.04 LTS.

December 25, 2016 199 views
MySQL Ubuntu 16.04

I started a new vps , tried to install mysql . But it just hanging not working .

Setting up mysql-client-5.7 (5.7.16-0ubuntu0.16.04.1) ...
Setting up mysql-server-core-5.7 (5.7.16-0ubuntu0.16.04.1) ...
Setting up mysql-server-5.7 (5.7.16-0ubuntu0.16.04.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)

after this line its not working

  • What is being recorded in your /var/log/mysql/error.log file? The lines you shared don't indicate any issue but any errors are likely logged there.

  • Hi ryan,

    I had no errors showing . The installation doesnt move to other step. It just stopped in the last line . I waited for a few hours and the issue doesnt resolve .

    When I tried to use dpkg , it showed it was already being used , and killing and restarting dpkg and mysql resulted in error .

    So I deleted the droplet and started a LEMP pack and configured it

    Thanks for the comment
    Aswath KNM

Be the first one to answer this question.