mysql command line problem

Problems with the Linux version of XAMPP, questions, comments, and anything related.

mysql command line problem

Postby calinc » 28. March 2005 13:39

I wanted tu run mySql from commandline but it gives me the following error

[calin@localhost bin]$ mysql
bash: mysql: command not found

Can anyone give me an idea what to do?

Posts: 2
Joined: 28. March 2005 12:57

Postby Kristian Marcroft » 28. March 2005 16:01


try this command:


if you only type "mysql" your system searches in /bin, /usr/bin and /usr/local/bin and not in /opt/lampp or /opt/lampp/bin

So you have to tell your system which mysql you mean.

So long
User avatar
Kristian Marcroft
AF Moderator
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests