MySQL problem

sub-spaced

Registered
Please can anybody help me.
I have mysql installed, initially running OS 10.1 I could use the terminal window to remote login to a web server and create/edit tables etc
I have since upgraded to 10.2 OS and now cannot login through the terminal

[Darren-Stevenss-Computer:~] darrenst% mysql -h mysql.host.co.uk -u name_db -p
mysql: Command not found.
[Darren-Stevenss-Computer:~] darrenst%

This is what I continually get.

This might be a simple problem, I would appreciate any help

Thanks
 
your path is set wrong.

it doesn't know where to look for mysql. you need to do 2 things...

1. find the path to you mysql.
2. add that path to your $PATH. you can do that by adding ....

setenv PATH $PATH:/path/to/mysql

to the appropriate file. i believe .tcsh or similar is where to add it, but you'll have to check around for that.
 
Thanks for your replies,

I am a complete novice when it comes to this and I really don't know where to start in correcting the problem.

If anybody knows of any tutorials out there that can help a complete beginner I would be grateful.

Thanks
 
Back
Top