How do I restore my data from hacked database
0
votes
0
answers
54
views
My database was just hacked. I tried doing some work and could not log in with the created user credentials. When I checked the database, I saw an intruder was removing the users and had created a replication_user, I tried removing them, and before I could run a backup, the intruder had changed the root password. I have stopped the server, the MySQL server is running in a Docker container, and I have backed up the volume containing all the files, including those in var/lib/mysql. Please, how do I restore it into a new database? The last full backup was from a few days ago
Asked by Aijay
(1 rep)
Jul 17, 2025, 06:22 PM