The problem is that the mysql server goes down sometimes.
And I want to fix that using monit.
For that I need to have the absolute path of mysql / mariaDB.
But when I use this /etc/init.d/mysqld it cannot be found