首页 试题详情
单选题

MySQL is installed on a Linux server and has this configuration: [mysqld] user=mysql datadir=/data/mysql/ As the ‘root’ user, you 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?

A MySQL needs to be run as the root user, but files cannot be owned by it.

B The mysqld process requires all permissions within datadir to be the same.

C MySQL cannot be run as the root user.

D MySQL requires correct file ownership while remaining secure. 31 / 118

正确答案:A (备注:此答案有误)

相似试题

  • 单选题

    MySQL is installed on a Linux server and has this configuration: [mysqld] user=mysql datadir=/data/mysql/ As the ‘root’ user, you 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?

    答案解析

  • 单选题

    Choose the best answer.MySQL is installed on a Linux server with this configuration: [mysqld]User=mysqlDatadir=/data/mysqlWhich method sets the default authentication to SHA-256 hashing for authenticating user account passwords?

    答案解析

  • 单选题

    Choose the best answer.You plan to upgrade your MySQL 5.7 instance to version 8. You have installed the 8 build of MySQL Shell.Examine this command executed from the operating system shell prompt: mysqlsh --uri root@localhost:3306 -- util checkForServerUpgradeWhich statement is true?

    答案解析

  • 单选题

    The MySQL service name is MySQL. The command to stop the MySQL service is ( )

    答案解析

  • 单选题

    THE POTABLE WATER SERVICE PANEL IS INSTALLED ON THE:

    答案解析

热门题库