[mythtv-users] Changed hostname, now Mythweb doesn't work...

Nate Thompson natet at buckeye-express.com
Mon Apr 12 13:18:32 EDT 2004


OK, adding an entry to /etc/hosts seems to have worked, and now I can start
the httpd domain successfully. The last error (hopefully) I have to get
around is below. I need to add the new host to MySQL so it can access the
database. Any ideas on how to do this? I'm a little rusty with my MySQL.

Warning at /var/www/html/mythweb/includes/init.php, line 51:
mysql_connect(): Host 'mythfront' is not allowed to connect to this MySQL
server 
----------------------------------------------------------------------------
----

----------------------------------------------------------------------------
----
Fatal Error at /var/www/html/mythweb/includes/init.php, line 52:
Can't connect to the database server. Did you use the correct settings in
config/conf.php?
The system administrator has been notified and the problem will be remedied
shortly. 

Nate Thompson

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Chris Petersen
Sent: Monday, April 12, 2004 12:55 PM
To: Discussion about mythtv
Subject: RE: [mythtv-users] Changed hostname, now Mythweb doesn't work...

> Does this help at all?

Yes, it means that apache can't do a dns lookup of "mythfront"..  Are you
running DNS for the machine?  Maybe try using a full domain name, or putting
an entry in /etc/hosts

-Chris

_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list