Creating mariadb database fails with mariadb-openrc 09 November 2024, 01:18:27 artix:[root]:~# /etc/init.d/mariadb setupmariadb | * Creating a new MySQL database ...mariadb |/bin/mysql_install_db: Deprecated program name. It will be removed in a future release, use 'mariadb-install-db' insteadmariadb |mariadb |FATAL ERROR: Could not find ./share/mysql/fill_help_tables.sqlmariadb |mariadb |If you compiled from source, you need to either run 'make install' tomariadb |copy the software into the correct location ready for operation.mariadb |If you don't want to do a full install, you can use the --srcdirmariadb |option to only install the mysql database and privilege tables.mariadb |mariadb |If you are using a binary release, you must either be at the topmariadb |level of the extracted archive, or pass the --basedir optionmariadb |pointing to that location.mariadb |mariadb |The latest information about mariadb-install-db is available atmariadb |https://mariadb.com/kb/en/installing-system-tables-mysql_install_db [ !! ]artix:[root]:~# ---------------------------------------------------------------------------------------------------------artix:[root]:~# rc-service mariadb startmariadb | * Datadir '/var/lib/mysql' is empty or invalid.mariadb | * Run '/etc/init.d/mariadb setup' to create new database.mariadb | * ERROR: mariadb failed to start----------------------------------------------------------------------------------------------------------artix:[root]:~# mariadb -u root@localhostERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)------------------------------------------------------------------------------------------------------------Maybe it did not find the correct directories ?I read also following guide,https://dev.to/sujit-shrc/mariadb-installation-made-easy-a-guide-for-arch-based-linux-users-19o4