sonar資料庫相關配置

2021-08-18 13:26:29 字數 515 閱讀 2246

首先,在mysql資料庫中新建乙個資料庫,我命名為sonar,然後,在sonar的安裝目錄下找到conf/sonar.properties檔案,

在其mysql5.x節點下輸入以下資訊:

sonar.jdbc.url=jdbc:mysql://ip

:3306/sonar?useunicode=true&characterencoding=utf8&rewritebatchedstatements=true&useconfigs=maxperformance

sonar.jdbc.username=your_usernamesonar.jdbc.password=your_passwordsonar.sorceencoding=utf-8

sonar.login=admin

sonar.password=admin

重啟sonarqube服務:./sonar.sh restart

再次訪問http://ip:9000(可能會有點慢),然後就可以用 admin/admin 登入進去使用了

Ambari資料庫分析 配置相關

重點介紹配置相關儲存。主要是服務對應的配置問題 主機對應的配置問題 使用者修改的配置問題.集群配置表,包含各種服務元件的相關配置 41 version1 1 core site 2 2 1489658977060 script create table clusterconfig config id...

資料庫相關

1.操作類 godb public goosundb open throws sqlexception public void close public cursor search int mark mark mark,null,null,null,col date desc if cursor n...

資料庫相關

資料庫的設計 分庫分表,記憶體資料庫,主從讀寫分離,資料庫中介軟體mycat 整合了主從讀寫分離,分庫分表等功能 資料庫優化 sql語句優化,資料庫配置優化,索引優化,資料庫設計優化 資料庫的鎖 1.樂觀鎖,表中增加版本字段,每次更改加1,查的時候先把版本字段查出來,更新的時候加上條件版本欄位沒變,...