Re: Apache and PHP

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

 



On 11/26/2004 08:00:42 PM, Danesh Daroui wrote:
Now my problem is that I can
not connect to MySQL databases throught PHP and the error maesage is: Can connect through socket...

Is MySQL configured to accept connections?
If not - it would refuse the connection attempt from php resulting in the error you gave.


Also - does phpinfo() show MySQL support?
Finally - your MySQL version has to match what the php module was linked against - IE if you are running MySQL 4 but php was linked against MySQL 3 you will have problems.




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

  Powered by Linux