[mythtvnz] Wellington Channel Retuning 19 June 2012

David Moore dmoo1790 at ihug.co.nz
Mon Jun 18 02:40:53 BST 2012


On 18/06/2012, at 9:17 AM, Jason Taylor <killerkiwi2005 at gmail.com> wrote:

> I'm pretty sure it's this easy for random sql
> 
> from MythTV import MythDB
> mythdb=MythDB()
> conn=mythdb.cursor()
> conn.execute( "UPDATE table SET col1 = 0 WHERE col2 = 1;" ):
> 
Yes that works IF you have your config.xml in the right place. My system has worked for years with a config/user problem which I've never sorted (until now). Didn't cause any issues until I tried to connect to the db in python. So now I think I have the config right and I can connect to the db with python as shown above.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20120618/08a9453a/attachment.html>


More information about the mythtvnz mailing list