Here’s what else we managed to do.
Renamed the configuration file:
mv /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/mysql.conf.d/mysqld.cnf.back
Started the service:
systemctl start mysql
Then I stop the service:
systemctl stop mysql
The directory contains some data:
root@test-vm-1:~# ls -l /var/lib/mysql
total 79304
-rw-r----- 1 mysql mysql 56 июн 18 12:51 auto.cnf
-rw-r----- 1 mysql mysql 180 июн 18 12:51 binlog.000001
-rw-r----- 1 mysql mysql 16 июн 18 12:51 binlog.index
-rw------- 1 mysql mysql 1705 июн 18 12:51 ca-key.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 ca.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 client-cert.pem
-rw------- 1 mysql mysql 1705 июн 18 12:51 client-key.pem
-rw-r----- 1 mysql mysql 196608 июн 18 12:51 '#ib_16384_0.dblwr'
-rw-r----- 1 mysql mysql 8585216 июн 18 12:51 '#ib_16384_1.dblwr'
-rw-r----- 1 mysql mysql 3324 июн 18 12:51 ib_buffer_pool
-rw-r----- 1 mysql mysql 12582912 июн 18 12:51 ibdata1
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 '#innodb_redo'
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 '#innodb_temp'
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 mysql
-rw-r----- 1 mysql mysql 26214400 июн 18 12:51 mysql.ibd
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 performance_schema
-rw------- 1 mysql mysql 1705 июн 18 12:51 private_key.pem
-rw-r--r-- 1 mysql mysql 452 июн 18 12:51 public_key.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 server-cert.pem
-rw------- 1 mysql mysql 1705 июн 18 12:51 server-key.pem
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 sys
-rw-r----- 1 mysql mysql 16777216 июн 18 12:51 undo_001
-rw-r----- 1 mysql mysql 16777216 июн 18 12:51 undo_002
I return the configuration file:
mv /etc/mysql/mysql.conf.d/mysqld.cnf.back /etc/mysql/mysql.conf.d/mysqld.cnf
Bootstrap:
sudo -u mysql mysqld --defaults-file=/etc/mysql/mysql.cnf --wsrep-new-cluster
status:
root@test-vm-1:~# systemctl status mysql@bootstrap.service
× mysql@bootstrap.service - Percona XtraDB Cluster with config /etc/default/mysql.bootstrap
Loaded: loaded (/lib/systemd/system/mysql@.service; disabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2024-06-18 12:54:47 UTC; 5min ago
Process: 11878 ExecStartPre=/usr/bin/mysql-systemd start-pre (code=exited, status=0/SUCCESS)
Process: 11915 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 11917 ExecStartPre=/bin/sh -c VAR=`bash /usr/bin/mysql-systemd galera-recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_S>
Process: 12042 ExecStart=/usr/sbin/mysqld $EXTRA_ARGS $_WSREP_START_POSITION (code=exited, status=1/FAILURE)
Process: 12043 ExecStopPost=/usr/bin/mysql-systemd stop-post (code=exited, status=0/SUCCESS)
Main PID: 12042 (code=exited, status=1/FAILURE)
Status: "Server shutdown complete"
Error: 9 (Bad file descriptor)
CPU: 1.515s
июн 18 12:54:43 test-vm-1 systemd[1]: Starting Percona XtraDB Cluster with config /etc/default/mysql.bootstrap...
июн 18 12:54:47 test-vm-1 systemd[1]: mysql@bootstrap.service: Main process exited, code=exited, status=1/FAILURE
июн 18 12:54:47 test-vm-1 mysql-systemd[12043]: WARNING: mysql pid file /var/run/mysqld/mysqld.pid empty or not readable
июн 18 12:54:47 test-vm-1 mysql-systemd[12043]: WARNING: mysql may be already dead
июн 18 12:54:47 test-vm-1 systemd[1]: mysql@bootstrap.service: Failed with result 'exit-code'.
июн 18 12:54:47 test-vm-1 systemd[1]: Failed to start Percona XtraDB Cluster with config /etc/default/mysql.bootstrap.
июн 18 12:54:47 test-vm-1 systemd[1]: mysql@bootstrap.service: Consumed 1.515s CPU time.
Logs:
...
2024-06-18T12:36:29.163907Z 1 [Note] [MY-000000] [Galera] ================================================
View:
id: 62a80f1e-2d6f-11ef-9e38-5795e4c66d11:1
status: primary
protocol_version: 4
capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
final: no
own_index: 0
members(1):
0: 62a75415-2d6f-11ef-9dc8-67caa526e352, test-vm-1
=================================================
2024-06-18T12:36:29.163927Z 1 [Note] [MY-000000] [WSREP] Server status change connected -> joiner
2024-06-18T12:36:29.163934Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-06-18T12:36:29.163945Z 1 [Note] [MY-000000] [WSREP] Server status change joiner -> initializing
2024-06-18T12:36:29.163949Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-06-18T12:36:29.166083Z 0 [Note] [MY-012366] [InnoDB] Using Linux native AIO
2024-06-18T12:36:29.166116Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=10737418240. Please use innodb_redo_log_capacity instead.
2024-06-18T12:36:29.166248Z 0 [Note] [MY-010747] [Server] Plugin 'FEDERATED' is disabled.
2024-06-18T12:36:29.166302Z 0 [Note] [MY-010747] [Server] Plugin 'ndbcluster' is disabled.
2024-06-18T12:36:29.166315Z 0 [Note] [MY-010747] [Server] Plugin 'ndbinfo' is disabled.
2024-06-18T12:36:29.166320Z 0 [Note] [MY-010747] [Server] Plugin 'ndb_transid_mysql_connection_map' is disabled.
2024-06-18T12:36:29.167479Z 3 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2024-06-18T12:36:29.167501Z 3 [Note] [MY-013546] [InnoDB] Atomic write enabled
2024-06-18T12:36:29.167526Z 3 [Note] [MY-012932] [InnoDB] PUNCH HOLE support available
2024-06-18T12:36:29.167538Z 3 [Note] [MY-012944] [InnoDB] Uses event mutexes
2024-06-18T12:36:29.167543Z 3 [Note] [MY-012945] [InnoDB] GCC builtin __atomic_thread_fence() is used for memory barrier
2024-06-18T12:36:29.167556Z 3 [Note] [MY-012948] [InnoDB] Compressed tables use zlib 1.2.13
2024-06-18T12:36:29.170901Z 3 [Note] [MY-012951] [InnoDB] Using hardware accelerated crc32 and polynomial multiplication.
2024-06-18T12:36:29.171309Z 3 [Note] [MY-012203] [InnoDB] Directories to scan './'
2024-06-18T12:36:29.171344Z 3 [Note] [MY-012204] [InnoDB] Scanning './'
2024-06-18T12:36:29.175176Z 3 [Note] [MY-012208] [InnoDB] Completed space ID check of 7 files.
2024-06-18T12:36:29.175995Z 3 [Note] [MY-012955] [InnoDB] Initializing buffer pool, total size = 1.000000G, instances = 16, chunk size =64.000000M
2024-06-18T12:36:29.246662Z 3 [Note] [MY-012957] [InnoDB] Completed initialization of buffer pool
2024-06-18T12:36:29.258551Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.258591Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.258628Z 0 [Note] [MY-011951] [InnoDB] page_cleaner coordinator priority: -20
2024-06-18T12:36:29.258812Z 0 [Note] [MY-011954] [InnoDB] page_cleaner worker priority: -20
2024-06-18T12:36:29.258891Z 0 [Note] [MY-011954] [InnoDB] page_cleaner worker priority: -20
2024-06-18T12:36:29.258922Z 0 [Note] [MY-011954] [InnoDB] page_cleaner worker priority: -20
2024-06-18T12:36:29.258979Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259079Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259212Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259292Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259434Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259471Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259521Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259565Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259689Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259741Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259797Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259847Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259880Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.259932Z 0 [Note] [MY-011825] [InnoDB] lru_manager worker priority: -20
2024-06-18T12:36:29.261465Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
2024-06-18T12:36:29.263234Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
2024-06-18T12:36:29.265804Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
2024-06-18T12:36:29.266652Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
2024-06-18T12:36:29.268820Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
2024-06-18T12:36:29.269533Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
2024-06-18T12:36:29.271744Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
2024-06-18T12:36:29.272359Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
2024-06-18T12:36:29.274431Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
2024-06-18T12:36:29.274837Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
2024-06-18T12:36:29.277038Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
2024-06-18T12:36:29.277722Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
2024-06-18T12:36:29.279705Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
2024-06-18T12:36:29.280444Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
2024-06-18T12:36:29.282474Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
2024-06-18T12:36:29.283109Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
2024-06-18T12:36:29.285064Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_16.dblwr' for doublewrite
2024-06-18T12:36:29.285852Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_17.dblwr' for doublewrite
2024-06-18T12:36:29.287886Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_18.dblwr' for doublewrite
2024-06-18T12:36:29.288595Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_19.dblwr' for doublewrite
2024-06-18T12:36:29.290527Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_20.dblwr' for doublewrite
2024-06-18T12:36:29.291332Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_21.dblwr' for doublewrite
2024-06-18T12:36:29.293252Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_22.dblwr' for doublewrite
2024-06-18T12:36:29.293945Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_23.dblwr' for doublewrite
2024-06-18T12:36:29.295812Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_24.dblwr' for doublewrite
2024-06-18T12:36:29.296356Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_25.dblwr' for doublewrite
2024-06-18T12:36:29.298237Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_26.dblwr' for doublewrite
2024-06-18T12:36:29.298502Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_27.dblwr' for doublewrite
2024-06-18T12:36:29.300352Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_28.dblwr' for doublewrite
2024-06-18T12:36:29.300570Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_29.dblwr' for doublewrite
2024-06-18T12:36:29.302563Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_30.dblwr' for doublewrite
2024-06-18T12:36:29.302795Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_31.dblwr' for doublewrite
2024-06-18T12:36:29.304970Z 3 [Note] [MY-013566] [InnoDB] Double write buffer files: 32
2024-06-18T12:36:29.304986Z 3 [Note] [MY-013565] [InnoDB] Double write buffer pages per instance: 4
2024-06-18T12:36:29.305006Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_0.dblwr' for doublewrite
2024-06-18T12:36:29.305021Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_1.dblwr' for doublewrite
2024-06-18T12:36:29.305033Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_2.dblwr' for doublewrite
2024-06-18T12:36:29.305047Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_3.dblwr' for doublewrite
2024-06-18T12:36:29.305059Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_4.dblwr' for doublewrite
2024-06-18T12:36:29.305073Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_5.dblwr' for doublewrite
2024-06-18T12:36:29.305085Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_6.dblwr' for doublewrite
2024-06-18T12:36:29.305097Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_7.dblwr' for doublewrite
2024-06-18T12:36:29.305108Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_8.dblwr' for doublewrite
2024-06-18T12:36:29.305119Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_9.dblwr' for doublewrite
2024-06-18T12:36:29.305132Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_10.dblwr' for doublewrite
2024-06-18T12:36:29.305157Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_11.dblwr' for doublewrite
2024-06-18T12:36:29.305170Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_12.dblwr' for doublewrite
2024-06-18T12:36:29.305194Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_13.dblwr' for doublewrite
2024-06-18T12:36:29.305206Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_14.dblwr' for doublewrite
2024-06-18T12:36:29.305218Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_15.dblwr' for doublewrite
2024-06-18T12:36:29.305231Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_16.dblwr' for doublewrite
2024-06-18T12:36:29.305243Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_17.dblwr' for doublewrite
2024-06-18T12:36:29.305255Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_18.dblwr' for doublewrite
2024-06-18T12:36:29.305267Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_19.dblwr' for doublewrite
2024-06-18T12:36:29.305278Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_20.dblwr' for doublewrite
2024-06-18T12:36:29.305305Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_21.dblwr' for doublewrite
2024-06-18T12:36:29.305317Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_22.dblwr' for doublewrite
2024-06-18T12:36:29.305328Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_23.dblwr' for doublewrite
2024-06-18T12:36:29.305339Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_24.dblwr' for doublewrite
2024-06-18T12:36:29.305350Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_25.dblwr' for doublewrite
2024-06-18T12:36:29.305361Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_26.dblwr' for doublewrite
2024-06-18T12:36:29.305373Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_27.dblwr' for doublewrite
2024-06-18T12:36:29.305383Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_28.dblwr' for doublewrite
2024-06-18T12:36:29.305394Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_29.dblwr' for doublewrite
2024-06-18T12:36:29.305405Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_30.dblwr' for doublewrite
2024-06-18T12:36:29.305416Z 3 [Note] [MY-013532] [InnoDB] Using './#ib_16384_31.dblwr' for doublewrite
2024-06-18T12:36:29.375217Z 3 [Note] [MY-013883] [InnoDB] The latest found checkpoint is at lsn = 19738353 in redo log file ./#innodb_redo/#ib_redo6.
2024-06-18T12:36:29.375416Z 3 [Note] [MY-013086] [InnoDB] Starting to parse redo log at lsn = 19738171, whereas checkpoint_lsn = 19738353 and start_lsn = 19738112
2024-06-18T12:36:29.387853Z 3 [Note] [MY-013083] [InnoDB] Log background threads are being started...
2024-06-18T12:36:29.388920Z 3 [Note] [MY-012532] [InnoDB] Applying a batch of 0 redo log records ...
2024-06-18T12:36:29.388943Z 3 [Note] [MY-012535] [InnoDB] Apply batch completed!
2024-06-18T12:36:29.389643Z 3 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_001'.
2024-06-18T12:36:29.390634Z 3 [Note] [MY-013252] [InnoDB] Using undo tablespace './undo_002'.
2024-06-18T12:36:29.391596Z 3 [Note] [MY-012910] [InnoDB] Opened 2 existing undo tablespaces.
2024-06-18T12:36:29.391652Z 3 [Note] [MY-011980] [InnoDB] GTID recovery trx_no: 3602
2024-06-18T12:36:29.429492Z 3 [Note] [MY-013776] [InnoDB] Parallel initialization of rseg complete
2024-06-18T12:36:29.429541Z 3 [Note] [MY-013777] [InnoDB] Time taken to initialize rseg using 4 thread: 37893 ms.
2024-06-18T12:36:29.429629Z 3 [Note] [MY-012923] [InnoDB] Creating shared tablespace for temporary tables
2024-06-18T12:36:29.429692Z 3 [Note] [MY-012265] [InnoDB] Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2024-06-18T12:36:29.434531Z 3 [Note] [MY-012266] [InnoDB] File './ibtmp1' size is now 12 MB.
2024-06-18T12:36:29.434664Z 3 [Note] [MY-013627] [InnoDB] Scanning temp tablespace dir:'./#innodb_temp/'
2024-06-18T12:36:29.471866Z 3 [Note] [MY-013018] [InnoDB] Created 128 and tracked 128 new rollback segment(s) in the temporary tablespace. 128 are now active.
2024-06-18T12:36:29.472605Z 3 [Note] [MY-012976] [InnoDB] Percona XtraDB (http://www.percona.com) 8.0.33-25 started; log sequence number 19738363
2024-06-18T12:36:29.473693Z 3 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2024-06-18T12:36:29.487299Z 3 [Note] [MY-011089] [Server] Data dictionary restarting version '80023'.
2024-06-18T12:36:29.610780Z 3 [Note] [MY-012357] [InnoDB] Reading DD tablespace files
2024-06-18T12:36:29.611536Z 3 [Note] [MY-012356] [InnoDB] Scanned 9 tablespaces. Validated 9.
2024-06-18T12:36:29.627476Z 3 [Note] [MY-000000] [WSREP] wsrep_init_schema_and_SR (nil)
2024-06-18T12:36:29.637544Z 3 [System] [MY-000000] [WSREP] PXC upgrade completed successfully
2024-06-18T12:36:29.637611Z 3 [Note] [MY-010006] [Server] Using data dictionary with version '80023'.
2024-06-18T12:36:29.646674Z 0 [Note] [MY-011332] [Server] Plugin mysqlx reported: 'IPv6 is available'
2024-06-18T12:36:29.646828Z 0 [Note] [MY-011323] [Server] Plugin mysqlx reported: 'X Plugin ready for connections. bind-address: '::' port: 33060'
2024-06-18T12:36:29.646851Z 0 [Note] [MY-011323] [Server] Plugin mysqlx reported: 'X Plugin ready for connections. socket: '/var/run/mysqld/mysqlx.sock''
2024-06-18T12:36:29.684412Z 0 [Note] [MY-010856] [Server] Failed to open the crashed binlog file when source server is recovering it.
2024-06-18T12:36:29.708190Z 0 [Note] [MY-013911] [Server] Crash recovery finished in binlog engine. No attempts to commit, rollback or prepare any transactions.
2024-06-18T12:36:29.708233Z 0 [Note] [MY-013911] [Server] Crash recovery finished in InnoDB engine. No attempts to commit, rollback or prepare any transactions.
2024-06-18T12:36:29.712133Z 0 [Note] [MY-012487] [InnoDB] DDL log recovery : begin
2024-06-18T12:36:29.712610Z 0 [Note] [MY-012488] [InnoDB] DDL log recovery : end
2024-06-18T12:36:29.712880Z 0 [Note] [MY-011946] [InnoDB] Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2024-06-18T12:36:29.713725Z 0 [Note] [MY-011946] [InnoDB] Buffer pool(s) load completed at 240618 12:36:29
2024-06-18T12:36:29.746488Z 0 [Note] [MY-010182] [Server] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2024-06-18T12:36:29.748789Z 0 [Note] [MY-010304] [Server] Skipping generation of SSL certificates as certificate files are present in data directory.
2024-06-18T12:36:29.751593Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2024-06-18T12:36:29.751622Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2024-06-18T12:36:29.751899Z 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --sha256_password_auto_generate_rsa_keys as key files are present in data directory.
2024-06-18T12:36:29.752175Z 0 [Note] [MY-010308] [Server] Skipping generation of RSA key pair through --caching_sha2_password_auto_generate_rsa_keys as key files are present in data directory.
2024-06-18T12:36:29.755144Z 0 [Note] [MY-010252] [Server] Server hostname (bind-address): '*'; port: 3306
2024-06-18T12:36:29.755202Z 0 [Note] [MY-010253] [Server] IPv6 is available.
2024-06-18T12:36:29.755213Z 0 [Note] [MY-010264] [Server] - '::' resolves to '::';
2024-06-18T12:36:29.755230Z 0 [Note] [MY-010251] [Server] Server socket created on IP: '::'.
2024-06-18T12:36:29.791926Z 0 [Note] [MY-011025] [Repl] Failed to start replica threads for channel ''.
2024-06-18T12:36:29.796120Z 0 [Note] [MY-000000] [WSREP] Initialized wsrep sidno 2
2024-06-18T12:36:29.796158Z 0 [Note] [MY-000000] [Galera] Server initialized
2024-06-18T12:36:29.796145Z 7 [Note] [MY-010051] [Server] Event Scheduler: scheduler thread started with id 7
2024-06-18T12:36:29.796176Z 0 [Note] [MY-000000] [WSREP] Server status change initializing -> initialized
2024-06-18T12:36:29.796319Z 0 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-06-18T12:36:29.796422Z 1 [Note] [MY-000000] [Galera] Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2024-06-18T12:36:29.803184Z 11 [Note] [MY-000000] [WSREP] Starting applier thread 11
2024-06-18T12:36:29.803256Z 10 [Note] [MY-000000] [WSREP] Starting applier thread 10
2024-06-18T12:36:29.803461Z 13 [Note] [MY-000000] [WSREP] Starting applier thread 13
2024-06-18T12:36:29.803415Z 14 [Note] [MY-000000] [WSREP] Starting applier thread 14
2024-06-18T12:36:29.803451Z 12 [Note] [MY-000000] [WSREP] Starting applier thread 12
2024-06-18T12:36:29.803717Z 15 [Note] [MY-000000] [WSREP] Starting applier thread 15
2024-06-18T12:36:29.803779Z 16 [Note] [MY-000000] [WSREP] Starting applier thread 16
2024-06-18T12:36:29.804364Z 18 [Note] [MY-000000] [WSREP] Starting applier thread 18
2024-06-18T12:36:29.804633Z 0 [Note] [MY-011240] [Server] Plugin mysqlx reported: 'Using SSL configuration from MySQL Server'
2024-06-18T12:36:29.804336Z 17 [Note] [MY-000000] [WSREP] Starting applier thread 17
2024-06-18T12:36:29.804981Z 19 [Note] [MY-000000] [WSREP] Starting applier thread 19
2024-06-18T12:36:29.805147Z 23 [Note] [MY-000000] [WSREP] Starting applier thread 23
2024-06-18T12:36:29.805092Z 21 [Note] [MY-000000] [WSREP] Starting applier thread 21
2024-06-18T12:36:29.805205Z 22 [Note] [MY-000000] [WSREP] Starting applier thread 22
2024-06-18T12:36:29.805298Z 20 [Note] [MY-000000] [WSREP] Starting applier thread 20
2024-06-18T12:36:29.806435Z 24 [Note] [MY-000000] [WSREP] Starting applier thread 24
2024-06-18T12:36:29.807251Z 0 [Note] [MY-011243] [Server] Plugin mysqlx reported: 'Using OpenSSL for TLS connections'
2024-06-18T12:36:29.807379Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
2024-06-18T12:36:29.807469Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.33-25.1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Percona XtraDB Cluster (GPL), Release rel25, Revision 0c56202, WSREP version 26.1.4.3.
2024-06-18T12:36:29.810102Z 9 [Note] [MY-000000] [WSREP] Cluster table is empty, not recovering transactions
2024-06-18T12:36:29.810221Z 1 [Note] [MY-000000] [WSREP] Server status change initialized -> joined
2024-06-18T12:36:29.810232Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-06-18T12:36:29.810255Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
2024-06-18T12:36:29.820529Z 1 [Note] [MY-000000] [Galera] Recording CC from group: 1
2024-06-18T12:36:29.820567Z 1 [Note] [MY-000000] [Galera] Lowest cert index boundary for CC from group: 1
2024-06-18T12:36:29.820575Z 1 [Note] [MY-000000] [Galera] Min available from gcache for CC from group: 1
2024-06-18T12:36:29.820643Z 1 [Note] [MY-000000] [Galera] Server test-vm-1 synced with group
2024-06-18T12:36:29.820652Z 1 [Note] [MY-000000] [WSREP] Server status change joined -> synced
2024-06-18T12:36:29.820658Z 1 [Note] [MY-000000] [WSREP] Synchronized with group, ready for connections
2024-06-18T12:36:29.820664Z 1 [Note] [MY-000000] [WSREP] wsrep_notify_cmd is not defined, skipping notification.
Log of wsrep recovery (--wsrep-recover):
INFO: WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery_verbose.nueBT3' --pid-file='/var/lib/mysql/test-vm-1-recover.pid'
INFO: WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
Log of wsrep recovery (--wsrep-recover):
INFO: WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery_verbose.PZLEW6' --pid-file='/var/lib/mysql/test-vm-1-recover.pid'
INFO: WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
At the same time, the data directory by location increased:
root@test-vm-1:~# du --max-depth=1 -h /var/lib/mysql
11G /var/lib/mysql/#innodb_redo
4,0K /var/lib/mysql/#innodb_temp
116K /var/lib/mysql/sys
1,7M /var/lib/mysql/performance_schema
372K /var/lib/mysql/mysql
11G /var/lib/mysql
...
rw-r----- 1 mysql mysql 56 июн 18 12:51 auto.cnf
-rw-r----- 1 mysql mysql 180 июн 18 12:51 binlog.000001
-rw-r----- 1 mysql mysql 16 июн 18 12:51 binlog.index
-rw------- 1 mysql mysql 1705 июн 18 12:51 ca-key.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 ca.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 client-cert.pem
-rw------- 1 mysql mysql 1705 июн 18 12:51 client-key.pem
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_0.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_10.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_11.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_12.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_13.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_14.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_15.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_16.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_17.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_18.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_19.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_1.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_20.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_21.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_22.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_23.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_24.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_25.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:54 '#ib_16384_26.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_27.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:54 '#ib_16384_28.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_29.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_2.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:54 '#ib_16384_30.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_31.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_3.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_4.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_5.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_6.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_7.dblwr'
-rw-r----- 1 mysql mysql 65536 июн 18 12:55 '#ib_16384_8.dblwr'
-rw-r----- 1 mysql mysql 589824 июн 18 12:54 '#ib_16384_9.dblwr'
-rw-r----- 1 mysql mysql 3324 июн 18 12:51 ib_buffer_pool
-rw-r----- 1 mysql mysql 12582912 июн 18 12:55 ibdata1
drwxr-x--- 2 mysql mysql 4096 июн 18 12:55 '#innodb_redo'
drwxr-x--- 2 mysql mysql 4096 июн 18 12:55 '#innodb_temp'
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 mysql
-rw-r----- 1 mysql mysql 26214400 июн 18 12:55 mysql.ibd
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 performance_schema
-rw------- 1 mysql mysql 1705 июн 18 12:51 private_key.pem
-rw-r--r-- 1 mysql mysql 452 июн 18 12:51 public_key.pem
-rw-r--r-- 1 mysql mysql 1120 июн 18 12:51 server-cert.pem
-rw------- 1 mysql mysql 1705 июн 18 12:51 server-key.pem
drwxr-x--- 2 mysql mysql 4096 июн 18 12:51 sys
-rw-r----- 1 mysql mysql 16777216 июн 18 12:55 undo_001
-rw-r----- 1 mysql mysql 16777216 июн 18 12:55 undo_002