SlideShare a Scribd company logo
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



 31 January 2007
 Setting up MySQL for Python (MySQLdb) on Mac OS X


 MySQL is an excellent, very popular and open source database management system. A binary
 installation is available for Mac OS, and the process of installing MySQL on Mac OS is also very well
 documented. So just head over to MySQL.com, where you will find the binary installation, together with
 extensive installation, and usage documentation.

 To connect to MySQL from Python use MySQL for Python (MySQLdb). Get MySQLdb from
 http://sourceforge.net/projects/mysql-python/.


      1. Download MySQL from mysql.com and install the DBMS as instructed in the documentation.

      2. Make sure “Library/Python/2.3” does not have:

                            Directory “MySQL”
                            File “_mysql.pyd”
                            File “_mysql_exceptions.py”
                            File “_mysql_exceptions.pyc”

               Either uninstall MySQL for Python if a setup program was used to install it, otherwise
          manually delete them.

      3. Download and unpack MySQL for Python. At the time of writing this is MySQL-python-
         1.2.1_p2.tar.gz .

      4. Open Terminal and change to the directory where MySQLdb was unpacked to.

      5. Get rid of any previous builds that might interfere, by deleting the “build” directory if it exists.

      6. Edit the setup.py file, and change:

                      return popen(“mysql_config --%s” % what)
                              to
                      return popen(“/usr/local/mysql/bin/mysql_config --%s” % what)

      7. Cleanup any previous install attempts:

                     python setup.py clean

      8. Build MySQLdb:

                     python setup.py build

 Viola! MySQL for Python is all setup, and ready for your Python-MySQL data access code. Enjoy!



 Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!

http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 1 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



 Filed under: Apple, Mac Dev, Python, MySQL, Mac OS X, MySQL for Python, Data Access

 Comments

 # peter said:

          one thing to note is that there is apparently an extra 'mysql' in the path that the shared object looks
          for the .dylib

          you may get an error like this--

          ImportError: dlopen(./_mysql.so, 2): Library not loaded:
          /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib

           Referenced from: ./_mysql.so

           Reason: image not found

          simple solution is to cd into the /usr/local/mysql/bin directory and enter this command:

          ln -s /usr/local/mysql/bin mysql

          which will make a symlink in the directory to itself and magically make everything available.
          (saves the space of copying everything down a level.)

       Monday, June 18, 2007 10:45 PM
 # Priyesh Jain said:

          I tried using changin the setup file in 1.2.2, but could not find the appropriate location and was too
          lazy for that :P

          Thanks a lot though ! worked like a charm with 1.2.1

          Cheers

      Friday, July 06, 2007 9:33 AM
 # Tom said:

          The location for changing mysql_config is now in site.cfg, not in the popen command as described
          above.

       Sunday, July 15, 2007 10:21 PM
 # Victor said:

          The mysql installation from fink doesn't seem to have mysql_config, neither in the client nor
          server install.

       Monday, July 16, 2007 5:16 PM
 # Victor said:

          Ah. The mysql_config program is in the mysql_dev package.


http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 2 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



      Monday, July 16, 2007 5:42 PM
 # David Preece said:

          I've been using MAMP and it does not appear that you need to muck about with the path for
          mysql_config. However, I still can't get it to build - GCC complains "error: my_config.h: No such
          file or directory" then it just snowballs from there :(

      Thursday, July 19, 2007 6:49 AM
 # Łukasz Adamczak said:

          I'm also using MAMP and trying to build MySQLdb. Apparently the include files for mysql don't
          come with MAMP.

          mysql-config --include

          returns -I/Applications/MAMP/Library/include/mysql, but this path doesn't exist.

          Will probably need to install the official version.

      Thursday, July 19, 2007 11:15 PM
 # Martin Byröd said:

          I installed the lastest mysql version from mysql.com and I also cant get it to build. For me the
          problem is a missing "sys/types.h". Does anyone know what that means?

       Tuesday, August 14, 2007 5:29 PM
 # Toni Menzel said:

          Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of
          lib.

          So, you have to switch to /usr/local/mysql/lib

          create a symlink like this:

          ln -s /usr/local/mysql/lib mysql

          cheers,

          Toni

       Tuesday, September 11, 2007 9:11 PM
 # Lisa Friedland said:

          I made the mistake of upgrading to the newest Python version, 2.5.1, when trying to install
          mysqldb, and then I had a series of (varying) errors trying to build mysqldb. Save yourself the
          trouble! Use MacPython 2.4, then use the installer for mysqldb found at
          pythonmac.org/.../index.html. (Of course, this advice only holds as long as there's no installer for
          mysqldb under Python 2.5.)

      Monday, September 17, 2007 9:28 PM
 # Venkatesh said:


