简体   繁体   中英

Is there a way to open h2 console while some other application is also accessing the same db?

I am using h2 db in a java application. I am using H2 console to view the contents of db, but it only works when no other application is accessing the db. Is there a way to open h2 console while some other application is also accessing the same db?

To be able to connect from multiple application you can configure your db to accept tcp connection. Basically, you can do that by using jdbc:h2:tcp in your db url.

Read more about this here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM