Page 1 of 1

Mariadb

Posted: 14. Aug 2023, 15:54
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

Re: Mariadb

Posted: 14. Aug 2023, 17:06
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.

Re: Mariadb

Posted: 14. Aug 2023, 17:56
by djemos

Re: Mariadb

Posted: 15. Aug 2023, 08:35
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.

Re: Mariadb

Posted: 16. Aug 2023, 14:32
by djemos
It is not out of date. You have to know how to do things on slackware.
wish you good luck.