I have a mac os x.
I install Netbeans 7.2 with Glassfish
I install XAMPP
Glassfish is fine, XAMPP has green lights, and netbeans is working.
I want to use MySQL with a Java application that's using Glassfish. I am not having success starting mysql from the terminal. Even after adding XAMPP's mysql to path
export PATH=$PATH:/Applications/XAMPP/xamppfiles/bin/mysql
I still can't get to mysql from terminal. Will someone please help?
$PATH contains directories containing commands, not the executables themselves. It should be:
export PATH=$PATH:/Applications/XAMPP/xamppfiles/bin