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 trial

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Installing MySQL Server and Workbench on OS X

Michael Kuntz
Michael Kuntz
5,815 Points

Install not working on OSX 10.9.4

I'm trying to install the community MySQL on OSX 10.9.4 and it doesn't seem to be working. The installation goes through to completion, but from the workbench I can't connect to the local server. Also, running which mysql returns nothing. I have tried reinstalling with the same results. The file I downloaded was:

Mac OS X 10.8 (x86, 64-bit), DMG Archive 5.6.20 164.3M
(mysql-5.6.20-osx10.8-x86_64.dmg)

2 Answers

Michael Kuntz
Michael Kuntz
5,815 Points

I finally got this to work. Here's what I did:

Follow This:

http://community.jaspersoft.com/wiki/uninstall-mysql-mac-os-x

** RESTART the computer **

Then Open Terminal and run:

bash <(curl -Ls http://git.io/eUx7rg)

Gilad Goldman
Gilad Goldman
5,639 Points

This is still the best way to install SQL on new OS X machines. You should update the course to include this guide or at least reference in the notes that this is the best installation for 10.9+

Thanks for the headsup!

Stephen Blank
Stephen Blank
16,286 Points

Sounds like the server is not running yet.

Did you install the startup item?

Check this page for instructions on that. Once you install the startup item, you can start and stop the server from the preferences page, or from the commands at the bottom of the instructions:

http://dev.mysql.com/doc/refman/5.6/en/macosx-installation-startupitem.html

Michael Kuntz
Michael Kuntz
5,815 Points

I have that... however, no matter how many times I try, it won't start. I get the following from the console:

9/15/14 5:29:24.414 PM launchservicesd[70]: Application App:"System Preferences" asn:0x0-271271 pid:83753 refs=8 @ 0x7f8e63f48760 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x276276 pid=84692 "SecurityAgent"")), so denying. : LASSession.cp #1481 SetFrontApplication() q=LSSession 100006/0x186a6 queue

Stephen Blank
Stephen Blank
16,286 Points

Found this doc, hope it helps. Apparently the preference pane and startup item were deprecated by Apple:

https://discussions.apple.com/docs/DOC-3082