je tente la proposition de toto, l’ancien slash est sur /media/Slash11/
cat /media/Slash11/var/lib/mysql/mysql_upgrade_info
10.3.31-MariaDB
cat /var/lib/mysql/mysql_upgrade_info
10.5.15-MariaDB
rm -r /var/lib/mysql/
cp -a /media/Slash11/var/lib/mysql /var/lib/
/etc/init.d/mariadb restart
Démarrer le serveur mariaDB : ne marche pas
mais comme j’étais sur le disque qui ne marche plus je tente depuis la sauvagarde
scp -r root@ee:/202205-SAUVEGARDE_Slash11/var/lib/mysql .
/etc/init.d/mariadb restart
Restarting mariadb (via systemctl): mariadb.serviceJob for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
failed!
journalctl -xe
Starting MariaDB 10.5.15 database server...
░░ Subject: L'unité (unit) mariadb.service a commencé à démarrer
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) mariadb.service a commencé à démarrer.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [Note] /usr/sbin/mariadbd (mysqld 10.5.15-MariaDB-0+deb11u1) starting as process 5527 ...
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [Warning] Can't create test file /var/lib/mysql/deb11P.lower-test
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] mariadbd: File '/var/lib/mysql/aria_log_control' not found (Errcode: 13 "Permission denied")
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] mariadbd: Got error 'Can't open file' when trying to use aria control file '/var/lib/mysql/aria_log_contr>
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Plugin 'Aria' init function returned error.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] InnoDB: The innodb_system data file 'ibdata1' must be writable
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Plugin 'InnoDB' init function returned error.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [Note] Plugin 'FEEDBACK' is disabled.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Could not open mysql.plugin table: "Table 'mysql.plugin' doesn't exist". Some plugins may be not loaded
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Failed to initialize plugins.
juin 15 14:36:07 deb11P mariadbd[5527]: 2022-06-15 14:36:07 0 [ERROR] Aborting
juin 15 14:36:07 deb11P systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit mariadb.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
juin 15 14:36:07 deb11P systemd[1]: mariadb.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit mariadb.service has entered the 'failed' state with result 'exit-code'.
juin 15 14:36:07 deb11P systemd[1]: Failed to start MariaDB 10.5.15 database server.
░░ Subject: L'unité (unit) mariadb.service a échoué
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ L'unité (unit) mariadb.service a échoué, avec le résultat failed.
drwxr-xr-x 46 root root 4096 15 juin 14:35 mysql
ls -al /var/lib/mysql/aria_log_control
-rw-r----- 1 root root 52 15 juin 14:35 /var/lib/mysql/aria_log_control
ls -al /var/lib/mysql/ibdata1
-rw-r----- 1 root root 79691776 15 juin 14:34 /var/lib/mysql/ibdata1
bon je dois bouger je verrais ça plus tard