One way to do it is to pass those in ENSIME_JVM_ARGS environment variable:
ENSIME_JVM_ARGS="-Dsqltyped.url=jdbc:mysql://localhost:3306/mydb -Dsqltyped.driver=com.mysql.jdbc.Driver -Dsqltyped.username=root -Dsqltyped.password=" emacs
Better suggestions are welcomed but one way to pass those is in eclipse.ini:
$ grep sqltyped /opt/eclipse/eclipse.ini -Dsqltyped.url=jdbc:mysql://localhost:3306/mydb -Dsqltyped.driver=com.mysql.jdbc.Driver -Dsqltyped.username=root -Dsqltyped.password=
There was an error while loading. Please reload this page.