Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 22nd, 2001, 08:48 PM
studentnumber5 studentnumber5 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Atlanta
Posts: 3 studentnumber5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok mysql, old & new.

How do I fix this error? mysqld is running, but can't use mysql.

~> mysql
bash: mysql: command not found

ideally I would like to just remove current mysql and start from scratch to learn the whole process. If anyone can point me to the location I can learn how to do that on SuSE, that would be very helpful.

Thank you.

Reply With Quote
  #2  
Old May 23rd, 2001, 07:02 AM
ike ike is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Germany
Posts: 3 ike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
hi,

your problem is that the executable called 'mysql' is not known by the shell called 'bash'.
add the Path to the mysql-binary to your PATH-variable in your User-environment and you will never see this errormessage again.

how to find the path to the binary?
when mysql is installed with RPM, you can ask the RedhatPackageManager where he has installed these files:
$rpm -qa | grep -i mysql #to get name of mysql-package
$rpm -ql mysql-package-name | grep bin/mysql

or try:
$whereis mysql
$find /usr -name mysql -exec ll {} \;

to add the Path to your PATH-variable, do :
$export PATH=$PATH:/path/to/mysql
and add this to your /etc/profile or ~/.profile

to deinstall mysql:
$rpm -qa | grep -i mysql #to get name of mysql-package installed
$rpm -e package-name #to uninstall mysql package

cheers.
ike

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > ok mysql, old & new.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway