On 02/01/2024 15:57, David W. Hodgins wrote:
Searching online suggests a configuration problem, but of what?
There's more than one place where the database files are stored.
The mysql command error is likely due to the system wide mysql server not running. The system wide database is normally stored in "/var/lib/mysql/" What does "systemctl status mysqld.service" show?
The digikam error is due to the digikam's own database, by default that
is a
mysql database stored in "~/Pictures/*.db".
I'm not sure how to go about upgrading the digikam sql db. The Mageia upgrade
procedure is not allowed to change files in /home, as the directories
there may
or may not be accessible during the upgrade. For example, I use sshfs to mount
a directory during my login. The root user cannot access any files or directories
in that mount.
Hi David, apologies for not replying sooner.
It's taken me a long while and lots of frustration to figure out what
has gone wrong, and try fixing the clean install. So I'll make it short.
I was booting between Mageia 8 and Mageia 9 copying over files I had
missed in archiving before I decided on the clean install. However, I
read a long time ago that it was advised that user IDs on install would
be changed from 1000 upwards. So some years ago I changed the user IDs
on the system to start from 1000.
Unknown to me (because it doesn't show in the installation screen IIRC), Mageia still makes the user 500. So logging in between the two, caused a
lot of mess in my /home drive, especially with the KDE plasma install.
As for the databases, I had a lot of problems getting MySql (MariaDB) to
work properly with sockets and a named server or 127.0.0.1. I had a lot
of "restarted server too fast, reached your limit" nonsense, which
eventually I figured could only be fixed with reboots. Permissions on
the directories weren't the only problem.
The databases themselves, Amarok was fine, the databases I made for my
work worked fine, but for some reason digikam database had lots of
issues that it was like fighting an oil fire. So I decided to rename it,
and start a new digikam database from scratch, losing tags and other information, but that's not a Critical problem.
I still need to sort Apache permissions, but that's a different problem.
I've since got an SSD enclosure so anything I need from the old install
I plug in to USB3 and avoid making any more mess of /home.
Thanks for your help and suggestions.
--- MBSE BBS v1.0.8.4 (Linux-x86_64)
* Origin: - (2:250/0@fidonet)