Pages

Monday, September 19, 2011

Set $PATH Environment Variable on Mac OS

I want to append mysql directory to the $PATH I would do this:

1) Create the file /etc/paths.d/mysql like this:

sudo touch /etc/paths.d/mysql
2) Edit the file:

sudo vim /etc/paths.d/mysql

3) Put the path inside the file:
/usr/local/mysql/bin

No comments:

Post a Comment