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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux