you can these commands to restore your mySQL data >
To extract the statements from an entire binary log file, run this command:
mysqlbinlog mysql_bin.000001 | mysql -u root -ppassword database_name
if you want to extract the lost data from several binary log files, use this command:
mysqlbinlog mysql_bin.000001 mysql_bin.000002 | mysql -u root -ppassword database_name
If you know when this data was added to the database, you can extract statements by using the relevant timestamps:
mysqlbinlog --start-datetime="2017-04-20 10:01:00" \ --stop-datetime="2017-04-20 9:59:59" mysql_bin.000001 \ | mysql -u root -ppassword database_name
Reference :
https://www.eversql.com/oh-man-i-accidently-deleted-production-data-from-the-database/