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. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]