You have to change the permissions or ownership of your MySQL data directory. Likely, the data directory is owned by root but the MySQL process is running under the user mysql.
To find out where your data directory is located, use the bellow command.
$ mysqladmin variables | grep datadir
$ chown -R mysql:mysql /var/lib/mysql
That's assuming that your MySQL process is running as the user mysql.