Darryl Reeves <[EMAIL PROTECTED]> writes:

> I am new to MySQL and was recently given a task where I need to
> transfer a database from one computer to another. Both computers are
> Macintoshes running OS X Panther. Both computers are running MySQL
> through localhost. The computer to which I am transferring the
> database has MySQL up and running perfectly fine. The computer from
> which I want to get the database is able to query the database through
> a web application using Perl but when I try to run MySQL from the Unix
> command line using the following text: "mysql -h localhost -u root -p"
> I get the following response "-sh: mysql: command not found." As far
> as I know, MySQL is installed correctly on this machine (I would
> assume it has to be in order for the web application to access the
> database through Perl and MySQL). If I can start and run MySQL, I know
> that I can dump the database using the "mysqldump" command. Does
> anyone have any suggestions on what I need to do to get the mysql
> command to execute correctly so that I can run the program?
>


You just need to find it first.

As root, do

find / -name mysql

and see where it is hiding.

Then either add that directory to your path, or use the full path in your
command.


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to