No my.cnf file at all?

Polytropon freebsd at edvax.de
Sat Feb 1 20:10:32 UTC 2020


On Sat, 1 Feb 2020 23:02:44 +0300, Andreas X wrote:
> Hi Paul,
> 
> I did such search not only in /usr/local, but entire server. No, it seems
> they removed adding any .cnf file on the latest mariadb-server release.
> 
> Could someone verify that please?

The search for my.cnf or my.cnf.sample does not lead to any results
because MariaDB has a different naming convention (i. e., not the
".sample" suffix everyone else uses).

Try this:

	# find /usr/local -name my-default.cnf

As you have installed it as a port (and it doesn't belong to the
FreeBSD OS), the location beneath /usr/local is correct. I don't
know if the sample file is already in /usr/local/etc or maybe
/usr/local/etc/mysql, maybe you'll find it in /usr/local/share
somewhere.

Your actual configuration file /usr/local/etc/my.cnf can then be
created with the my-default.cnf template file.

More information here:

https://mariadb.com/kb/en/configuring-mariadb-with-option-files/



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list