DIGIT-ARC read-only archive · snapshot: July 23, 2026

how to use lampp's mysql for other programme

3 posts · originally from https://geek.digit.in/community/threads/how-to-use-lampps-mysql-for-other-programme.89340/

mak1012
mak1012 Original post #1
Jun 1, 2008 at 11:38 AM
hi,
i have installed the lampp server in ubuntu hardy. I have some Question to ask.
1. Can i use the mysql of lampp server for java?
2. After starting lampp server when I give a command mysql to terminal it gives me this error
Code:
ak@makomania:~$ sudo /opt/lampp/lampp start
[sudo] password for mak: 
Starting XAMPP for Linux 1.6.6...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
mak@makomania:~$ mysql
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

please advise me how i use the mysql for other programme.
M
Jun 1, 2008 at 11:52 AM
Well the mysql of lampp isn't in the environment variable PATH that is why this is happening.
kalpik
kalpik #3
Jun 1, 2008 at 12:52 PM
You need to cd to /opt/lampp/mysql/bin