Good suggestion.  I'll make this change for next release.

On 11/5/13 2:40 PM, Laurence Rowe wrote:
>
> In src/encoded/edw_file.py:
>
> > @@ -98,7 +98,7 @@ def make_edw(data_host=None):
> >          host = data_host
> >      else:
> >          host = config.get(site, 'host')
> > -    db = config.get(site, 'db')
> > +    db = config.get(site, 'database')
> >      user = config.get(site, 'user')
>
> Ideally you should let mysql read the config file as per the example 
> here: 
> http://stackoverflow.com/questions/5344396/how-to-use-mysql-defaults-file-my-cnf-with-sqlalchemy
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/ENCODE-DCC/encoded/pull/47/files#r7448643>.
>