Is there any way to delete file using SQL command ? I have image files in filesystem, and links to them in DB. For example:
CREATE TABLE products ( i
You can't do this from within MySQL. The only things it can do to affect files are create new ones as part of a SELECT ... INTO OUTFILE ... query. There's no facilities for manipulating external files, let alone deleting them.
SELECT ... INTO OUTFILE ...