I'm trying to reinstall MySQL on my centos os. So I removed every single file and packages that is associated with MySQL. But after all that, when I type in mysql in the command line, instead of saying it's unknown, it says -bash: /usr/bin/mysq; No such file or directory. Is that normal? Or did I do something wrong. Thanks in advance.
Asked
Active
Viewed 35 times
0
-
What does this show: rpm -qa | grep -i ^mysql – Donal Aug 26 '14 at 18:21
-
it says grep: -: No such file or directory – user1932868 Aug 26 '14 at 18:29
-
http://stackoverflow.com/questions/19434728/bash-error-after-opening-terminal-and-running-shell-scripts-centos – Donal Aug 26 '14 at 18:40
-
When I do echo $SHELL and which bash it says /bin/bash which according to the link is normal. – user1932868 Aug 26 '14 at 18:46
1 Answers
0
Nvm, it worked fine after a reboot. I guess I should always reboot the machine before posting anything and see if that fixes it :)

user1932868
- 69
- 2
- 7