Looks like the database was installed incorrectly. Apparently, the directory that the database file is in (and, yes, with MySQL all databases are represented in the host operating system as files) has been marked as read only.
Find that directory and change the permissions to read/write/execute for the MySQL engine.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.