Problem solved. Thanks victoria.:)

[EMAIL PROTECTED] wrote:

Veysel Harun Sahin <[EMAIL PROTECTED]> wrote:


I am using mysql 3.23.49 on openbsd3.2 with php4.2.3. Formerly I was connecting to mysql with php without any problem but now (I don't know what I have changed) when I try to connect to mysql with php it gives the following errors:

Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /htdocs/index.php on line 3
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /htdocs/index.php on line 3


I have controlled mysql.sock file and its path is true. Also mysql server is up and running.




Check permission on the socket file.






--


Veysel Harun Sahin
[EMAIL PROTECTED]




-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to