From a068bb13e1a3569b47fc621634431eaa3b34b087 Mon Sep 17 00:00:00 2001 From: Pradeep Panneerselvam Date: Sat, 3 Oct 2020 13:58:37 +0530 Subject: [PATCH] `http://localhost:8080/h2-console` Updated 'h2-console' over 'dbconsole' for higher versions (atleast 4.0.x) --- src/main/docs/guide/databaseConsole.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/docs/guide/databaseConsole.adoc b/src/main/docs/guide/databaseConsole.adoc index b9be7c6..31ca18e 100644 --- a/src/main/docs/guide/databaseConsole.adoc +++ b/src/main/docs/guide/databaseConsole.adoc @@ -1,6 +1,8 @@ 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/dbconsole` and login. If that throws 404 error, 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 +10,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]