Error in the mac os x Terminal window

Discussion in 'Mac Apps and Mac App Store' started by hklobitana, Nov 24, 2009.

  1. hklobitana macrumors newbie

    Joined:
    Nov 24, 2009
    #1
    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?
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    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.
     
  3. hklobitana thread starter macrumors newbie

    Joined:
    Nov 24, 2009
    #3
    when i used the mv .bash_login .bash_login_old

    I got this message.

    -bash: mv: command not found
     
  4. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
    Replace mv with its absolute path then:
    Code:
    /bin/mv .bash_login .bash_login_old
    
     
  5. hklobitana thread starter macrumors newbie

    Joined:
    Nov 24, 2009
    #5
    It works! Thank you very much. I will come back of you for sure if have a problem. Thanks again.
     
  6. mysterytramp macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland
    #6
    It would be great if someone here started a guide to the Terminal.

    mt
     
  7. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #7
    Your request has been answered, here.
     
  8. mysterytramp macrumors 65816

    mysterytramp

    Joined:
    Jul 17, 2008
    Location:
    Maryland

Share This Page