feat: 完成 aof 备份恢复功能

This commit is contained in:
ssongliu
2022-11-04 19:02:15 +08:00
committed by ssongliu
parent 917a11457e
commit a111e04c65
19 changed files with 981 additions and 626 deletions

View File

@@ -33,6 +33,7 @@ export namespace Database {
password: string;
remoteConn: boolean;
mysqlKey: string;
containerName: string;
}
export interface MysqlConfUpdateByFile {
mysqlName: string;
@@ -63,6 +64,13 @@ export namespace Database {
thread_cache_size: number;
thread_stack: number;
tmp_table_size: number;
slow_query_log: string;
long_query_time: number;
}
export interface VariablesUpdate {
param: string;
value: any;
}
export interface MysqlStatus {
Aborted_clients: number;