[mythtv-users] can't login in to sql

Dean Harding dean.harding at dload.com.au
Mon Dec 22 04:21:21 UTC 2008


> > Here's what the terminal window says:
> > mythtv: could not connect to socket
> > mythtv: Connection refused
>
> Ok, connection refused means mysql is actively refusing the  
> connection. So mysql might be binding to 127.0.0.1 or some other name/ 
> ip address that mythtv is not using to access the database.

Brad, I think that's an error from lirc, if you look at the next line:

mythtv: could not connect to socket
mythtv: Connection refused
2008-12-21 22:40:35.915 lirc_init failed for mythtv, see preceding messages

I'm pretty sure the problem is from earlier in the logs, namely:

2008-12-21 22:40:32.309 Using localhost value of kaeding
QSqlDatabase: QMYSQL3 driver not loaded
QSqlDatabase: available drivers:
2008-12-21 22:40:32.311 New DB connection, total: 1
2008-12-21 22:40:32.311 Unable to connect to database!

That is, the qt-mysql driver is not installed. As I said before, how you
install the qt-mysql driver depends on your distro, but it's usually just a
specific package that you need.

Dean.




More information about the mythtv-users mailing list