I apologize if this is a dumb question.

Is there an additional jar that needs to be included to get mysql mode to 
work?

I'm using the JDBC URL: jdbc:h2:~/test;MODE=MYSQL  but it seems like the 
function mappings are still missing. For example, FROM_UNIXTIME is not 
defined.

I dug into the code a little bit and found org.h2.mode.FunctionsMySQL -- I 
tried manually executing some of the registration code and got an error:

```
CREATE ALIAS IF NOT EXISTS FROM_UNIXTIME FOR 
"org.h2.mode.FunctionsMySQL.fromUnixTime"
```

and got the following error:

```
Class "org.h2.mode.FunctionsMySQL" not found; SQL statement:
CREATE ALIAS IF NOT EXISTS FROM_UNIXTIME FOR 
"org.h2.mode.FunctionsMySQL.fromUnixTime" [90086-193] 90086/90086
```

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to