|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > ok mysql, old & new. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|