mariadb recent update

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

mariadb recent update

Postby adhefe » Nov 8th, '20, 17:40

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):
adhefe
 
Posts: 125
Joined: Mar 11th, '19, 02:08

Re: mariadb recent update

Postby doktor5000 » Nov 8th, '20, 18:37

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16233
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: mariadb recent update

Postby adhefe » Nov 8th, '20, 20:00

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,
adhefe
 
Posts: 125
Joined: Mar 11th, '19, 02:08

Re: mariadb recent update

Postby doktor5000 » Nov 8th, '20, 22:02

Well, MariaDB server is not running, so you can't be using it.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16233
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: mariadb recent update

Postby adhefe » Nov 8th, '20, 23:27

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
adhefe
 
Posts: 125
Joined: Mar 11th, '19, 02:08


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest