[Devel] Environment variable name consistency

Dan Pascu dan at ag-projects.com
Mon Feb 5 15:40:27 CET 2007


Forgot one:

openserctl has DBROOTUSER
mysqldb.sh has SQL_USER (should be renamed to DBROOTUSER)

On Monday 05 February 2007 16:32, Dan Pascu wrote:
> In openserctl we have these database related env variables:
>
> DBHOST
> DBNAME
> DBROUSER
> DBRWUSER
> DBROPW
> DBRWPW
>
> while in mysqldb.sh we have these:
>
> DBHOST
> DBNAME
> DBROUSER
> DBRWUSER
> RO_PW
> DEFAULT_PW
>
> To increase consistency and to allow one to put the database related
> settings in a single config file which can then be included from the
> settings files of both tools, I propose to rename RO_PW to DBROPW and
> DEFAULT_PW to DBRWPW

-- 
Dan



More information about the Devel mailing list