/usr/bin/mysqloptimize is in mysql-client-5.5 5.5.35+dfsg-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/mysqlcheck
/usr/bin/mysqlcheck