title: installing MySQLdb for Python 2.6 on OSX
body: <p>I am trying to install MySQLdb for Python 2.6 as per these instructions:</p>
  
  <p><a href="http://www.tutorialspoint.com/python/python_database_access.htm" rel="noreferrer">http://www.tutorialspoint.com/python/python_database_access.htm</a></p>
  
  <p>When I get to this step: <code>$ python setup.py build</code> I get the error:</p>
  
  <pre>users-MacBook-Pro:MySQL-python-1.2.3 user$ sudo python setup.py build
  sh: mysql_config: command not found
  Traceback (most recent call last):
    File "setup.py", line 15, in 
      metadata, options = get_config()
    File "/my_crawler/MySQL-python-1.2.3/setup_posix.py", line 43, in get_config
      libs = mysql_config("libs_r")
    File "/my_crawler/MySQL-python-1.2.3/setup_posix.py", line 24, in mysql_config
      raise EnvironmentError("%s not found" % (mysql_config.path,))
  EnvironmentError: mysql_config not found
  </pre>
  
  <p>I have MySQL installed and added to my <code>bash</code></p>
  
  <p>What am I doing wrong?</p>