nerdexam
Oracle

1Z0-873 · Question #112

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

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

Installation and Configuration

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.

How the community answered

(45 responses)
  • A
    18% (8)
  • B
    76% (34)
  • C
    7% (3)

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

Topics

#Windows service installation#mysqld --install#defaults-file#service name

Community Discussion

No community discussion yet for this question.

Full 1Z0-873 Practice