Ben Francis
Sep 2, 2018 · 1 min read

So root is disabled as a user by default in Ubuntu so you need to add a step to enable it before running the secure database step.

— — — — — — — — — — — — —

Be aware that the root account is not active by default. You will need to do:

sudo passwd root

Then go ahead to set password. Use the root user using

su root

— — — — — — — — — — — — — — -

Then all good to follow the mariaDB security step and others after that.