0

I am just beginning to learn about databases and I installed XAMPP on my macBook for that purpose. I would like to use the 'mysql' commandline tool but my installation of XAMPP is ran as a separate VM which means that I don't have a path from /Applications/XAMPP/xamppfiles/bin/mysql available. The closest thing I have been able to find is the path to this root directory :

/Users/kafka/.bitnami/stackman/machines/xampp/volumes/root

which contains a bin folder leading to a mysql file.

/Users/kafka/.bitnami/stackman/machines/xampp/volumes/root/bin/mysql

Could I use that path to run the commandline tool or am I missing something?

4
  • Duplicate of this i guess stackoverflow.com/questions/3354046/… Commented Aug 9, 2018 at 10:52
  • you should look for the xamp control panel. You should find a shell button (at least this is how it looks on windows) Commented Aug 9, 2018 at 10:52
  • stackoverflow.com/questions/3354046/… I looked at this and it seemed to be relating to a non-VM install of XAMPP which includes a path my installation doesn't have. Commented Aug 9, 2018 at 10:56
  • 1
    There is an 'open terminal' button in the control panel which opens a terminal window with the prompt : root@debian:~#, however when I issue an 'ls' command I get no ouput and pwd gives only /root. So I don't see how this window relates to the root folder in my path /Users/kafka/.bitnami/stackman/machines/xampp/volumes/root (which isn't empty) Commented Aug 9, 2018 at 11:00

1 Answer 1

1

If you click on the 'Open Terminal' Button inside your XAMPP App you can simply call mysql with mysql -u root.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.