When I edit that file (/etc/mysql/mariadb.conf.d/50-server.cnf) to change the value for datadir, it works, whereas changing it in my.cnf does not. So whatever option you are wanting to change, try looking for...
mysql_config — Display Options for Compiling Clients. my_print_defaults — Display Options from
Имейте в виду, что /etc/my.cnf и datadir/my.cnf могут перекрыть опцию командной строки
my.cnf. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears
my.cnf — это файл конфигурации MySQL. Чтобы найти файл, используйте команду
Open and review the /etc/mysql/my.cnf file. Comment lines, starting with #, document the use of the different settings. They show details about the location of log files, database files, and other details.
This article will explain the steps to view and edit your my.cnf file. We’ll also show you how to view your MySQL variables through SSH then how to access them in phpMyAdmin, where they can be edited.
You can configure MariaDB to run the way you want by configuring the server with MariaDB's option files. The default MariaDB option file is called my.cnf on Unix-like operating systems and...
4.1.2 Файл опций my.cnf. MySQL может, начиная с версии 3.22, читать заданные по умолчанию параметры запуска для клиентов и сервера из файлов опций.
Since my.cnf takes precedence over mysql.cnf that worked (I think I tried to symlink mysql.cnf to my my.cnf file, and there were other trouble, don't remember). (To be honest, didn't like much the...