skip to Main Content

Bash command mysql : escape single quote from variable

This command echo "mysql -u root nextcloud -Bse 'DELETE FROM oc_filecache WHERE path=""${FILE_PATH}"";'" will show that mysql -u root nextcloud -Bse 'DELETE FROM oc_filecache WHERE path="files_encryption/keys/files/xxx/xxxx/xxx L'AME/2xxxx/OC_DEFAULT_MODULE/master_x626.shareKey";' There is a single quote in the path. When i execute command, this…

VIEW QUESTION
Back To Top
Search