diff --git a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md index 155b0e32a30..90ca6b852ff 100644 --- a/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md +++ b/home/i18n/zh-cn/docusaurus-plugin-content-docs/current/start/mysql-change.md @@ -64,4 +64,17 @@ spring: url: jdbc:mysql://localhost:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false ``` +2. 缺少hibernate的mysq方言,导致启动异常 + 如果上述配置启动系统,出现` Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set`异常,需要在`application.yml`文件中增加以下配置: +```yaml +spring: + jpa: + properties: + hibernate: + dialect: org.hibernate.dialect.MySQL5InnoDBDialect +``` + +3. 通过docker启动时,需要修改host为宿主机的外网Ip,包括mysql连接字符串和redis。 + + **启动 HertzBeat 浏览器访问 http://ip:1157/ 开始使用HertzBeat进行监控告警,默认账户密码 admin/hertzbeat**