Re: Can't Connect to MySQL local Server

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

 



> Here is more information for you.
> I am running:
>     Fedora core 5 Linux 
>     php 5.14
>     apache 2.2.2
>     mysql 5.0.22
> 
> I have added the mysql_error code to my script as you suggested.
> I already knew the what the error was by looking in the error logs.
> It is, "Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (13)"

That means 'permission denied'.

Are you sure mysql is running on "localhost" ?
Yes, I am sure.

FC5 has "selinux" doesn't it - make sure permissions are set up
properly 
for that too.
hmmmm . . .  Other than I know that it is there, I don't know much
about selinux.
How do I set permissions for it?

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux