Bonjour à tous.
Je dois mettre en place une base de données sous debian 10.
Après l'installation de mariadb-server (qui semble bien se passer), j'ai une première erreur:
root@sgpia:~# mysql -u root
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
Je me suis donc rendu compte que le service ne se lance pas:
[....] Restarting mysql (via systemctl): mysql.serviceJob for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
failed!
Voici le statut du service:
* mariadb.service - MariaDB 10.3.22 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-02-19 09:57:12 UTC; 1min 48s ago
Docs: man:mysqld(8)
https://mariadb.com/kb/en/library/systemd/
Process: 15973 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 15974 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 15976 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _
Process: 16024 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=226/NAMESPACE)
Main PID: 16024 (code=exited, status=226/NAMESPACE)
Feb 19 09:57:12 sgpia systemd[1]: Starting MariaDB 10.3.22 database server...
Feb 19 09:57:12 sgpia systemd[1]: mariadb.service: Main process exited, code=exited, status=226/NAMESPACE
Feb 19 09:57:12 sgpia systemd[1]: mariadb.service: Failed with result 'exit-code'.
Feb 19 09:57:12 sgpia systemd[1]: Failed to start MariaDB 10.3.22 database server.
Je suis donc à la recherche de solution.
Merci pour vos contributions.
Message édité par dicapino le 19-02-2020 à 11:01:58