how to connect my sql with Python

P

praba kar

Dear All,

I am doing Python-cgi Project in my company.
To connect My sql database(Mysql 4.1.11.) into
Python(2.3.3) cgi. I have installed
MySQL-python-1.2.0. After installation of
MySQL-Python-1.2.0 I try import
MySQLdb module. It raised the following error

Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/System/Links/Libraries/python2.4/site-packages/MySQLdb/__init__.py",
line 27, in ?
import _mysql
ImportError: libmysqlclient.so.14: cannot open shared
object file: No such file or directory

so kindly give me guidance to connect Mysql and Python

regards
Praba

________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,799
Latest member
Mercury_Dev

Latest Threads

Top