$ sudo systemctl status mysql ● mysql.service - MySQL Community Server [t]2022-01-18 09:19:15
関連するかも情報
$ mysql --version mysql Ver 8.0.27-0ubuntu0.21.04.1 for Linux on x86_64 ((Ubuntu)) [t]2022-01-18 09:18:15
もしかして mysqld.service は要らなかった?
$ sudo systemctl status mysql ● mysql.service - MySQL Community Server [t]2022-01-18 09:19:15
そっか、パスワード不要だったか。
$ sudo mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8 Server version: 8.0.27-0ubuntu0.21.04.1 (Ubuntu) [t]2022-01-18 09:21:17