Re: MySQL not working with PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Gray wrote:
> I have an F11 system.
> 
> I have several PHP apps that use MySQL including MediaWiki but they are 
> failing to work giving error 500 
>  
> phpinfo() is working and showing MySQL.
>  
> When I try to connect to it I get the following error :-
> 
>     Can't connect to local MySQL server through socket 
> '/var/lib/mysql/mysql.sock' (13)

I had a similar issue with f10.  In previous releases mysql.sock was 
indeed located in /var/lib/mysql but in f10 it had moved to /tmp.  I had 
to edit /etc/my.cnf to change the socket setting.

Maybe that's the problem?

Hope that helps,
:m)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux