Sample java app that connects to Mysql via a JDBC adapter. It reads the connection settings from the JDBC_MYSQL_URI env variable.
$ apc app create jdbc-mysql -dr --restart noCreate a mysql service using one of your mysql providers
$ apc service create mysql-service -t mysql --provider /apcera/bootstrap::mysql --batchBind the app to this new service
$ apc service bind mysql-service -j jdbc-mysqlStart the app
$ apc app start jdbc-mysql