Vidyalelo
MySQL · Q892

MySQL

Programming · MySQL · question 892

Q892

When building from source, the embedded server library is enabled by . . . . . . . .

A.
-with-embedded-server
Answer
B.
-with-server-embedded
C.
-with-embedded-library
D.
-with-library-embedded

Answer: Option A

Solution

Answer: Option A
Solution:
This question is about building MySQL from its source code. When you build MySQL from source, you have the option to include the embedded server library. This library allows you to use MySQL within other applications without starting a separate MySQL server.

The correct answer is Option A: -with-embedded-server.

This flag is passed during the configuration process of building MySQL. The other options are incorrect because they are not the standard flags used to enable the embedded server library.

So, to enable the embedded server library when building MySQL from source, you would use the following command:

./configure --with-embedded-server

This command tells the build process to include the embedded server library in the final MySQL build.