Mariadb

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
SteveF48
Posts: 2
Joined: 14. Aug 2023, 15:42

Mariadb

Post by SteveF48 »

I want to use a MariaDB internal server with digikam.
I have downloaded MariaDB 11.2, but it fails when I try to use it. On a Windows PC that usually means that a different version of MariaDB is already running.
Salix seems to come with MaraDB 10.5, but I can't find anything in run/var/mysql. digikam needs to be shown where to find a script - mysql_install and two binaries mysqladmin and mysqld. Can anyone tell me where these are located for MariaDB 10.5?

Thanks in advance,
Steve
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Mariadb

Post by gapan »

Yes, you most probably have the mariadb package already installed. Run:

Code: Select all

service list
to see if mysqld service is already running.

You can start/stop services with:

Code: Select all

sudo service start/stop servicename
(or with the GUI interface, find it under the System menu)

MariaDB configuration is in /etc/my.cnf file and /etc/my.cnf.d/ directory.

The binaries are installed in /usr/bin. You can list the files in the package with:

Code: Select all

less /var/lib/pkgtools/packages/mariadb-10.5.18-x86_64-1_slack15.0
or within GSlapt if you want a GUI.
Image
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Mariadb

Post by djemos »

SteveF48
Posts: 2
Joined: 14. Aug 2023, 15:42

Re: Mariadb

Post by SteveF48 »

Thanks for ypur replies.
The version of MariaDB installed by Salix is 10.5, which I know causes problems with digikam.
The installation instructions djemo referred to seem to be out of date.
Today Salix has forgotten my password and won't let me start the package manager.
I give up.
I'm going to try a different distro.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Mariadb

Post by djemos »

It is not out of date. You have to know how to do things on slackware.
wish you good luck.
Post Reply