I am trying to run #wp db optimize and it returns: /usr/bin/env: 'mysqlcheck': No such file or directory I understand that this app ins't inside the jailkit and that I can use "jk_cp -j /var/www/clients/client1/webXX /usr/bin/mysqlcheck" to manually copy that file into the desired jailkit. My question is... is there a more efficient means of copying the file into multiple jailkits...? (obviously, every wp site I have and future user sites will need 'mysqlcheck' inside jailkit in order to fully utilize wp-cli).
Answering my own question... add mysqlcheck to the jk_init.ini under mysql-client section.. paths = /usr/bin/mysqlcheck then initialize the specific jailkit or wait for the cron to do for the jailkits. learning.