Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Running MySQL on Mac #108
Installing and running MySQL on Linux is quick and easy. But on a Mac? I can't seem to get it to start. I have it installed.
UPDATE -- problem solved. Thanks to @papascott.
I think it depends on how you installed it. If you installed the package from mysql.com, they put the binaries in /usr/local/mysql/bin. They also offer a Preference Pane for MacOS for the MacOS System Preferences to start and stop the server. That might be the easiest way to set it up so the server always runs (just like in Linux
Hi Scott, yes I installed from mysql.com. And when I cd'd to that directory, that is where the mysql app is. I started it via the Control Panel, and then --
And when prompted entered the password I set up for root when I installed MySQL and got this error message.
ERROR 1045 (28000): Access denied for user 'davewiner'@'localhost' (using password: NO)
So I tried
sudo mysql --password
It asked for two passwords, the system password and the root user password for MySQL and voila I'm where I wanted to be.