[mythtv-users] mysql 5

Korey Fort k.m.fort at gmail.com
Mon Nov 6 17:09:04 UTC 2006


It will also do the same thing when the  password is different from the one
in the database. 
You could try:
	mysql -u mythtv -p   

	use mysql;
	UPDATE user SET Password=PASSWORD('mythtv') WHERE User='mythtv';

"Let ye without segmentation fault cast the first int!"

Korey Fort
-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Andrew Lyon
Sent: Monday, November 06, 2006 10:51 AM
To: Discussion about mythtv
Subject: Re: [mythtv-users] mysql 5

> On 11/6/06, Andrew Lyon <andrew.lyon at gmail.com> wrote:
> > Hi,
> >
> > I take it mythtv doesnt work with mysql5? v5 has just been marked as
> > stable in gentoo portage and got upgraded on my box this morning, I
> > got the following errors when starting the backend:
> >
> > 2006-11-06 15:06:59.700 Using runtime prefix = /usr
> > QSqlDatabase: QMYSQL3 driver not loaded
> > QSqlDatabase: available drivers:
> > 2006-11-06 15:06:59.716 New DB connection, total: 1
> > 2006-11-06 15:06:59.716 Unable to connect to database!
> > 2006-11-06 15:06:59.716 No error type from QSqlError?  Strange...
> > QSqlQuery::exec: database not open
> > QSqlQuery::exec: database not open
> > 2006-11-06 15:06:59.781 DB Error (KickDatabase):
> > Query was:
> > SELECT NULL;
> > No error type from QSqlError?  Strange...
> > 2006-11-06 15:06:59.851 Failed to init MythContext, exiting.
> >
> > Luckily the upgrade doesnt seem to have changed the format of the
> > database files on disk, I was able to downgrade mysql and everything
> > is working again, which is nice as I had just spent a hour tweaking
> > some things in the myth db and I would have lost those changes if I
> > had to restore the db from a backup.
> >
> > Andy
>
> I have Mysql V5 on Fedora and mythtv works fine with it.
> Not sure if it was the .19 or .20 version that added support
> for v5.... your bug seems more like what I recall getting
> when I didn't have the qt-MySQL package installed.
> I recall a couple of rpms that would install just fine, but
> not run unless qt-MySQL was also installed. The dependency
> checker must not have had it listed.....  do you have that  qt-MySQL
> package installed?
>
> jack

I'm running gentoo, I have mysql in my use flags so qt is built with
support for mysql, I bet what I need to do is re-emerge qt once mysql
is upgraded.

I will give that a try when I have time (or am forced to upgrade
mysql), for now ive just masked v5 so that it doesnt get upgraded
again.

Andy
_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



More information about the mythtv-users mailing list