In view publisher site my view, the best way to make sure that your that is fix hacked wordpress database is via using a WordPress backup plugin. This is a relatively inexpensive, easy and elegant to use look at these guys way to be sure that your website is available to you.
No software system is resistant to bugs and vulnerabilities. Security holes will be found and bad guys will do their best to exploit them. Keeping your software up-to-date is a good way once security holes are found, because their products will be fixed by software sellers.
This is very handy plugin, protecting you against brute-force password-crack attacks. It keeps track of the IP address of every login attempt. You can configure the plugin to disable login attempts when a certain number of failed attempts is reached.
Note that this last step for new installations should try. If you might like to do it for installations, you will also need to change the table names inside the database.
These are only a few. Fantastic thing is they don't need much time to perform. These are easy solutions, which can be carried out.