MySql command prompt on Mac OSX

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

MySql command prompt on Mac OSX

Postby Goofy » 21. January 2006 16:51

I'm using xampp for Mac OSX and I can't work out how to get the MySql command prompt up so I can view my database etc using the command prompt. Anyone got any tips?
Posts: 4
Joined: 15. November 2005 12:18

Postby capitalfellow » 20. April 2006 17:48

You need to add the mysql binary to your command path. There are two ways to do this. As a temporary fix:

mymachine:~ me$ PATH=$PATH:/Applications/xampp/xamppfiles/bin; \
export PATH

permanent fix:

mymachine:~ me$ cd
mymachine:~ me$ vi .bash_profile

# User specific environment and startup programs
# use xampp versions of PHP over OS X installed

export PATH
<save the file and quit>
mymachine:~ me$ source .bash_profile
User avatar
Posts: 60
Joined: 19. July 2005 01:10
Location: Charlotte, NC USA
XAMPP Version: 5.6.3
Operating System: OS X

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 1 guest