MySQL Forums
Forum List  »  Knowledge Base

mysql symbols
Posted by: Neil Mason
Date: August 01, 2007 01:34AM

Hi everyone,
This is my first time in, so I hope someone can help me.
I am using an Apple Mac running OSX10.4. I am trying to connect to a sql database file which is sitting on the desktop, named travel_rocks_sql.txt. When I go into the Terminal to install mysql and the database, I am running into problems. You have to understand, I am a novice. I have typed in the following:

cd /usr/local/mysql
sudo chown -R mysql data/
sudo echo
./bin/mysqld_safe &
/usr/local/mysql/bin/mysql test

echo PATH=/usr/local/mysql/bin:

I have saved this, then closed it, then reopned it.

To install the database which is on the desktop, I have wrote the following:

cat ~/Desktop/travel_rocks_sql.txt
This runs the database and shows lots of code ending in dump complted. I then type
mysql -u root -p

I get a message saying -bash: mysql: command not found

Any advice would be much appreciated. Thanks Neil

Options: ReplyQuote

Written By
mysql symbols
August 01, 2007 01:34AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.