Leopard and MySQL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • arbo.newmedia@gmail.com

    Leopard and MySQL

    Hi,

    can anyone help me with MySQL.
    I've got Mac OSX Leopard and I'm trying to install MySQLdb for
    Python.

    I'm running build and it goes withous any errors and install.

    But when I'm typing : import MySQLdb in IDLE I've got this:

    Traceback (most recent call last):
    File "<pyshell#0 >", line 1, in <module>
    import MySQLdb
    File "build/bdist.macosx-10.3-fat/egg/MySQLdb/__init__.py", line 19,
    in <module>
    File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 7, in
    <module>
    File "build/bdist.macosx-10.3-fat/egg/_mysql.py", line 6, in
    __bootstrap__
    ImportError: dlopen(/Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
    macosx-10.3-fat.egg-tmp/_mysql.so, 2): Symbol not found:
    _mysql_affected _rows
    Referenced from: /Users/lisek/.python-eggs/MySQL_python-1.2.2-py2.5-
    macosx-10.3-fat.egg-tmp/_mysql.so
    Expected in: dynamic lookup

    And I don't know what is wrong... ;/
  • martin.laloux@gmail.com

    #2
    Re: Leopard and MySQL

    There is a macpython list that you can consult at
    http://www.nabble.com/Python---pythonmac-sig-f2970.html. When you
    search for your problem


    you have the solution

    Comment

    • arbo.newmedia@gmail.com

      #3
      Re: Leopard and MySQL

      On 5 Mar, 13:40, martin.lal...@g mail.com wrote:
      There is a macpython list that you can consult athttp://www.nabble.com/Python---pythonmac-sig-f2970.html. When you
      search for your problemhttp://www.nabble.com/forum/Search.jtp?foru m=2970&local=y& query=mysqldb
      >
      you have the solutionhttp://www.nickshanny. com/2007/10/os-x-105-python-and-mysqldb.html
      Thanks a lot.

      Comment

      Working...