MAMP - command line mysql

If you’re a user who also likes using MySQL on the command line to manage your local databases though, it might be a little confusing, because after installing MAMP you can’t do so. Just run this in terminal and you should be set:

sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql

Warning: If you’ve installed MySQL manually as well, this may interfere with that installation, so don’t do this if you have!

Source : http://blog.arc90.com/2008/03/26/mamp-mysql-command-line-access/




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
4 + 6 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Bg