Hello! I used the 1-click install image to set up my blog on Digital Ocean. I am trying to go through the recommended server hardening and security steps but getting a permissions issue when I run mysql_secure_installation or sudo mysql_secure_installation. Here is full output:
$ sudo mysql_secure_installation
Securing the MySQL server deployment.
Enter password for user root:
Error: Access denied for user 'root'@'localhost' (using password: YES)
This happens when I run as root user, ghost-mgr, or a separate user I created- always access denied for user root@localhost even when I enter the correct password for the user or root. Any advice? Thanks in advance.
I think I couldn’t even run mysql since I didn’t have the password for the mysql user- it was called root but had different credentials than my Digital Ocean root user. All resolved now though!