Link to home
Start Free TrialLog in
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?
ASKER CERTIFIED SOLUTION
Avatar of Tomas Helgi Johannsson
Tomas Helgi Johannsson
Flag of Iceland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marrowyung
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
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
tks. let me try and get back to you if any !
is it possible for the command to show me the cnf file MysQL/MariaDB is not using at all but just some rubblish files ?
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.
User generated image
so which one is ..?
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
"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 ?
I found whereis command also ok.