数据库控制台

jmms在开发模式下内置了一个h2 cosole用于访问数据库(仅限于H2文件数据库),具体页面如下:

如何开启?

  • 设置profile=dev
spring.profiles.active=dev

通过jmms run命令启动会自动设置

  • 配置db.console=true

config.json

{
    "db": {
        "console": true
    }
}

开启后访问http://localhost:8080/$db

Bingosoft            updated 2018-07-23
下一篇:数据库迁移

results matching ""

    No results matching ""