Roundup Tracker - Issues

Issue 976574

classification
back_mysql broken
Type: Severity: normal
Components: Database Versions:
process
Status: closed invalid
:
: richard : kent_turbo, richard
Priority: normal :

Created on 2004-06-21 08:20 by kent_turbo, last changed 2004-06-22 23:40 by richard.

Files
File name Uploaded Description Edit Remove
mysql-connect-fix-cvs-2004-06-21.patch kent_turbo, 2004-06-21 08:21 Fix to the problem described.
Messages
msg1316 Author: [hidden] (kent_turbo) Date: 2004-06-21 08:20
roundup/backends/back_mysql.py: sql_open_connection():
137             db = getattr(self.config, 'MYSQL_DATABASE')
138             try:
139                 conn = MySQLdb.connect(*db)

this code causes problems. db is the string, *db makes
it a tuple.

My local fix is attached.
msg1317 Author: [hidden] (richard) Date: 2004-06-22 23:40
Logged In: YES 
user_id=6405

Please read the "Additional configuration" section of the mysql 
documentation. 
History
Date User Action Args
2004-06-21 08:20:59kent_turbocreate