[mythtv-users] Host 'localhost.localdomain' is not allowed to connect to this MySQL server

Jo Shields directhex at apebox.org
Fri Aug 19 08:47:49 UTC 2005


赵亚伟 wrote:

>What is wrong???
>
>QInputContext: cannot create input context for non-toplevel widgets
>QInputContext: cannot create input context for non-toplevel widgets
>2005-08-19 13:43:01.536 Unable to connect to database!
>2005-08-19 13:43:01.536 Driver error was [1/1130]:
>QMYSQL3: Unable to connect
>Database error was:
>Host 'localhost.localdomain' is not allowed to connect to this MySQL
>server
>
>2005-08-19 13:43:01.536 Failed to init MythContext, exiting.
>
>Why 'localhost.localdomain'is not allowed to connect to this MySQL
>server  ,What should I do ?  Yes,I think I will set correctly.
>  
>

Edit /etc/hosts, and remove the word "localhost.localdomain" from the 
top. The first line should end up looking like:

127.0.0.1 localhost actualhostnameofthiscomputer

--Jo Shields


More information about the mythtv-users mailing list