Posting XML as a parameter to a SOAP WebService Method | Home | XML Design in SQL Server 2005

Filed under on March 26, 2008 by Chris Dary

MAMP MySQL Command Line Access

I love MAMP for local development on Mac OS X - it gives you a quick LAMP-style development environment on your machine with zero hassle - and it's free.

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

What this does is add a symbolic link for the mysql binary from MAMP into your executable path - in this case, within /usr/local/bin/

Incidentally, /Applications/MAMP/Library/bin/ is where you'll also find all the other MySQL binaries, like mysqldump.

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

Post a Comment Digg Del.icio.us

Trackback Pings (TrackBack URL for this entry)

http://www.arc90.com/cgi-bin/mt4/mt-tb.cgi/123.

Comments

Thanks!

Posted on April 7, 2008 4:21 AM by Blake Lucchesi

i get 'sudo: ln: command not found'

any idea

Posted on April 29, 2008 11:11 AM by ali

ali,

1: note that that is LN, not IN - 'LN' lowercase.
2: If you've already done that, what version of Mac OS X are you running?

Posted on April 29, 2008 11:39 AM by Chris Dary

Post a Comment:

Posting XML as a parameter to a SOAP WebService Method | Main | XML Design in SQL Server 2005