Is it possible to add customized key, value to MySQL config file my.cnf and use it with sql statements? -


our company has set of offices, each 1 have it's own local mysql database. of tables has field called office_name has default value current office name.

office_name="ny" 

is possible define office name in my.cnf, , value , use sql statements execute create tables default value office_name ?

also each office has own rations calculate things, possible define values in my.cnf file , them in side defined predicate or function


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -