This code is assuming that mySQL is installed on your machine at /usr/local/mysql. You may want to verify that is the correct running location. The reason why is because depending on which mySQL you install (either from mySQL's website, from Server Logistics, or on OS X Server preinstalled). To check, you can type in"
Code:
[67-23-43-124:~] russ% ps ax | grep mysql
This should tell you where mySQL is running. Then run the following:
Code:
[67-23-43-124:~] russ% cd /usr/local/mysql/bin
Then:
Code:
[67-23-43-124:local/mysql/bin] russ% ./mysql -uroot -p
Bookmarks