Page 1 of 1

Keep losing my MySQL aliases (using OS X 'Terminal')?

Posted: Sat Aug 02, 2003 12:27 am
by oldcoyote
As the README file included with the MySQL installer for Mac OS X suggests, I created aliases via the command:

alias mysql '/usr/local/mysql/bin/mysql'
alias mysqladmin '/usr/local/mysql/bin/mysqladmin'

It works fine until I close my terminal window, then the next time I try to connect to MySQL with the alias, it's gone. I can add it again and it works until I close and reopen another terminal window.

Any suggestions to make this stick?

Sean
[/i]