If you see the following error:
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from: /usr/local/bin/indexer
Reason: image not found
Now, the expected file path is incorrect – it shouldn’t have the second ‘mysql’. Create a symbolic link and it should work:
sudo ln -s /usr/local/mysql/lib /usr/local/mysql/lib/mysql