Posted By

jmacgr on 06/22/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

jmacgr


Configuring terminal to work with MAMP mysql on Leopard


 / Published in: MySQL
 

URL: http://andreys.info/blog/2007-11-07/configuring-terminal-to-work-with-mamp-mysql-on-leopard

  1. sudo mkdir /var/mysql
  2. sudo LN -s /Applications/MAMP/tmp/mysql/mysql.sock /var/mysql/mysql.sock
  3. sudo chown _mysql /var/mysql/mysql.sock
  4. sudo chmod 777 /var/mysql/mysql.sock
  5.  
  6. echo 'export PATH=/Applications/MAMP/Library/bin:$PATH' >> ~/.bash_profile

Report this snippet  

You need to login to post a comment.