MySQL not working with PHP

Aaron Gray aaronngray.lists at gmail.com
Sun Sep 12 21:10:02 UTC 2010


On 12 September 2010 17:15, Aaron Gray <aaronngray.lists at gmail.com> wrote:

> On 12 September 2010 16:09, Mike Wright <mike.wright at mailinator.com>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100912/4d30d4da/attachment.html 


More information about the users mailing list