MySQL Forums
Forum List  »  Connector/Python

Problem in apache-python-mysqldb-mysql
Posted by: Ming Ming
Date: March 24, 2006 07:51PM

I install the apache, pathon2.4, mysql 4 and mysql db on the Fedora core 4 system. the python cgi program which connect the mysql database with MySQLdb run well when I use python to execute it. but when I use internet browser to see the cgi program the exception information is " 2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)") "

I just confused. The problem looks like that the mysql can not be connnect via apache.

Anybody can give me help?

thanks a lot



Edited 1 time(s). Last edit at 03/24/2006 07:52PM by Ming Ming.

Options: ReplyQuote


Subject
Written By
Posted
Problem in apache-python-mysqldb-mysql
March 24, 2006 07:51PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.