http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 3 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



          ---------------

          "Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of
          lib.

          So, you have to switch to /usr/local/mysql/lib

          create a symlink like this:

          ln -s /usr/local/mysql/lib mysql"

          -----------------

          Thank you Tony and also Peter!! It fixed my problem.

       Sunday, September 30, 2007 9:54 AM
 # Jakob Løkke Madsen said:

          ____________________

          Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of
          lib.

          So, you have to switch to /usr/local/mysql/lib

          create a symlink like this:

          ln -s /usr/local/mysql/lib mysql

          cheers,

          Toni

          _____________

          Thanks!!! Now it works for me as well! Wonderful!

       Tuesday, October 23, 2007 6:04 PM
 # Alessandro Censoni said:

          I trie to install mysql-python 1.2.2 but I have a lot of errors. I have install MySQL 5.0.45 and
          python 2.5.1.I use Mac OS X 10.4.9 and when I trie to build mysqldb i have the following error:

          >sh: line 1: mysql_config: command not found

          >Traceback (most recent call last):

           >File "setup.py", line 16, in <module>

             >metadata, options = get_config()

           >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 43, in
          get_config

http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 4 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



              >libs = mysql_config("libs_r")

          >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", >line 24, in
          mysql_config

              >raise EnvironmentError, "%s not found" % mysql_config.path

          >EnvironmentError: mysql_config not found

          If i trie to install the mysqldb, however I have the following error:

          >sh: line 1: /usr/local/bin/mysql_config: No such file or directory

          >Traceback (most recent call last):

          >File "setup.py", line 16, in <module>

          >metadata, options = get_config()

          >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 43, in
          get_config

          >libs = mysql_config("libs_r")

          >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 24, in
          mysql_config

           >raise EnvironmentError, "%s not found" % mysql_config.path

          >EnvironmentError: /usr/local/bin/mysql_config not found

          Infatti, ho semplicemente 'decommentato' una riga del file dove c'era mysql_config =
          /usr/local/bin/mysql_config.

          I don't know where I have to do the change suggested in the guide and relative comments. In the
          site.cfg I don't know what I have to change. I also trie to edit the setup.py of mysqlpython-
          1.2.1_p2 but I have the following error:

          >File "setup.py", line 26

          >     f = popen(“/usr/local/mysql/bin/mysql_config --%s” % what)

          >              ^

          >SyntaxError: invalid syntax

          Can somebody help me?

          Thanks a lot

          Tuesday, October 30, 2007 11:36 AM

          Home

