I accidentally deleted about 20 blog posts and they were in my trash folder for over a month and now have permanently deleted. I was wondering if there's a way to recover these? For example I have seen mention of MySql database and phpMyAdmin, and was wondering if these would be applicable in my case and, if so, how do I use them? Thanks in advance!
Do you have backups of your database? If not, ask your hosting provider if they have backup copies of your database from the time before the posts were deleted.
Unfortunately, it's impossible to recover deleted posts from within WordPress or current MySQL database. That's because it's called Permanently delete.
The only opportunity to recover deleted posts is to roll back the whole database from the backup if it exists. Check your hosting panel — may be you have Automatic Backups setting enabled.