×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which is the correct MariaDB query to lock an existing user?

48. Which is the correct MariaDB query to lock an existing user?

  1. CREATE USER 'alex'@'localhost' ACCOUNT LOCK;
  2. ALTER USER 'alex'@'localhost' ACCOUNT LOCK;
  3. ALTER USER 'alex'@'localhost' LOCK;
  4. ALTER USER LOCK 'alex'@'localhost';

Answer: B) ALTER USER 'alex'@'localhost' ACCOUNT LOCK;

Explanation:

The correct MariaDB query to lock an existing user is:

Syntax:

ALTER USER 'alex'@'localhost' ACCOUNT LOCK;

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.