Hello everyone,

I'm trying to access MySQL from python. The MySQL server is already installed in my system when I installing the WAMP (Windows Apache MySQL PHP). When I trying to install the module MySQLdb which is used to connect and work with database I'm getting this following error. Can anyone help me?

C:\Python27>python C:\python27\mysqldb\setup.py install
Traceback (most recent call last):
File "C:\python27\mysqldb\setup.py", line 15, in <module>
metadata, options = get_config()
File "C:\python27\mysqldb\setup_windows.py", line 5, in get_config
metadata, options = get_metadata_and_options()
File "C:\python27\mysqldb\setup_common.py", line 7, in get_metadata_and_option
s
metadata = dict(config.items('metadata'))
File "C:\Python27\lib\ConfigParser.py", line 634, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'metadata'

It's a Windows Vista 32 Bit system. I'm using python 2.7