http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 5 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



 n.code


          RSS
          Atom
          Comments RSS

 Recent Posts

          SQL Server Error: OLE DB error trace [OLE/DB Provider 'SQLOLEDB'
          IUnknown::QueryInterface returned 0x80004005: The provider did not give any information about
          the error.]
          Random Ramblings Over Ruby On Microsoft .NET
          Common .NET Memory Issues
          Bulk Update and Insert of Object State Stored by SQL Server 2000, Using .NET (C#)
          .NET Memory Leak: XmlSerializing your way to a Memory Leak

 Tags

          .config
          .NET
          Apple
          AppSettings
          C#
          Configuration
          Data Access
          DataBase Management
          Delegates
          IronRuby
          Java
          Mac Dev
          Mac OS X
          Martin Fowler
          Memory Issues
          Mircosoft
          MySQL
          MySQL for Python
          NameValueCollection
          NameValueSectionHandler
          Open Source
          Python
          Ruby
          Serialization
          SQL Server
          Streams
          Threading
          XML

 Archives



http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 6 of 7
Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code                                             11/07/2007 11:23 AM



          August 2007 (2)
          June 2007 (1)
          May 2007 (1)
          April 2007 (1)
          January 2007 (2)

 Search

                                    Go

 Navigation

          Home
          Careers
          Downloads
          Support




http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx            Page 7 of 7

More Related Content

DOC
Apache hadoop 2_installation
PDF
Juju Presentation 2011
PDF
Automated infrastructure is on the menu
PDF
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
PPTX
Virtualization and automation of library software/machines + Puppet
PPT
Running hadoop on ubuntu linux
PDF
Bpug mcollective 20140624
PPT
Puppet
Apache hadoop 2_installation
Juju Presentation 2011
Automated infrastructure is on the menu
Ansibleではじめるサーバー・ネットワークの自動化(2019/02版)
Virtualization and automation of library software/machines + Puppet
Running hadoop on ubuntu linux
Bpug mcollective 20140624
Puppet

What's hot (20)

PDF
Configuration Surgery with Augeas
ODP
An example Hadoop Install
PDF
Puppet at Opera Sofware - PuppetCamp Oslo 2013
PDF
Puppet: Eclipsecon ALM 2013
PDF
Chef Workshop: Setup Environment with Chef,Vagrant, and Berkshelf
PDF
Getting Started with Couchbase Ruby
PPTX
Hadoop single cluster installation
PDF
Using docker for data science - part 2
PDF
rake puppetexpert:create - Puppet Camp Silicon Valley 2014
PDF
Using python and docker for data science
PDF
Deploying Django with Ansible
PDF
Single node hadoop cluster installation
PPTX
Hadoop single node setup
PDF
Light my-fuse
PDF
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
DOCX
Run wordcount job (hadoop)
PDF
Ansible : what's ansible & use case by REX
PDF
A.I. Exercise.
PDF
Docker for data science
ZIP
Embedded Linux Odp
Configuration Surgery with Augeas
An example Hadoop Install
Puppet at Opera Sofware - PuppetCamp Oslo 2013
Puppet: Eclipsecon ALM 2013
Chef Workshop: Setup Environment with Chef,Vagrant, and Berkshelf
Getting Started with Couchbase Ruby
Hadoop single cluster installation
Using docker for data science - part 2
rake puppetexpert:create - Puppet Camp Silicon Valley 2014
Using python and docker for data science
Deploying Django with Ansible
Single node hadoop cluster installation
Hadoop single node setup
Light my-fuse
Ansibleではじめるサーバー・ネットワークの自動化 (Ansible2.7情報つき)2018/10/12
Run wordcount job (hadoop)
Ansible : what's ansible & use case by REX
A.I. Exercise.
Docker for data science
Embedded Linux Odp
Ad

Similar to Python And My Sq Ldb Module (20)

PDF
My Sq Ldb Tut
ODP
Sql installation
PPT
Mysql
PPTX
Python Programming Part 8 - MYSQL.pptx
PDF
Www Kitebird Com Articles Pydbapi Html Toc 1
PDF
Pydbapi
PDF
Php simple
PDF
BITS: Introduction to MySQL - Introduction and Installation
PDF
MySQL Utilities -- PyTexas 2015
PPT
How to Contribute Code to MySQL?
PDF
My SQL 101
PDF
Mysql
PPTX
Chapter 6 Interface Python with MYSQL.pptx
PDF
Php mysql-tutorial-en
PDF
My S Q L Introduction for 1 day training
PDF
My sql introduction for Bestcom
PDF
MySQL Sandbox 3
PDF
Mysql tutorial 5257
PDF
MySQL for Beginners - part 1
PPTX
My sql administration
My Sq Ldb Tut
Sql installation
Mysql
Python Programming Part 8 - MYSQL.pptx
Www Kitebird Com Articles Pydbapi Html Toc 1
Pydbapi
Php simple
BITS: Introduction to MySQL - Introduction and Installation
MySQL Utilities -- PyTexas 2015
How to Contribute Code to MySQL?
My SQL 101
Mysql
Chapter 6 Interface Python with MYSQL.pptx
Php mysql-tutorial-en
My S Q L Introduction for 1 day training
My sql introduction for Bestcom
MySQL Sandbox 3
Mysql tutorial 5257
MySQL for Beginners - part 1
My sql administration
Ad

More from AkramWaseem (18)

PDF
Mseduebookexcitinglearningweb Final 120914022330 Phpapp02
PDF
Xml Messaging With Soap
PDF
Xhtml Basics
PDF
Uml Tutorial
PDF
Xhtml Basics
PDF
Html5 Cheat Sheet
PDF
Ajax Tags Advanced
PDF
Ascii Table Characters
PDF
Scripts Python Dbapi
PDF
Random And Dynamic Images Using Python Cgi
PDF
Internet Programming With Python Presentation
PDF
PDF
Docs Python Org Howto Webservers Html
PDF
Handson Python
PDF
Python Tutorial
PDF
Python 3 Days
PDF
Tutorial Python
PDF
Tutor Py
Mseduebookexcitinglearningweb Final 120914022330 Phpapp02
Xml Messaging With Soap
Xhtml Basics
Uml Tutorial
Xhtml Basics
Html5 Cheat Sheet
Ajax Tags Advanced
Ascii Table Characters
Scripts Python Dbapi
Random And Dynamic Images Using Python Cgi
Internet Programming With Python Presentation
Docs Python Org Howto Webservers Html
Handson Python
Python Tutorial
Python 3 Days
Tutorial Python
Tutor Py

Python And My Sq Ldb Module

  • 1. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM 31 January 2007 Setting up MySQL for Python (MySQLdb) on Mac OS X MySQL is an excellent, very popular and open source database management system. A binary installation is available for Mac OS, and the process of installing MySQL on Mac OS is also very well documented. So just head over to MySQL.com, where you will find the binary installation, together with extensive installation, and usage documentation. To connect to MySQL from Python use MySQL for Python (MySQLdb). Get MySQLdb from http://sourceforge.net/projects/mysql-python/. 1. Download MySQL from mysql.com and install the DBMS as instructed in the documentation. 2. Make sure “Library/Python/2.3” does not have: Directory “MySQL” File “_mysql.pyd” File “_mysql_exceptions.py” File “_mysql_exceptions.pyc” Either uninstall MySQL for Python if a setup program was used to install it, otherwise manually delete them. 3. Download and unpack MySQL for Python. At the time of writing this is MySQL-python- 1.2.1_p2.tar.gz . 4. Open Terminal and change to the directory where MySQLdb was unpacked to. 5. Get rid of any previous builds that might interfere, by deleting the “build” directory if it exists. 6. Edit the setup.py file, and change: return popen(“mysql_config --%s” % what) to return popen(“/usr/local/mysql/bin/mysql_config --%s” % what) 7. Cleanup any previous install attempts: python setup.py clean 8. Build MySQLdb: python setup.py build Viola! MySQL for Python is all setup, and ready for your Python-MySQL data access code. Enjoy! Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it! http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 1 of 7
  • 2. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM Filed under: Apple, Mac Dev, Python, MySQL, Mac OS X, MySQL for Python, Data Access Comments # peter said: one thing to note is that there is apparently an extra 'mysql' in the path that the shared object looks for the .dylib you may get an error like this-- ImportError: dlopen(./_mysql.so, 2): Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib Referenced from: ./_mysql.so Reason: image not found simple solution is to cd into the /usr/local/mysql/bin directory and enter this command: ln -s /usr/local/mysql/bin mysql which will make a symlink in the directory to itself and magically make everything available. (saves the space of copying everything down a level.) Monday, June 18, 2007 10:45 PM # Priyesh Jain said: I tried using changin the setup file in 1.2.2, but could not find the appropriate location and was too lazy for that :P Thanks a lot though ! worked like a charm with 1.2.1 Cheers Friday, July 06, 2007 9:33 AM # Tom said: The location for changing mysql_config is now in site.cfg, not in the popen command as described above. Sunday, July 15, 2007 10:21 PM # Victor said: The mysql installation from fink doesn't seem to have mysql_config, neither in the client nor server install. Monday, July 16, 2007 5:16 PM # Victor said: Ah. The mysql_config program is in the mysql_dev package. http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 2 of 7
  • 3. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM Monday, July 16, 2007 5:42 PM # David Preece said: I've been using MAMP and it does not appear that you need to muck about with the path for mysql_config. However, I still can't get it to build - GCC complains "error: my_config.h: No such file or directory" then it just snowballs from there :( Thursday, July 19, 2007 6:49 AM # Łukasz Adamczak said: I'm also using MAMP and trying to build MySQLdb. Apparently the include files for mysql don't come with MAMP. mysql-config --include returns -I/Applications/MAMP/Library/include/mysql, but this path doesn't exist. Will probably need to install the official version. Thursday, July 19, 2007 11:15 PM # Martin Byröd said: I installed the lastest mysql version from mysql.com and I also cant get it to build. For me the problem is a missing "sys/types.h". Does anyone know what that means? Tuesday, August 14, 2007 5:29 PM # Toni Menzel said: Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of lib. So, you have to switch to /usr/local/mysql/lib create a symlink like this: ln -s /usr/local/mysql/lib mysql cheers, Toni Tuesday, September 11, 2007 9:11 PM # Lisa Friedland said: I made the mistake of upgrading to the newest Python version, 2.5.1, when trying to install mysqldb, and then I had a series of (varying) errors trying to build mysqldb. Save yourself the trouble! Use MacPython 2.4, then use the installer for mysqldb found at pythonmac.org/.../index.html. (Of course, this advice only holds as long as there's no installer for mysqldb under Python 2.5.) Monday, September 17, 2007 9:28 PM # Venkatesh said: http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 3 of 7
  • 4. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM --------------- "Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of lib. So, you have to switch to /usr/local/mysql/lib create a symlink like this: ln -s /usr/local/mysql/lib mysql" ----------------- Thank you Tony and also Peter!! It fixed my problem. Sunday, September 30, 2007 9:54 AM # Jakob Løkke Madsen said: ____________________ Correction to the "ln -s .." approach metioned about by Peter: there is a typo using bin instead of lib. So, you have to switch to /usr/local/mysql/lib create a symlink like this: ln -s /usr/local/mysql/lib mysql cheers, Toni _____________ Thanks!!! Now it works for me as well! Wonderful! Tuesday, October 23, 2007 6:04 PM # Alessandro Censoni said: I trie to install mysql-python 1.2.2 but I have a lot of errors. I have install MySQL 5.0.45 and python 2.5.1.I use Mac OS X 10.4.9 and when I trie to build mysqldb i have the following error: >sh: line 1: mysql_config: command not found >Traceback (most recent call last): >File "setup.py", line 16, in <module> >metadata, options = get_config() >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 4 of 7
  • 5. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM >libs = mysql_config("libs_r") >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", >line 24, in mysql_config >raise EnvironmentError, "%s not found" % mysql_config.path >EnvironmentError: mysql_config not found If i trie to install the mysqldb, however I have the following error: >sh: line 1: /usr/local/bin/mysql_config: No such file or directory >Traceback (most recent call last): >File "setup.py", line 16, in <module> >metadata, options = get_config() >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 43, in get_config >libs = mysql_config("libs_r") >File "/Users/alessandrocensoni/Desktop/MySQL-python-1.2.2/setup_posix.py", line 24, in mysql_config >raise EnvironmentError, "%s not found" % mysql_config.path >EnvironmentError: /usr/local/bin/mysql_config not found Infatti, ho semplicemente 'decommentato' una riga del file dove c'era mysql_config = /usr/local/bin/mysql_config. I don't know where I have to do the change suggested in the guide and relative comments. In the site.cfg I don't know what I have to change. I also trie to edit the setup.py of mysqlpython- 1.2.1_p2 but I have the following error: >File "setup.py", line 26 > f = popen(“/usr/local/mysql/bin/mysql_config --%s” % what) > ^ >SyntaxError: invalid syntax Can somebody help me? Thanks a lot Tuesday, October 30, 2007 11:36 AM Home http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 5 of 7
  • 6. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM n.code RSS Atom Comments RSS Recent Posts SQL Server Error: OLE DB error trace [OLE/DB Provider 'SQLOLEDB' IUnknown::QueryInterface returned 0x80004005: The provider did not give any information about the error.] Random Ramblings Over Ruby On Microsoft .NET Common .NET Memory Issues Bulk Update and Insert of Object State Stored by SQL Server 2000, Using .NET (C#) .NET Memory Leak: XmlSerializing your way to a Memory Leak Tags .config .NET Apple AppSettings C# Configuration Data Access DataBase Management Delegates IronRuby Java Mac Dev Mac OS X Martin Fowler Memory Issues Mircosoft MySQL MySQL for Python NameValueCollection NameValueSectionHandler Open Source Python Ruby Serialization SQL Server Streams Threading XML Archives http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 6 of 7
  • 7. Setting up MySQL for Python (MySQLdb) on Mac OS X - n.code 11/07/2007 11:23 AM August 2007 (2) June 2007 (1) May 2007 (1) April 2007 (1) January 2007 (2) Search Go Navigation Home Careers Downloads Support http://dotnet.org.za/ncode/archive/2007/01/31/setting-up-mysql-for-python-mysqldb-on-mac-os-x-2.aspx Page 7 of 7