mysql_secure_installation

Discussion in 'Installation/Configuration' started by dayjahone, Apr 11, 2018.

  1. dayjahone

    dayjahone Member

    I have ubuntu 17.10, and am trying to do the perfect setup. I got to the mysql_secure_installation and ran into problems. Now I get this:

    When I try to reinstall mariadb, I get the following
     
    Last edited: Apr 11, 2018
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you stop the database and try the install again, as suggested by the error messages? Also try
     
  3. dayjahone

    dayjahone Member

    Yes, I tried the following:
    and...

     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That server is in inconsistent state. Maybe boot it to single user mode, raise network and then apt-get --fix-broken install.
    I beleive you can test starting and stopping mysql while still in single user mode. Check that apt is fully happy with the situation before proceeding with other stuff.
     
  5. dayjahone

    dayjahone Member

    Can you tell me the specific commands? (Sorry, I'm not experienced.)
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Shut down the server (shutdown -h now).
    When computer boots, hold *both* Shift keys down.
    With luck this gives you GRUB menu where you can choose Rescue mode (I beleive it is called that in Ubuntu).
    https://wiki.ubuntu.com/RecoveryMode
     
  7. ahrasis

    ahrasis Well-Known Member

    If you are new, I would suggest that you start building your perfect server using Ubuntu 16.04 instead of 17.10 as the later has a very limited time support.
     

Share This Page