@@ -202,8 +202,10 @@ def is_installed(check_cmd):
202202 'check' :'systemctl is-active mariadb 2>/dev/null | grep -q "^active" && echo found || (which mariadbd 2>/dev/null && mariadbd --version 2>/dev/null | grep -c MariaDB)' ,
203203 'versions' :[
204204 {'label' :'10.11.11 (LTS)' , 'value' :'10.11' },
205- {'label' :'11.4.5 (LTS)' , 'value' :'11.4' },
206- {'label' :'11.7.2 (Latest Stable)' , 'value' :'11.7' },
205+ {'label' :'12.3.2 (Latest Stable)' , 'value' :'12.3' },
206+ {'label' :'11.8.8' , 'value' :'11.8' },
207+ {'label' :'11.4.5 (LTS)' , 'value' :'11.4' },
208+ {'label' :'10.11 (LTS)' , 'value' :'10.11' },
207209 ],
208210 'install_tpl' :'''curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup -o /tmp/mariadb_repo.sh && \
209211 bash /tmp/mariadb_repo.sh --mariadb-server-version="mariadb-{ver}" && \
@@ -1165,7 +1167,7 @@ def mstat(v): return sh(f"mysql -e 'SHOW STATUS LIKE \"{v}\"' 2>/dev/null | awk
11651167 'logs' :logs ,'log_path' :log_path ,
11661168 'port' :port ,'datadir' :datadir ,
11671169 'current_status' :current_status ,'optimization' :optimization ,'slow_log' :slow_log ,
1168- 'versions' :[{'label' :'11.7 (Latest)' ,'value' :'11.7' },{'label' :'11.4 (LTS)' ,'value' :'11.4' },{'label' :'10.11 (LTS)' ,'value' :'10.11' },{'label' :'10.6 (LTS)' ,'value' :'10.6' }]})
1170+ 'versions' :[{'label' :'12.3 (Latest)' , 'value' : '12.3' },{ 'label' : '11.8' , 'value' : '11.8' },{ 'label' : '11.7 ' ,'value' :'11.7' },{'label' :'11.4 (LTS)' ,'value' :'11.4' },{'label' :'10.11 (LTS)' ,'value' :'10.11' },{'label' :'10.6 (LTS)' ,'value' :'10.6' }]})
11691171
11701172 elif mod_id == 'redis' :
11711173 status = sh ('systemctl is-active redis-server 2>/dev/null || systemctl is-active redis' ) or 'inactive'
0 commit comments