nerdexam
Oracle

1Z0-873 · Question #112

1Z0-873 Question #112: Real Exam Question with Answer & Explanation

The correct answer is B. MySQL will be installed as Windows service name MySQL50 and will use C:\my-opts.cnf as. shell> mysqld --install my_service shell> mysqld --install my_service --defaults-file=C:\server-opts shell> mysqld --remove shell> net start my_service shell> net stop my_service

Question

What will the following statement do in a Windows environment? Assume that there are no conflicts in the pathname definitions. C:> mysqld --install MySQL50 --defaults-file=C:\my-opts.cnf

Options

  • AMySQL 5.0 will be installed using default configuration file C:\my-opts.cnf.
  • BMySQL will be installed as Windows service name MySQL50 and will use C:\my-opts.cnf as
  • CAn error message will be issued as --install is not a valid option for mysqld.

Explanation

shell> mysqld --install my_service shell> mysqld --install my_service --defaults-file=C:\server-opts shell> mysqld --remove shell> net start my_service shell> net stop my_service

Community Discussion

No community discussion yet for this question.

Full 1Z0-873 Practice