1
vote
0answers
140 views

install MySQLdb to run in Pydev on Mac OS X 10.8

I had been stuck in some incompatible conflicts while trying to install mysql-python in Mac OS X 10.8 for a few days. After looking at some forums I found the solution to force Python run in 32 bit ...
0
votes
1answer
334 views

Why isn't MySQLdb installation working on my 64bit Mac

>>> import MySQLdb Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.macosx-10.6-intel/egg/MySQLdb/__init__.py", line 19, in ...
1
vote
1answer
750 views

python issues with MySQL in eclipse

Example: import MySQLdb conn = MySQLdb.connect(passwd="passwd", db="mydb") cursor = conn.cursor() cursor.execute("""SELECT * FROM table""") records = cursor.fatchone() print records provides the ...
2
votes
1answer
2k views

Pydev: Where do I have to add the path for an external lib (usr/local/mysql/lib/libmysqlclient)?

I use mysqldb and pydev eclipse. I successfully compiled mysqldb 1.23 and now I would like to import it. mysqldb 1.23 needs the library libmysqlclient.18.dylib which lies in my case in ...
1
vote
0answers
2k views

Using MySQL in Pydev Eclipse

I am trying to access a MySQL database with python through Pydev Eclipse. I have installed the necessary files to access MysQL from python and I can access the database only when I write code in ...