how to use lampp's mysql for other programme

Status
Not open for further replies.

mak1012

Journeyman
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.
 

mehulved

18 Till I Die............
Well the mysql of lampp isn't in the environment variable PATH that is why this is happening.
 
Status
Not open for further replies.
Top Bottom