Description:
When not using the bundled repository (using a local mysql installation instead). The mysqlmonitorctl.sh script for tomcat/mysql does not give any feedback that you are not using the bundled repository. It doesn't start/stop the local mysql installation obviously, but doesn't give any indication that you cannot use the script to stop it.
The 'status' option on the other hand, gives 'Not running' which can be confusing.
The manual doesn't have any mention of the kind of response you get if you are not using the bundled repository either.
'restart' is probably the same.
How to repeat:
Use the stop/start/status/restart of the mysql process when you are running with a local version of mysql for the repository (not the bundled one).
Suggested fix:
If you are not using the bundled version then there should be different messages output from the mysqlmonitorctl.sh script alerting you to the fact that you are not using the bundled repository.
Add some messages if you are not using the bundled version to the script and to the manual to explain them.