The following will detect mysql, but not mariadb:
https://github.com/richardforth/apache2buddy/blob/staging/apache2buddy.pl#L2644
I'm not sure whether these should be considered as two individual services, or both together.
Based on RHEL9.8, modifying the above to:
our $mysql_detected = ps -C 'mysqld mariadbd' -o rss | grep -v RSS;
would cover both.
The following will detect mysql, but not mariadb:
https://github.com/richardforth/apache2buddy/blob/staging/apache2buddy.pl#L2644
I'm not sure whether these should be considered as two individual services, or both together.
Based on RHEL9.8, modifying the above to:
our $mysql_detected =ps -C 'mysqld mariadbd' -o rss | grep -v RSS;would cover both.