sudo mysql_secure_installation : command not found

This answer help me and I've installed mysql-server-core-5.7 but I got an error :

sudo mysql_secure_installation : command not found 

Is mysql_secure not installed on ubuntu 16.04 - 64bit, with mysql-server-core-5.7 ?

How can I get it ?

2

1 Answer

It seems that I missed one step in the install. This page helped me identifying the missing step

I've double check it, and installed it on Ubuntu 16.04, and saw that it worked.

The full steps are:

  1. update your system

    sudo apt update
    sudo apt upgrade
  2. Install both - mysql client & server

    sudo apt install mysql-server mysql-client

Note: You need to type the password for the MySQL root user:

  1. Run mysql_secure_installation to secure your installation

    sudo mysql_secure_installation
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like