Java Reference
In-Depth Information
H2 Console
As discussed earlier, Grails enables the H2 database console in development mode (at the URI
/dbconsole
) so that the in-memory database can be easily queried from the browser. To see the
parameters should match the default in
grails-app/conf/Datasource.groovy
, as illustrated in
Figure
7-29
.
Figure 7-29.
Login screen of H2
You can get the user name and password from
Datasource.groovy
. Figure
7-30
illustrates the H2
console.
