[mythtv-users] common noob question

Florian Bittner flo at flobittner.de
Tue Apr 29 09:03:28 UTC 2008


Check if the mythtv mysql user exists. On your backend type:

mysql -u mythtv -p mythconverg

When asked type your password and see if that works!

Greetings,
Flo


Am Dienstag 29.April 2008 07:20 schrieb Nicolas Frazier:
> I have gotten stuck during mythtv installation. I cannot connect to a
> database for myth. Using the information listed below can someone help me
> through the process?
>
>
> nick at nick-laptop:~$ sudo -H -u mythtv mythfilldatabase
> [sudo] password for nick:
> 2008-04-29 00:44:52.282 Using runtime prefix = /usr, libdir = /usr/lib
> 2008-04-29 00:44:52.362 Empty LocalHostName.
> 2008-04-29 00:44:52.363 Using localhost value of nick-laptop
> 2008-04-29 00:44:52.552 New DB connection, total: 1
> 2008-04-29 00:44:52.585 Unable to connect to database!
> 2008-04-29 00:44:52.585 Driver error was [1/1045]:
> QMYSQL3: Unable to connect
> Database error was:
> Access denied for user 'mythtv'@'localhost' (using password: YES)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-04-29 00:44:52.641 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> QServerSocket: failed to bind or listen to the socket
> 2008-04-29 00:44:52.697 MCP::InitUPnP() - HttpServer Create Error
> 2008-04-29 00:44:52.697 Deleting UPnP client...
> 2008-04-29 00:44:52.699 No UPnP backends found
>
> No UPnP backends found
>
> Would you like to configure the database connection now? [yes]
> Database host name: [localhost]
> Should I test connectivity to this host using the ping command? [yes]
> Database non-default port: [0]
> Database name: [mythconverg]
> Database user name: [mythtv]
> Database password: [mypassword]
> Unique identifier for this machine (if empty, the local host name will be
> used):
> Would you like to use Wake-On-LAN to retry database connections? [no]
> 2008-04-29 00:45:02.910 Unable to connect to database!
> 2008-04-29 00:45:02.910 Driver error was [1/1045]:
> QMYSQL3: Unable to connect
> Database error was:
> Access denied for user 'mythtv'@'localhost' (using password: YES)
>
> QSqlQuery::exec: database not open
> QSqlQuery::exec: database not open
> 2008-04-29 00:45:02.961 DB Error (KickDatabase):
> Query was:
> SELECT NULL;
> No error type from QSqlError?  Strange...
> 2008-04-29 00:45:03.011 Cannot login to database?
> 2008-04-29 00:45:03.011 Cannot login to database?
>
> Cannot login to database?
>
> Would you like to configure the database connection now? [yes]


More information about the mythtv-users mailing list