Page 1 of 1

mysql command line problem

PostPosted: 28. March 2005 13:39
by calinc
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?

Thanks

PostPosted: 28. March 2005 16:01
by Kristian Marcroft
Hi,

try this command:

/opt/lampp/bin/mysql

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
KriS