Forum Moderators: open
[mysqld]
performance-schema=0
innodb_force_recovery=4
# innodb_buffer_pool_size = 6G
innodb_file_per_table=1
join_buffer_size = 2M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
symbolic-links=0
# pid-file=/var/run/mysqld/mysqld.pid
max_allowed_packet=268435456
low_priority_updates=1
concurrent_insert=ALWAYS
## Table Cache
table_open_cache=2k
table_definition_cache=8k
open_files_limit=10000
## Query Cache
query_cache_size=128M
query_cache_limit=2M
## Key Buffer
key_buffer_size=2G
sql-mode=''
## Errors
slow_query_log=1
#log-queries-not-using-indexes
long_query_time=1 # 1 second, was 5
slow_query_log_file=/var/log/mysqld.slow.log
log-error=/var/log/mysqld.log
2021-05-15 3:43:10 5368803 [Warning] Sort aborted, host: localhost, user: [MY_USERNAME], thread: 5368803, query: SELECT username, image, title, city, gender, age, wanting_gender, wanting_age_min, wanting_age_max, description FROM personals WHERE gender = 'Man' AND wanting_gender = 'Man' AND age >= 18/**//**/OR/**/(SELECT/**/2*(IF((SELECT/**/*/**/FROM/**/(SELECT/**/CONCAT(0x6b767261,(SELECT/**/(ELT(2836=2836,1))),0x7443576e))s),/**/8446744073709551610,/**/8446744073709551610))) AND age <= 64 ORDER BY updated DESC SELECT username, image, title, city, gender, age, wanting_gender, wanting_age_min, wanting_age_max, description FROM personals WHERE gender = 'Man' AND wanting_gender = 'Man' AND age >= 18 AND age <= 64 ORDER BY updated DESC 2021-05-15 17:09:16 0 [Warning] InnoDB: Ignoring a doublewrite copy of page [page id: space=0, page number=737] with future log sequence number 690626617420
2021-05-15 17:09:16 0 [ERROR] InnoDB: Page [page id: space=0, page number=7] log sequence number 690626577502 is in the future! Current system log sequence number 690626034159.
2021-05-15 17:09:16 0 [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Please refer to https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about forcing recovery. I would try to instead dump the content of the database to a text file and rebuild the tables from scratch.
First step to proceed is to inform your clients. They will find out sooner or later that their site is read-only or maybe even corrupted. Better to be pro-active on that.
Second step is assessing the real damage to the databases. The last few days were filled with crash recovery, table rebuilding but I miss an assessment of the extent of the damage. Most problems might have been solved, or there might be some real problems still in the dark corners of the InnoDB tables. The only way to know is let a real database administrator look at it and let them fix what is fixable, and delete what is beyond repair.
Third step, consider your future options. You will not be the first company that ceases operation after a central database crash without recent backup.