Efficiently Adding things to Jailkit

Discussion in 'ISPConfig 3 Priority Support' started by yupthatguy, Oct 29, 2021.

  1. yupthatguy

    yupthatguy Member

    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).
     
  2. yupthatguy

    yupthatguy Member

    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.
     

Share This Page