Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2020 21:10:24 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Andreas X <hamdi20193d@gmail.com>
Cc:        Paul Pathiakis <pathiaki2@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: No my.cnf file at all?
Message-ID:  <20200201211024.ac11b2d8.freebsd@edvax.de>
In-Reply-To: <CAEW8WPtm1RGNtTjJ5sXCK%2Bk8QAe=xgSumh0DSh-kcUBLpBxcDg@mail.gmail.com>
References:  <CAEW8WPtad9RVyRs1P6BfjYmKCXctQiaXAA0_o39F_tY4ANWS2A@mail.gmail.com> <1065217562.310518.1580586031261@mail.yahoo.com> <CAEW8WPtm1RGNtTjJ5sXCK%2Bk8QAe=xgSumh0DSh-kcUBLpBxcDg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200201211024.ac11b2d8.freebsd>