Leopard and MySQL

Discussion in 'Python' started by arbo.newmedia@gmail.com, Mar 5, 2008.

  1. Guest

    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... ;/
     
    , Mar 5, 2008
    #1
    1. Advertisements

  2. Guest

    1. Advertisements

  3. Guest

    On 5 Mar, 13:40, 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?forum=2970&local=y&query=mysqldb
    >
    > you have the solutionhttp://www.nickshanny.com/2007/10/os-x-105-python-and-mysqldb.html


    Thanks a lot.
     
    , Mar 5, 2008
    #3
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. chewie54
    Replies:
    1
    Views:
    404
    Horace Enea
    Oct 20, 2007
  2. Jeffrey H. Coffield
    Replies:
    1
    Views:
    2,463
  3. dk
    Replies:
    2
    Views:
    622
    Ned Deily
    Jul 14, 2010
  4. dave
    Replies:
    4
    Views:
    1,699
    Steve Holden
    Nov 18, 2010
  5. bin liu
    Replies:
    1
    Views:
    280
    Curt Hibbs
    Dec 22, 2004
  6. X43 X43

    Leopard + mysql

    X43 X43, Oct 29, 2007, in forum: Ruby
    Replies:
    6
    Views:
    203
    X43 X43
    Oct 29, 2007
  7. Mark Meijer

    mySQL Ruby Gem and MAMP mySQL

    Mark Meijer, Feb 2, 2008, in forum: Ruby
    Replies:
    3
    Views:
    446
    louis
    Feb 3, 2008
  8. Sam
    Replies:
    4
    Views:
    189
    Mark Lawrence
    Jan 17, 2014
Loading...