Configuring terminal to work with MAMP mysql on Leopard


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



Copy this code and paste it in your HTML
  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

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.