If this is a localhost SQL Server or MySQL Database then the best way to ensure that the database is safe is to not allow remote access to the SQL Server or MySQL so that the database can only be accessed from the localhost.
Make sure that all your database and servers passwords are strong passwords.
Setting a lockout rule on the server, using 'Local Security Policy' or 'Group Security Policy', so that only a set number of logins are allowed to server users accounts will help prevent or slow down brute force password attacks.
Restrict Remote Desktop (RDP) connections to the server to certain IP addresses through Windows Firewall or even better a hardware firewall, if you have one. If you can not restrict it by IP and you use a hardware firewall see if you can restrict RDP connections to just your own country.