[digiKam-users] What are correct permissions for /var/lib/mysql?

Gerhard Hoogterp gerhard at frappe.xs4all.nl
Tue Jan 29 19:17:15 GMT 2019


On dinsdag 29 januari 2019 20:00:47 CET Steven Gaffagan wrote:
> Greetings,
> 
> Installed digikam in Arch Linux. Set up mariadb and got it running. I am
> trying to use the internal server option for mariadb. However, when I
> launched digikam I received:
> 
> An error occurred during the internal server start.
> Details: Cannot create directory /var/lib/mysql/.mysql.digikam/db_data
> 
> I went back and created that: sudo /usr/bin/mysqld_safe
> --datadir='/var/lib/mysql/.mysql.digikam/db_data'
> 
> Still received same error message.
> 
> The owner and group of the file were mysql. Changing permissions: sudo
> chmod 777 -R mysql/ allowed digikam to launch without error.

would chown -R mysql:mysql /path/to/directory help?

https://askubuntu.com/questions/295457/mysql-datadir-on-different-hard-drive


-- 
https://gerhardhoogterp.nl/latest





More information about the Digikam-users mailing list