path ??
hello, my question it's that everytime i restart my pc, login, in the command prompt i type command mysql, it can't not find the path where the mysql it's located at
(mysql located at /usr/local/mysql/bin) ??
so i type source ~/.bash_profile, then type mysql it work... but i don't like type all that source things. it's way i could set it so it say that way when i restart ??
thanks
here my .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/local/mysql/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH
~
~
~
~
~
~
~
~
~
"~/.bash_profile" 15L, 255C
|