Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Environment variables inside config file (no replies)

$
0
0
Hi,

We are setup up a lot ofmysql DBs for several apps on several envs (Dev, Tst, Stg, Prd) and we were wondering if it is possible to use system environment variables inside file my.cnf to describe path value for example.

I've tried something like

datadir = ${CHROOT}/bamboo/data/mysql

but the variable is not expanded. Anyways to do this ? It works with Apache HTTPD.

Thx
--
Issa

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>