From e9cb45ce83127b6e108a537f566095dc135324e4 Mon Sep 17 00:00:00 2001 From: Jay Harris Date: Fri, 2 Apr 2021 11:31:55 -0400 Subject: [PATCH] Update URL for h2-console According to [this](https://github.com/grails/grails-core/issues/11232#issuecomment-459769596), the correct URL for the database console if the developer follows the steps in the guide is now `/h2-console` instead of `dbconsole`. --- src/main/docs/guide/databaseConsole.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/docs/guide/databaseConsole.adoc b/src/main/docs/guide/databaseConsole.adoc index b9be7c6..077b44e 100644 --- a/src/main/docs/guide/databaseConsole.adoc +++ b/src/main/docs/guide/databaseConsole.adoc @@ -1,6 +1,6 @@ If you run the app again, you should see the same page as before. However, you can login to the DB Console and view your new database table. -Browse to `http://localhost:8080/dbconsole` and login. The default username is `sa`, without a password. The default JDBC URL is: `jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE` +Browse to `http://localhost:8080/h2-console` and login. The default username is `sa`, without a password. The default JDBC URL is: `jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000;DB_CLOSE_ON_EXIT=FALSE` image::dbconsole.png[DB Console] @@ -8,4 +8,4 @@ NOTE: You can view the JDBC url in `application.yml`, under `environments` `deve Once you've logged in to the DB Console, you should see your new `VEHICLES` table in the left-hand sidebar. Click the `+` icon to expand the table - you should see a list of columns, including the three `String` fields we just defined, `name`, `make,` and `model`. -image::dbconsole-2.png[DB Console] \ No newline at end of file +image::dbconsole-2.png[DB Console]