Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac Applications
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 24, 2009, 09:18 AM   #1
hklobitana
macrumors newbie
 
Join Date: Nov 2009
Error in the mac os x Terminal window

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?
hklobitana is offline   Reply With Quote
Old Nov 24, 2009, 09:32 AM   #2
wrldwzrd89
macrumors 601
 
Join Date: Jun 2003
Location: 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.
__________________
iMac Intel, 1TB HDD upgrade, 10.6.2; iMac G5, 300GB HDD, 10.4.11/10.5.8; iPod touch, 3.1.3
wrldwzrd89 is offline   Reply With Quote
Old Nov 25, 2009, 03:23 AM   #3
hklobitana
Thread Starter
macrumors newbie
 
Join Date: Nov 2009
when i used the mv .bash_login .bash_login_old

I got this message.

-bash: mv: command not found
hklobitana is offline   Reply With Quote
Old Nov 25, 2009, 04:33 AM   #4
wrldwzrd89
macrumors 601
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by hklobitana View Post
when i used the mv .bash_login .bash_login_old

I got this message.

-bash: mv: command not found
Replace mv with its absolute path then:
Code:
/bin/mv .bash_login .bash_login_old
__________________
iMac Intel, 1TB HDD upgrade, 10.6.2; iMac G5, 300GB HDD, 10.4.11/10.5.8; iPod touch, 3.1.3
wrldwzrd89 is offline   Reply With Quote
Old Nov 25, 2009, 07:40 AM   #5
hklobitana
Thread Starter
macrumors newbie
 
Join Date: Nov 2009
It works! Thank you very much. I will come back of you for sure if have a problem. Thanks again.
hklobitana is offline   Reply With Quote
Old Nov 25, 2009, 09:00 AM   #6
mysterytramp
macrumors 6502a
 
mysterytramp's Avatar
 
Join Date: Jul 2008
Location: Maryland
It would be great if someone here started a guide to the Terminal.

mt
__________________
What looks large from a distance, close up ain't never that big.
mysterytramp is offline   Reply With Quote
Old Nov 25, 2009, 09:58 AM   #7
wrldwzrd89
macrumors 601
 
Join Date: Jun 2003
Location: Solon, OH
Quote:
Originally Posted by mysterytramp View Post
It would be great if someone here started a guide to the Terminal.

mt
Your request has been answered, here.
__________________
iMac Intel, 1TB HDD upgrade, 10.6.2; iMac G5, 300GB HDD, 10.4.11/10.5.8; iPod touch, 3.1.3
wrldwzrd89 is offline   Reply With Quote
Old Nov 25, 2009, 05:37 PM   #8
mysterytramp
macrumors 6502a
 
mysterytramp's Avatar
 
Join Date: Jul 2008
Location: Maryland
Much obliged.

mt
__________________
What looks large from a distance, close up ain't never that big.
mysterytramp is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac Applications

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:36 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC