Comments - Multiple DB instances - in multiple cnf files

8 years, 8 months ago Federico Razzoli

Yes, you can use the --defaults-group-suffix=<filepath> option at startup.

Another method is using a configuration file for each instance. You specify the config ifile with --defaults-file=<filepath> option.

If you want to have a file for each instance, plus a common file in /etc/mysql, you can use --defaults-extra-file=<filepath> option. Options that are written in the extra file overrides override the common file.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.