MAMP MySQL Command Line Access


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #Step 1 (Make sure you've place your MAMP directory within /Applications/)
  2. sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql
  3.  
  4. #Step 2
  5. mysql -u root -p root
  6.  
  7. #Step 3
  8. mysql/> show databases;

URL: http://blog.arc90.com/2008/03/mamp_mysql_command_line_access.php

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.