Avatar of marrowyung
marrowyung
 asked on

check out the location of the configuration files for MySQL InnodB cluster and MariaDB Galeria Cluster.

h


how I want to backup the MySQL InnodB cluster , MySQL router, MariaDB cluster and maxscale configuration file to other linux  VM so that can I setup the same cluster again , how can I know where is the updated location of the my.cnf, myrouter.cnf, server.cnf and maxscale.cnf?
LinuxVirtualization* MariaDBMySQL Server

Avatar of undefined
Last Comment
marrowyung

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Tomas Helgi Johannsson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
marrowyung

ASKER
"MariaDB/MySQL :  mysqld --help --verbose"

can the same command use to find the .cnf files ? how ?

at this moment just want to find out all .cnf !

tks.
SOLUTION
Tomas Helgi Johannsson

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
marrowyung

ASKER
tks. let me try and get back to you if any !
marrowyung

ASKER
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
marrowyung

ASKER
is it possible for the command to show me the cnf file MysQL/MariaDB is not using at all but just some rubblish files ?
marrowyung

ASKER
maxscale do not have that mysqld, so what should I do ?

how can I find the maxscale.cnf?



and when I do this to one :
mysqld --help --verbose | grep cnf

it seems gives me some other thing.
file location
so which one is ..?
Tomas Helgi Johannsson

Hi,

As I mentioned in earlier comment then

Usually these my.cnf files are under /etc , /etc/mysql/ or /etc/mysql.d/ or simlar folders in Linux.

For example MaxScale would be under /etc and/or the /etc/maxscale.cnf.d folder.

https://mariadb.com/kb/en/mariadb-maxscale-22-mariadb-maxscale-configuration-usage-scenarios/

Regards,
    Tomas Helgi
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
marrowyung

ASKER
"Usually these my.cnf files are under /etc , /etc/mysql/ or /etc/mysql.d/ or simlar folders in Linux."

actually what i meant is, as according to the output of the command, none of them are currect, I know where is the my.cnf now, it is none of this location.

any reason why ?
marrowyung

ASKER
I found whereis command also ok.