That shouldn't affect the file permissions, but that is definitely a separate issue. PowerGallery only works with a MySQL database version 4 or greater (i'd recommend 5.1 or the newest). MySQL is freely available for windows however, so you would just need to install it.
-justin