CREATE DATABASE IF NOT EXISTS camundabpm;
GRANT ALL ON camundabpm.* TO camundabpm@'localhost' IDENTIFIED BY 'MYSECRETPW';
GRANT ALL ON camundabpm.* TO camundabpm@'localhost.localdomain' IDENTIFIED BY  'MYSECRETPW';
GRANT ALL ON camundabpm.* TO camundabpm@'127.0.0.1' IDENTIFIED BY 'MYSECRETPW';
$ mysql camundabpm -u camundabpm -pMYSECRETPW <  mysql_cycle_7.0.0-alpha1.sql
$ mysql camundabpm -u camundabpm -pMYSECRETPW <  mysql_engine_7.0.0-alpha1.sql
$ mysql camundabpm -u camundabpm -pMYSECRETPW <  mysql_identity_7.0.0-alpha1.sql
and replace the lines:<dependency>
  <groupId>com.h2database</groupId>
  <artifactId>h2</artifactId>
  <scope>provided</scope>
</dependency>
<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>5.1.24</version>
</dependency>
driverClassName="org.h2.Driver" 
url="jdbc:h2:./camunda-h2-dbs/process-engine;MVCC=TRUE;TRACE_LEVEL_FILE=0"
username="sa"  
password=""
driverClassName="com.mysql.jdbc.Driver" 
url="jdbc:mysql://localhost:3306/camundabpm?autoReconnect=true"
  username="camundabpm"  
  password="MYSECRETPW"
$ ./startup.shAnother point to add to this is that the h2 JAR should be removed from the tomcat7 lib. Simply renaming it, say, 'mv h2-1.3.168.jar h2-1.3.168.jar.off', works fine.  If you don't do this, camunda will still try to create working directories all over the place, such as:
/tmp/hsperfdata_tomcat7/ (replace 'tomcat7' with the userID running your tomcat7 service.)
~tomcat7/camunda-h2-dbs/
and
/usr/share/tomcat7c/bin/camunda-h2-dbs/
Edward Siewick