Opened 17 years ago
Closed 17 years ago
#3660 closed defect (fixed)
MythTV.py does not allow customized database name
Reported by: | anonymous | Owned by: | Anduin Withers |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythvideo | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
From http://svn.mythtv.org/trac/browser/trunk/mythplugins/mythvideo/mythvideo/scripts/MythTV.py (so in trunk):
self.db = MySQLdb.connect(user=db_user, host=db_host, passwd=db_password, db="mythconverg")
Username, hostname and password are read from mysql.txt, but the database name is not. My database isn't called mythconverg, so this doesn't work.
Patch attached.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
Small patch fixing the issue