要檢查 MySQL/MariaDB 服務是否運行,可以在登入後使用命令 sudo systemctl status mysql 或 sudo systemctl status mariadb 來檢查資料庫服務是否正在運行。