Is it an inconsistency, is there a problem in mariadB package?
After installation of mariaDB update, there is a message like this,
- Code: Select all
NOTE: MariaDB is installed without root password, it is recommended to set the root password with the following command as soon as possible:
# mysql_secure_installation press enter at each question except the new root password.
but if I try to follow this advice, no matter if I enter current root password or let it blank, I get,
- Code: Select all
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user. If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Enter current password for root (enter for none):