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

Nate Thompson natet at buckeye-express.com
Mon Apr 12 15:45:31 EDT 2004


Got everything working nicely again... Thanks everyone for their help!

Nate Thompson 

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

On Mon, Apr 12, 2004 at 01:18:32PM -0400, Nate Thompson wrote:
> 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.


http://dev.mysql.com/doc/mysql/en/Connection_access.html

Modify the 'user' table.  If you need more granular security, then also
modify the 'db' table.


> 
> 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
> 
> 
> 

> _______________________________________________
> 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