wordpress データベースをエクスポートしようとしていますphp wp-cli.phar db export
が、このエラーが発生します
mysqldump: Got error: 2002: "Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2)" when trying to connect
答えを探した後、mysql.service を起動しようとしましsudo systemctl start mysql
たが、見つかりません
Failed to start mysql.service: Unit mysql.service not found.
私も mariadb.service を起動しようとしましsudo systemctl start mariadb
たが、うまくいきませんでした
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
これらのエラーを解決する方法についての答えが見つかりません。誰か助けてもらえますか?