Error in the mac os x Terminal window

hklobitana

macrumors newbie
Original poster
Nov 24, 2009
3
0
Im newbie with mac world, i have tried to install mysql using Terminal Application into my mac os x but i think it was unsuccessful. From then on, everytime I open my Terminal window i got this following message:

Last login: Tue Nov 24 21:22:05 on ttys000
declare -x Apple_PubSub_Socket_Render="/tmp/launch-UkuBIM/Render"
declare -x COMMAND_MODE="unix2003"
declare -x DISPLAY="/tmp/launch-z8qH93/:0"
declare -x HOME="/Users/mrking"
declare -x LANG="en_US.UTF-8"
declare -x LOGNAME="mrking"
declare -x MANPATH="/usr/share/man:/usr/local/share/man:/usr/X11/man"
declare -x OLDPWD
declare -x PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
declare -x PWD="/Users/mrking"
declare -x SECURITYSESSIONID="d98790"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_AUTH_SOCK="/tmp/launch-Ix1oKo/Listeners"
declare -x TERM="xterm-color"
declare -x TERM_PROGRAM="Apple_Terminal"
declare -x TERM_PROGRAM_VERSION="240"
declare -x TMPDIR="/var/folders/jP/jPdtagzXFkSPDYqc9M0twk+++TI/-Tmp-/"
declare -x USER="mrking"
declare -x __CF_USER_TEXT_ENCODING="0x1F5:0:0"
-bash: /usr/local/mysql/support-: No such file or directory
-bash: files/mysql.server: No such file or directory
-bash: /usr/local/mysql/support-: No such file or directory
-bash: /Users/mrking/.bash_login: line 8: unexpected EOF while looking for matching `"'
-bash: /Users/mrking/.bash_login: line 9: syntax error: unexpected end of file
mrkings-macbook:~ mrking$

How would I restore my Terminal window without this message of error?
 

wrldwzrd89

macrumors G5
Jun 6, 2003
12,107
75
Solon, OH
The problem is the .bash_login file. Try renaming it to something else:
Code:
cd ~
mv .bash_login .bash_login_old
Then, restart your Terminal session.
 

hklobitana

macrumors newbie
Original poster
Nov 24, 2009
3
0
when i used the mv .bash_login .bash_login_old

I got this message.

-bash: mv: command not found
 

hklobitana

macrumors newbie
Original poster
Nov 24, 2009
3
0
It works! Thank you very much. I will come back of you for sure if have a problem. Thanks again.
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.