Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialDrew Konopasek
5,055 Pointsmysql -u root
Why wont it allow me to enter MySql when I type this in? What does this error mean?
Drews-MacBook-Air:biller drewkonopasek$ mysql -u root dyld: Library not loaded: @@HOMEBREW_PREFIX@@/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /usr/local/bin/mysql Reason: image not found Trace/BPT trap: 5
5 Answers
Aaron Williamson
10,421 PointsYou may need to uninstall MySQL and install it again.
Drew Konopasek
5,055 PointsI have unistalled it and reinstallled it twice and every time I type the mysql -u root command I keep getting the same error. I also get a similar error when I type rake db:create. it always tells me a library isnt loaded because an image is not found and I am not for sure what that means.
thomascawthorn
22,986 Pointshave you started your server?
mysql.server start
Drew Konopasek
5,055 Pointsmysql.server start dyld: Library not loaded: @@HOMEBREW_PREFIX@@/opt/openssl/lib/libssl.1.0.0.dylib Referenced from: /usr/local/Cellar/mysql/5.6.19/bin/my_print_defaults Reason: image not found Starting MySQL . ERROR! The server quit without updating PID file (/usr/local/var/mysql/localhost.pid).
That is what I get when I try to start my server.
thomascawthorn
22,986 PointsWhat do you get with
brew docotor
maybe reinstalling openssl? Also found this
I got a lot more hits by searching the 'Reason' of your error message :-)
Also make sure you're closing and opening terminal after installing stuff!
Hope this points you in the right direction