DB query failed: SQLSTATE[HY000] [2002] No such file or directory
I have this situation and I don't know how to solve it and I'm looking for help. Plesk does not work for me because it mentions this error with mariadb
loft8339:# systemctl status mariadb.service -l ● mariadb.service - MariaDB 10.2.44 database server Loaded: loaded (/usr/lib/systemd/system/mariadb.service; disabled; vendor pre set: disabled) Drop-In: /etc/systemd/system/mariadb.service.d └─migrated-from-my.cnf-settings.conf /usr/lib/systemd/system/mariadb.service.d └─respawn.conf Active: activating (auto-restart) (Result: signal) since Wed 2022-12-07 05:23 :00 CST; 2s ago Docs: man:mysqld(8) https://mariadb.com/kb/en/library/systemd/ Process: 46723 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS --basedir=/usr $_WSREP_ NEW_CLUSTER $_WSREP_START_POSITION (code=killed, signal=ABRT) Process: 46697 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VA R= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && system ctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/ SUCCESS) Process: 46691 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_STAR T_POSITION (code=exited, status=0/SUCCESS) Main PID: 46723 (code=killed, signal=ABRT) CGroup: /system.slice/mariadb.service
Dec 07 05:23:00 loft8339.serverprofi24.com systemd[1]: Failed to start MariaDB 1 0.2.44 database server. Dec 07 05:23:00 loft8339.serverprofi24.com systemd[1]: Unit mariadb.service ente red failed state. Dec 07 05:23:00 loft8339.serverprofi24.com systemd[1]: mariadb.service failed. loft8339:# mysql --version mysql Ver 15.1 Distrib 10.2.44-MariaDB, for Linux (x86_64) using readline 5.1
Thank you in advance for your kind help to resolve this situation.