I
I
Igor2020-02-24 08:57:26
MySQL
Igor, 2020-02-24 08:57:26

How to delete old posts along with attachments?

Good afternoon colleagues. The question is as follows: There is a website, there is a database. It is necessary to delete all old articles, for example, before May 3, 2019, along with photo attachments, etc. How to do it? The muscle is not strong at all.
I plan to do:
There is a database dump, attach the database on the left server and study the data structure (tables and what is written in them) and after I figure it out, go to the prod and clean it with my hands until May 3, 2019 or is it crap? How is it done correctly?
Introductory: debian server, mariyadb

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question