[mythtv-users] MythArchive fails to connect to DB (mythburn.py, Access denied)
Matt Garretson
matt+mythtv at mattyo.net
Wed Apr 9 13:55:12 UTC 2008
Hi all, I've got:
mythtv-0.21-fixes [16993]
Fedora 8
I'm trying to use MythArchive for the first time. I believe I've got the Python
dependencies installed. When I try to archive a couple of recordings to a DVD+RW
disc in mythfrontend, this appears in the progress window after starting the
process:
2008-04-09 09:04:19 mythburn.py (0.1.20080325-1-fixes) starting up...
2008-04-09 09:04:19 Failed to run mytharchivehelper to get mysql database parameters! Exit code: 127
Then, I go into the temp logs dir, and:
# cat mythburn.log
Using simple_fix_rtl
mythburn.py (0.1.20080325-1-fixes) starting up...
script path:/usr/local/share/mythtv/mytharchive/scripts
myth share path:/usr/local/share/mythtv
passed job file: /tmp/mytharchive/config/mydata.xml
passed progress log file: /tmp/mytharchive/logs/progress.log
mythburn.py (0.1.20080325-1-fixes) starting up...
Failed to run mytharchivehelper to get mysql database parameters! Exit code: 127
Traceback (most recent call last):
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 5439, in <module>
main()
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 5299, in main
saveSetting("MythArchiveLastRunStart", time.strftime("%Y-%m-%d %H:%M:%S "))
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 861, in saveSetting
db = getDatabaseConnection()
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 342, in getDatabaseConnection
return MySQLdb.connect(host=mysql_host, user=mysql_user, passwd=mysql_passwd, db=mysql_db)
File "/usr/lib/python2.5/site-packages/MySQLdb/__init__.py", line 74, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/MySQLdb/connections.py", line 170, in __init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'user_myth'@'localhost' (using password: NO)")
#
My mythconverg DB just uses the default mythtv/mythtv user & password, and MythTV is
configured that way. Do I have to change/add some security info to the database or
somewhere else in order to use MythArchive?
Thanks in advance for any tips!
-Matt
More information about the mythtv-users
mailing list