title: Library not loaded: /usr/local/opt/mysql/lib/libmysqlclient.21.dylib and Reason image not found
body: <pre><code>Traceback (most recent call last):
    File "/Applications/MAMP/htdocs/Minor Project/xyz.py", line 5, in &lt;module&gt;
      import config
    File "/Applications/MAMP/htdocs/Minor Project/config.py", line 5, in &lt;module&gt;
      import MySQLdb
    File "/Users/brijeshlakkad/Library/Python/2.7/lib/python/site-packages/MySQLdb/__init__.py", line 19, in &lt;module&gt;
      import _mysql
  ImportError: dlopen(/Users/brijeshlakkad/Library/Python/2.7/lib/python/site-packages/_mysql.so, 2): Library not loaded: /usr/local/opt/mysql/lib/libmysqlclient.21.dylib
    Referenced from: /Users/brijeshlakkad/Library/Python/2.7/lib/python/site-packages/_mysql.so
    **Reason: image not found**
  </code></pre>
  
  <p>When i install mysql using "<em>brew install mysql</em>", file will be executed. And when i executed brew install mysql, there are two different mysql both running separately. I executed this file, then al data are being stored in <strong>local mysql</strong> different from <strong>phpmyadmin mysql</strong>.</p>