Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8038647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:18:06+00:00 2026-06-05T03:18:06+00:00

I did brew remove mysql . After, i reinstall mysql from dmg again. But

  • 0

I did brew remove mysql. After, i reinstall mysql from dmg again. But now i cant run my django project. It shows me:

ImproperlyConfigured: Error loading MySQLdb module: dlopen(/Users/polinom/workspace/agents/eggs/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.so, 2): Library not loaded: /usr/local/lib/libmysqlclient.18.dylib
  Referenced from: /Users/polinom/workspace/agents/eggs/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.so
  Reason: image not found

This does not help: sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.18.dylib

And this does not help: export DLYD_LIBRARY_PATH=/usr/local/mysql/lib

I figured out that there is no file /usr/local/lib/libmysqlclient.18.dylib. Even here it is absent /usr/local/mysql/lib/. The only libs that sit in that folder is:

libmysqlclient.15.dylib    libmysqlclient_r.15.dylib  libndbclient.2.dylib       libndbclient.la
libmysqlclient.dylib       libmysqlclient_r.dylib     libndbclient.dylib

What do i do about that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:18:08+00:00Added an answer on June 5, 2026 at 3:18 am

    If you installed from a DMG this time, try looking in /usr/local/ for a file like

    mysql-5.5.24-osx10.6-x86_64
    

    If you have that version or newer, libmysqlclient.18.dylib will be in there, and you just need to make sure that your symlink to /usr/local/mysql is correctly linking to that version. You may also have to add it to your path, the DMG installer did a horrible job of setting that stuff up for me.

    If you have an earlier version than the one above, you may need to grab a newer copy of the DMG and reinstall. Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Did they remove file.readline() and file.readlines() from python 3.2? If yes what did they
Did you ever have the following situation: you need to store information, but a
Did about 30 minutes worth of searching, found lots of relevant info, but none
Did not have luck with these examples: Javascript File remove Javascript FSO DeleteFile Method
Did a dumpdata of my project, then in my new test I added it
Did a quick search but could not find anything about this. I guess all
Did I missed anything during this? I am running a this command from command
After an interrupted brew update because of a network issue, Homebrew appears to be
Did you ever have a day when nothing works? Now I can't even succeed
Did any of guys run into this error where the search crawler is ignoring

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.