-Added a proper permission denied response for resetting the mysql database
-MySQL database now properly checks permissions even if you aren't the primary administrator