[mythtv-users] Upgraded database, myth* can't connect

John Pilkington J.Pilk at tesco.net
Sat Nov 14 11:07:43 UTC 2015


On 13/11/15 23:41, Dale Pontius wrote:
> On 11/13/2015 05:52 PM, Hika van den Hoven wrote:
>> Hoi Dale,
>>
>> Friday, November 13, 2015, 11:21:35 PM, you wrote:
>>
>>> This past weekend I finally upgraded my database, and moved from mysql
>>> to mariadb.  Now none of the normal myth* programs can connect to it.
>>
>>> I can successfully connect at the command line with: "mysql -u mythtv -p
>>> -h <name> mythconverg".  On the backend system I can omit the "-h",
>>> which I presume means connecting through a Unix socket.  I can connect
>>> to loopback, I can connect to the machine by IP.  I can run the command
>>> from other machines on my network and connect OK.
>>
>>> Also on the backend system, I can run mythconverg_backup.pl and
>>> optimize_mythdb.pl.  Plus when I unzip the database backup file, it
>>> looks good.
>>
>>> I just can't run mythtv-setup or mythbackend.  I get:
>>> $ mythbackend
>>> QSqlDatabase: QMYSQL driver not loaded
>>> QSqlDatabase: available drivers: QSQLITE QMYSQL3 QMYSQL
>>
>>> Cannot login to database

I'm not clear about your environment, but there are reports of upstream 
changes that might perhaps be causing this in a new build of an old 
system.  I don't know if this is compatible with your error messages.

https://code.mythtv.org/trac/ticket/12491

John P





More information about the mythtv-users mailing list