You are not logged in.

#1 2017-02-21 09:30:49

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

[SOLVED] MySQL (mariadb) configuration folder location

In the book "Getting started with Maria DB" on the page 21, author states that

/etc/mysql/conf.d

is one of a very important MySQL configuration folders with configuration files. I can't find this folder on my archlinux. Does anyone know where it is?

Here is a screenshot:
2017-02-21102951.png

Last edited by 71GA (2017-02-21 09:56:18)


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

#2 2017-02-21 09:54:28

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: [SOLVED] MySQL (mariadb) configuration folder location

It's probably a particular distro which is used in that book.
In arch, I see that the conf dirs are the following:

https://git.archlinux.org/svntogit/pack … es/mariadb

-DINSTALL_SYSCONFDIR=/etc/mysql \
-DINSTALL_SYSCONF2DIR=/etc/mysql \

I think you may use " !include " for files or " !includedir " for entire folders to achieve your conf.d configuration folder.
The only reason for using this would be if you have a pretty complex DB and you would like to have separate files for particular settings in it.
Otherwise, it's enough to use /etc/mysql/my.conf


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#3 2017-02-21 09:56:02

71GA
Member
From: Slovenia
Registered: 2012-09-15
Posts: 282

Re: [SOLVED] MySQL (mariadb) configuration folder location

Thank you very much. I marked this as solved.


C, ARM, ARM assembly, HTML, CSS, JS, Linux

Offline

Board footer

Powered by FluxBB