[mythtv-users] Mythweb install error: Can't connect to local MySQL server through socket

Andy Whitworth andywhit at gmail.com
Thu Jan 20 19:00:19 EST 2005


OK, disabling SE Linux security did the trick!

Need to find a less severe fix in the background but I'll continue with
SE switched off at the moment.

Thanks for the help!

Andy

P.S Found this thread on the subject :-

http://www.linuxquestions.org/questions/history/260126


On Thu, 20 Jan 2005 23:37:22 +0000, Andy Whitworth <andywhit at gmail.com> wrote:
> Yep, both php and mysql installed as packages during the FC3 install.
> 
> I'll try disabling the SE thing - ta.
> 
> Andy.
> 
> 
> On Thu, 20 Jan 2005 15:30:21 -0800, Chris Petersen
> <lists at forevermore.net> wrote:
> > > Trying to get MythWeb up and running but when I point the browser at the
> > > homepage then I get:-
> > >
> > > Warning at /var/www/html/mythweb/includes/init.php, line 63:
> > > mysql_connect(): Can't connect to local MySQL server through socket
> > > '/var/lib/mysql/mysql.sock' (13) Fatal Error at
> > > /var/www/html/mythweb/includes/init.php, line 64:
> > > Can't connect to the database server. Did you use the correct settings
> > > in config/conf.php?
> >
> > ...
> >
> > > I've tried installing phpmyadmin also and it gives the same socket error.
> >
> > ...
> >
> > > FC3, Myth 0.16, MythWeb 0.16, mysql  Ver 11.18 Distrib 3.23.58, for
> > > redhat-linux-gnu (i386)
> >
> > I'm a little confused here.  At first I thought it might be that php was
> > compiled with some part of the mysql support missing, but if it's
> > packages, that should be fine.
> >
> > The only other thing that comes to mind is the new SE Linux stuff that's
> > in fc3.  Try turning that off (it's under security settings, I think),
> > it'll require a reboot.
> >
> > -Chris
> >
>


More information about the mythtv-users mailing list