You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@apache.org> on 2004/09/10 20:56:46 UTC

Re: svn commit: rev 36230 - in gump/trunk: . bin cron log mysql python/gump python/gump/core python/gump/document python/gump/document/xdocs python/gump/java python/gump/model python/gump/mysql python/gump/notify python/gump/runner python/gump/shared pytho

> ajack@apache.org wrote:
>
> > +def configureDB():
> > +    conn = MySQLdb.Connect(
> > +        host='localhost', user='root',
> > +        passwd='', db='gump',compress=1,
> > +        cursorclass=MySQLdb.cursors.DictCursor)
>
> Why is user, passwd, and db hard coded in mysql/data.py?

That was probably test code, they are no longer hardcoded. They are
defaulted as above, but then overridden using a <database element within the
workspace, with appropriately named attributes.

        <database database="gump_public" passwd="bogus" />

Yup, time to go document. Ok, done. [1]

> A more general question: does BrutusConfig[1] need to be updated to
> reflect any steps related to the setting up of mysql?

It seems somebody (thanks somebody) plus Leo has updated this. We could use
some steps on how the MySQL scripts were run to create the tables. Nick, you
helped me here, you have time to update this?

regards,

Adam

[1] http://gump.apache.org/metadata/workspace.html#database


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org