The installed Plesk version is less than 12.0.
Running SQL queries via
plesk dbutility are not working:
# plesk db "select * from domains;"
-bash: plesk: command not found
plesk command was introduced only since Plesk 12.0 and it is detected as unknown in all older versions of the product.
Upgrade Plesk to at least 12.0 to get an opportunity to use
Use the following command to run SQL queries:
cat /etc/psa/.psa.shadowmysql -u admin psa -e "select * from domains;"