can't get to start mysql in my shell

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

can't get to start mysql in my shell

Postby mokomoko » 09. January 2009 23:58

Hi there. This is my first post :D

I'm having the same problem :evil:

Everything seems to be working properly:
Code: Select all
/opt/lampp/lampp status
Version: XAMPP for Linux 1.7
Apache is running.
MySQL is running.
ProFTPD is running.


But I can't get to start mysql in my shell:
Code: Select all
/opt/lampp/bin$ mysql -u root -p
The program 'mysql' is currently not installed.  You can install it by typing:
sudo apt-get install mysql-client-5.0
bash: mysql: command not found


Does anyone have any idea what is going wrong here?

Thanks
mokomoko
 
Posts: 2
Joined: 09. January 2009 23:44

Re: Cannot start MySQL

Postby Wiedmann » 10. January 2009 02:36

Code: Select all
/opt/lampp/bin$ mysql -u root -p

Code: Select all
./mysql -u root -p


Does anyone have any idea what is going wrong here?

"man bash" can give you a hint, how your shell is searching for programs.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: can't get to start mysql in my shell

Postby mokomoko » 10. January 2009 17:17

Thank you very much for your help, Wiedmann :D
I did a quick read on 'man bash', and now I understand.
Now I can access mysql properly.
mokomoko
 
Posts: 2
Joined: 09. January 2009 23:44


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests