# Start H2 Database on Windows

In 
H2
Published 2022-12-03

This tutorial explains to you how you can start the H2 database on Windows.

H2 is an open source database written in Java. H2 database can be embedded in Java applications or run in the client-server mode.

H2 database can be configured to run as in-memory database, which means that data will not persist on the disk, but the access is very fast.

H2 provides transaction support (read committed), 2-phase-commit and table level locking.

H2 supports encrypted database (AES), SHA-256 password encryption, encryption functions and SSL.

If you want to start a H2 database on Windows, it is a simple task. You can use the Command Prompt or you can double click directly the h2w.bat file.

When you run the file the H2 database Console will open:

Enter the default "sa" password and click on "Connect" in order to connect to the H2 database:

As you can see the database is started and you can use it !