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

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -