Page 1 of 1

mariadb recent update

PostPosted: Nov 8th, '20, 17:40
by adhefe
Hi,
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):

Re: mariadb recent update

PostPosted: Nov 8th, '20, 18:37
by doktor5000
Do you actually use MariaDB? Because it seems like it's not running at all, and it is not started by default.

It's not really an inconsistency nor a problem, although a hint should be provided that to start mysql_secure_installation MariaDB needs to be running.
If you don't use MariaDB you can simply uninstall the server part. See also https://bugs.mageia.org/show_bug.cgi?id=26923

Re: mariadb recent update

PostPosted: Nov 8th, '20, 20:00
by adhefe
doktor5000 wrote:Do you actually use MariaDB?


Sorry about that but I thought it was used everywhere...
How do I know if I'm using it or not?

Thanks for the reply,

Re: mariadb recent update

PostPosted: Nov 8th, '20, 22:02
by doktor5000
Well, MariaDB server is not running, so you can't be using it.

Re: mariadb recent update

PostPosted: Nov 8th, '20, 23:27
by adhefe
systemctl status mysqld.service says it is loaded but inactive...

If I could simply uninstall the server part of it I'll do it

Thanks