1

Installed a fresh Bitnami Lamp from here https://bitnami.com/stack/lamp/installer Now the localhost and phpmyadmin in browser is working but when in terminal i typed mysql command in lamp/mysql/bin directory it is saying

mysql command not found.

I am very new to the linux env and have recently installed ubuntu. I don't know if i should save the PATH but it seems to me the path problem will only be if it works inside the bin directory. But it does not work there.

which mysql doesn't do anything at all

Waqar Haider
  • 119
  • 4
  • Welcome to Ask Ubuntu. can you check it using `which mysql` and please [edit](https://askubuntu.com/posts/1168364/edit) your post with including the outpur. – abu-ahmed al-khatiri Aug 25 '19 at 10:56
  • 3
    Possible duplicate of [My program cannot run with "command not found" error](https://askubuntu.com/questions/110803/my-program-cannot-run-with-command-not-found-error) – Martin Thornton Aug 25 '19 at 11:12
  • @MartinThornton I think they are two completely different question. – Kulfy Aug 25 '19 at 18:44

1 Answers1

2

Go to your lampp/mysql/bin using terminal
after that use this

./mysql -u root -p  

hope this will help you..