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

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
oldcoyote
Forum Newbie
Posts: 1
Joined: Sat Aug 02, 2003 12:27 am
Location: Seattle WA, Missoula MT or Hawi HI, depending on circumstances

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

Post 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]
Post Reply