[mythtv-users] frontend can't login into backend

linux guy linuxguy123 at gmail.com
Sat Oct 8 03:36:23 UTC 2011


I found this thread very helpful.

For those who may be getting the following error:

 QMYSQL: Unable to connect
Database error was: Host '192.168.1.122' is not allowed to connect to this
MySQL server

I fixed it with the following sequence:

# mysql -u root -p mysql
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 484
Server version: 5.5.14 MySQL Community Server (GPL)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input
statement.

mysql> GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'192.168.1.%' IDENTIFIED by
'mythtv' WITH GRANT OPTION;
Query OK, 0 rows affected (0.02 sec)

mysql> UPDATE user SET Password=PASSWORD('mythtv') WHERE user='mythtv';
Query OK, 0 rows affected (0.01 sec)
Rows matched: 2  Changed: 0  Warnings: 0

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.02 sec)

mysql> quit;
Bye

Then I restarted mysql, just to be safe and restarted mythbackend.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20111007/0e8c301a/attachment.html 


More information about the mythtv-users mailing list