I am unsure of the syntax I would need to use to do:
/etc/init.d/mysql restart or /etc/init.d/mysqld restart
This is for scripts so it can be easily ported onto Ubuntu (mysql) or CentOS (mysqld).
I'm just wanted a quick one liner (if possible). Or would I need to actually do a "find" for what is in /etc/init.d/