保存进度

This commit is contained in:
2026-02-05 20:01:27 +08:00
parent be9d2177c4
commit 7b4e79b2eb
3 changed files with 827 additions and 207 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -10,33 +10,33 @@
},
"dependencies": {
"scss": "^0.2.4",
"vue": "^3.5.26",
"vue-router": "^4.6.4"
"vue": "^3.5.27",
"vue-router": "^5.0.2"
},
"devDependencies": {
"@element-plus/icons-vue": "^2.3.2",
"@stylistic/eslint-plugin": "^5.6.1",
"@types/node": "^25.0.3",
"@typescript-eslint/eslint-plugin": "^8.52.0",
"@typescript-eslint/parser": "^8.52.0",
"@vitejs/plugin-vue": "^6.0.3",
"@stylistic/eslint-plugin": "^5.7.1",
"@types/node": "^25.2.0",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitejs/plugin-vue": "^6.0.4",
"@vue-office/docx": "^1.6.3",
"@vue-office/excel": "^1.7.14",
"@vue-office/pdf": "^2.0.10",
"@vue/tsconfig": "^0.8.1",
"axios": "^1.13.2",
"element-plus": "^2.13.0",
"axios": "^1.13.4",
"element-plus": "^2.13.2",
"eslint": "^9.39.2",
"eslint-plugin-vue": "^10.6.2",
"lodash": "^4.17.21",
"lodash-es": "^4.17.22",
"eslint-plugin-vue": "^10.7.0",
"lodash": "^4.17.23",
"lodash-es": "^4.17.23",
"path": "^0.12.7",
"sass": "^1.97.2",
"sass": "^1.97.3",
"typescript": "~5.9.3",
"vite": "^7.3.0",
"vite": "^7.3.1",
"vue-demi": "^0.14.10",
"vue-eslint-parser": "^10.2.0",
"vue-pdf-embed": "^2.1.3",
"vue-tsc": "^3.2.2"
"vue-tsc": "^3.2.4"
}
}

View File

@@ -160,3 +160,142 @@ new Error().stack.split('\n');
new Error().stack!.split('\n');
```
# mysql
my.cnf 文件
```
[client]
port = 3306
socket =/mysql/data/mysqltmp/mysqld.sock
default-character-set = utf8mb4
[mysql]
prompt = [\\u@\\h][\\d]>\\_
[mysqld]
# basic settings #
port = 3306 #服务器的端口号
#路径设置,必须和上文的一致
basedir = /mysql/mysql-9.5.0
datadir = /mysql/data/mysqldata_u01/mysqldb
socket = /mysql/data/mysqltmp/mysqld.sock
pid-file = /mysql/mysql-9.5.0/mysqld.pid
tmpdir = /mysql/data/mysqltmp
user = mysql
sql_mode = "STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER"
autocommit = 1
character_set_server=utf8mb4
transaction_isolation = READ-COMMITTED
explicit_defaults_for_timestamp = 1
max_allowed_packet = 96M
slave_pending_jobs_size_max= 100M
event_scheduler = 1
lower_case_table_names = 1
# connection #
interactive_timeout = 1800
wait_timeout = 1800
lock_wait_timeout = 1800
skip_name_resolve = 1
max_connections = 1000
max_user_connections = 1000
max_connect_errors = 10
# session memory setting #
read_buffer_size = 2M
read_rnd_buffer_size = 4M
sort_buffer_size = 4M
tmp_table_size = 8M
join_buffer_size = 8M
# log settings #
slow_query_log = 1
log-error =/mysqlslowlog/error.log
slow-query-log-file=/mysqlslowlog/slowquery.log
general_log_file = /mysqlslowlog/general.log
log_queries_not_using_indexes = 1
log_slow_admin_statements = 1
log_slow_slave_statements = 1
log_throttle_queries_not_using_indexes = 10
expire_logs_days = 5
long_query_time = 2
min_examined_row_limit = 100
binlog-rows-query-log-events = 1
log-bin-trust-function-creators = 1
log-slave-updates = 1
# innodb settings #
innodb_page_size = 16K
innodb_buffer_pool_size=20G
innodb_buffer_pool_instances = 16
innodb_buffer_pool_load_at_startup = 1
innodb_buffer_pool_dump_at_shutdown = 1
innodb_lru_scan_depth = 1024
innodb_lock_wait_timeout = 5
innodb_io_capacity = 2048
innodb_io_capacity_max = 4096
innodb_flush_method = O_DIRECT
innodb_file_format = Barracuda
innodb_file_format_max = Barracuda
innodb_undo_logs = 128
innodb_undo_tablespaces = 3
innodb_flush_neighbors = 1
innodb_log_file_size = 1G
innodb_log_files_in_group = 2
innodb_log_buffer_size = 2M
innodb_purge_threads = 4
innodb_large_prefix = 1
innodb_thread_concurrency = 16
innodb_print_all_deadlocks = 1
innodb_strict_mode = 1
innodb_sort_buffer_size = 4M
innodb_write_io_threads = 4
innodb_read_io_threads = 4
innodb_file_per_table = 1
innodb_stats_persistent_sample_pages = 64
innodb_autoinc_lock_mode = 2
# semi sync replication settings #
plugin_load = "validate_password.so;rpl_semi_sync_master=semisync_master.so;rpl_semi_sync_slave=semisync_slave.so"
rpl_semi_sync_master_enabled = 1
rpl_semi_sync_master_timeout = 3000
rpl_semi_sync_slave_enabled = 1
# password plugin #
#密码策略密码16字节长数字字母大小写和特殊字符每种至少两个字符。
validate_password_policy=2
validate_password_length=16
validate_password_mixed_case_count=2
validate_password_number_count=2
validate_password_special_char_count=3
# 5.7 #
# new innodb setting #
loose_innodb_numa_interleave=1
innodb_buffer_pool_dump_pct = 40
innodb_page_cleaners = 4
innodb_undo_log_truncate = 1
innodb_max_undo_log_size = 2G
innodb_purge_rseg_truncate_frequency = 128
# new replication setting #
slave-parallel-type = LOGICAL_CLOCK
slave-parallel-workers = 8
slave_preserve_commit_order=1
slave_transaction_retries=128
# other change setting #
binlog_gtid_simple_recovery=1
log_timestamps=system
show_compatibility_56=on
# patch #
symbolic_links=0
```
初始化
```
/mysql/mysql-9.5.0/bin/mysqld --defaults-file=/etc/my.cnf --user=mysql --initialize --console
```
root密码 p)daqvACh5<s