When I installed NetBeans IDE 6.1 with Glassfish and MySQL bundle I have 'Permission Denied' problem on MySQL start-up. What is the right way to start MySQL ?
When you install the bundle installer creates MySQL configuration file inside of installation directory. In order to avoid using of default values you should point MySQL explicitly to this config.
If you installed the bundle under root then you may use the following command:
cd "$INSTALLDIR"; ./bin/mysqld_safe --defaults-file="$INSTALLDIR"/my.cnf --user=mysql &
If you did installation as a regular user, then you may use this one:
cd "$INSTALLDIR"; ./bin/mysqld_safe --defaults-file="$INSTALLDIR"/my.cnf &
Applies to: NetBeans 6.1
Platforms: Linux, Solaris