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

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -