I am running lampp on linux and trying to access Mysql using command line, but getting error as -bash: mysql: command not found

enter image description here

  • 1
    Could you copy/paste the lines instead of using an image, to improve readibility? Could you connect to MySQL using ther tools (workbench, eg)? – Marc Vanhoomissen Jul 12 '17 at 7:26
  • @MarcVanhoomissen: i am able to access using PHPMyAdmin, but not using the command line. – Suresh Kamrushi Jul 12 '17 at 7:32

Most likely you've not installed MySQL command line client. In 16.04 the client can be found from package mysql-client-core-5.7.

Not the answer you're looking for? Browse other questions tagged or ask your own question.