浏览代码

Update README.md

tteckster 3 年之前
父节点
当前提交
dc3ecbf4b0
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -617,7 +617,11 @@ sudo systemctl status mariadb
 ``` 
 Change the recorder: `db_url:` in your HA configuration.yaml
  
-Example: `mysql://admin:password@192.168.100.26:3306/homeassistant?charset=utf8mb4`
+Example:
+```
+recorder:
+  db_url: mysql://admin:password@192.168.100.26:3306/homeassistant?charset=utf8mb4
+```
  
 ⚙️ **To Update Mariadb:**