Q3
Single choice
MySQL is installed on a Linux server and has the following configuration:
[mysqld]
User=mysql
Datadir=/data/mysql
As the `root' user, change the datadir location by executing:
Shell> cp R /var/lib/mysql/data/mysql/ Shell> chown R mysql /data/mysql/
What is the purpose of changing ownership of datadir to the `mysql' user?