Re: MySQL not working with PHP

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

 




On 12 September 2010 17:15, Aaron Gray <aaronngray.lists@xxxxxxxxx> wrote:
On 12 September 2010 16:09, Mike Wright <mike.wright@xxxxxxxxxxxxxx> wrote:
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.


Does not look like that is the case.

Reinstalling 'mysql-server' did the job :)

Aaron

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