I have the same problem, but that solution didn't work for me
I tried with
1-
$ play
h2-browser
run
(apply evolution)
then back to h2-browser login screen
controller: org.h2.Driver
url jdbc: jdbc:h2:mem:play
username: sa
password
but it appears in a clean db
---
2-
I don't understand what should I put in my url, I can't enter
"jdbc:h2:tcp://localhost/mem:yourapp" in my browser... what do you
mean with modified url???
...
So, in the end, how can I connect with h2-browser to my in memory h2
db???
> in short: *"Opening two connections within the same virtual machine means
> opening two different (private) databases."*
>
> there are two solutions:
>
> - first, very fast and very... uncomfortable is:
> open first Play console, then from within play console run the
> h2-browser and at the end run the app (and perform DB evoulutions of your
> app). Then you can access with the same url as given in application.conf
> - but better way is just to use url suggested by H2 docs:
> - run your Play app and perform evolutions as usually
> - copy your db url (let's say: *jdbc:h2:mem:yourapp* )
> - Access it from any H2 browser or even IDE's Data Sources tab with
> modified url:
> *jdbc:h2:tcp://localhost/mem:yourapp*