Look at the output fromI installed MariaDB version 10.4.6 from the packages (pkg install) and although everything works I can't seem to find the my.cnf anywhere.
pkg info -l mariadb104-server
. Not all MariaDB/MySQL versions install a default my.cnf. There's nothing FreeBSD specific in the configs.or know where I can find a FreeBSD-tailored one?
pkg info -l
command but that seems to show every file that was added by the installer. Is that correct? If so then indeed no cnf file was included.There's nothing FreeBSD specific in the configs.
[mysqld]
# Basic Settings
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking