Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

Increasing the value of which system variable enables mysqld to keep more tables open simultaneously?(a) table_cache(b) max_connect(c) delayed_queue_size(d) max_allowed_packetThe question was asked in a job interview.Question is from Tuning the Server topic in division General MySQL Administration of MySQL

Answer»

Correct answer is (a) table_cache

To EXPLAIN: The ‘table_cache’ STORES the size of the table cache. Increasing the VALUE enables ‘mysqld’ to keep more tables open simultaneously by REDUCING the number of files open and CLOSE operations.

52.

The largest value to which the variable ‘max_allowed_packet’ can be set is ______________(a) 1GB(b) 2GB(c) 4GB(d) 8GBThis question was addressed to me in an interview for internship.Enquiry is from Tuning the Server in section General MySQL Administration of MySQL

Answer»

Correct CHOICE is (a) 1GB

The explanation: The ‘max_allowed_packet’ STORES the MAXIMUM SIZE to which the buffer used for client communications can grow. The largest value to which ‘max_allowed_packet’ variable can be set is 1GB.

53.

Which system variable determines the number of rows from INSERT DELAYED statements that can be queued per table?(a) fast_queue_size(b) general_queue_size(c) slow_queue_size(d) delayed_queue_sizeI got this question in an interview.Asked question is from Tuning the Server in chapter General MySQL Administration of MySQL

Answer» RIGHT option is (d) delayed_queue_size

The BEST I can explain: The system variable ‘delayed_queue_size’ determines the number of rows from INSERT DELAYED STATEMENTS that can be queued PER table (for the storage ENGINES that support DELAYED inserts).
54.

Which mode exists at both global level and session-specific level?(a) sql_mode(b) key_buffer_size(c) server_mode(d) query_modeI have been asked this question in examination.My question comes from Tuning the Server in division General MySQL Administration of MySQL

Answer»

Correct option is (a) sql_mode

The best explanation: The SYSTEM variable ‘sql_mode’ that indicates the DEFAULT SQL mode is an example of a variable that exists at both the global and SESSION levels. This mode AFFECTS SEVERAL aspects of SQL statement processing.

55.

What is the property of InnoDB that enforces foreign key relationships stay intact?(a) atomicity(b) durability(c) consistency(d) referential integrityThe question was posed to me in examination.The query is from Maintaining Logs in chapter General MySQL Administration of MySQL

Answer»

Right ANSWER is (d) referential integrity

For explanation I WOULD say: The storage engine responsible for PROVIDING FOREIGN key support is INNODB. It enforces that the rules guarantee the foreign key relationship stays intact with no mismatching of data.

56.

The storage engine in MySQL that provides foreign key support is ___________(a) TRANSACTION(b) InnoDB(c) MyISAM(d) MEMORYThis question was addressed to me in an online quiz.The origin of the question is Maintaining Logs topic in division General MySQL Administration of MySQL

Answer»

Right choice is (B) INNODB

To elaborate: In MySQL, there are a list of storage engines to CHOOSE from. Each storage engine provides its own SET of FACILITIES. The foreign key facilities are provided by the InnoDB storage engine.

57.

What is the kind of delete when deletion of an employee from the table also deletes that employee from another table?(a) transparent(b) concrete(c) elaborate(d) cascadedThis question was posed to me at a job interview.This question is from Maintaining Logs in portion General MySQL Administration of MySQL

Answer»

Right choice is (d) cascaded

The best EXPLANATION: In MySQL, a cascaded delete and update are possible where records can be DELETED from multiple tables. These tables are related with the help of FOREIGN keys. Foreign keys make table UPDATES flexible.

58.

The ALL subquery performs operations on _____________(a) row(b) column(c) table(d) databaseThe question was asked during an interview.I need to ask this question from Maintaining Logs topic in section General MySQL Administration of MySQL

Answer»

The correct ANSWER is (B) column

The explanation is: The operators ‘ALL’ and ‘ANY’ are used to perform operations on columns. They are used in CONJUNCTION with a comparison operator in order to test the RESULT of a column subquery.

59.

The operators that are used when a subquery returns multiple rows to be evaluated in comparison to the outer query are _____________(a) IN and NOT IN(b) EXISTS and NOT EXISTS(c) OUTER JOIN and INNER JOIN(d) LEFT JOIN and RIGHT JOINThis question was posed to me in semester exam.Asked question is from Maintaining Logs in portion General MySQL Administration of MySQL

Answer» RIGHT answer is (a) IN and NOT IN

The best explanation: When there is a need to evaluate MULTIPLE ROWS in comparison to the outer query, the ‘IN’ and ‘NOT IN’ operators are used. They are used for testing WHETHER a comparison value is PRESENT in a set of values.
60.

Usage of aggregates in WHERE clause is not allowed.(a) True(b) FalseThis question was posed to me during an online exam.Query is from Maintaining Logs topic in division General MySQL Administration of MySQL

Answer»

The correct answer is (a) True

Explanation: The usage of AGGREGATES inside ‘WHERE’ clauses is not ALLOWED. For example, the following statement will not work: ‘SELECT * FROM my_table WHERE attribute_name = MAX(attribute_name)’, because the MAX VALUE is not known yet.

61.

The logging option to enable binary log index file is ______________(a) –log-bin-index(b) –bin-log-index(c) –index-log-bin(d) –index-bin-logI had been asked this question at a job interview.Query is from Maintaining Logs in division General MySQL Administration of MySQL

Answer»

Right option is (a) –LOG-bin-INDEX

Easy explanation: The ‘–log-bin-index’ is the logging option that enables the binary log index file. ‘–log-ERROR’ enables the error log file. Similarly, –log enables the general log file.

62.

The default value in seconds in the system variable ‘long_query_time’ is ______________(a) 5(b) 10(c) 20(d) 60This question was addressed to me during an interview.This is a very interesting question from Maintaining Logs in section General MySQL Administration of MySQL

Answer» RIGHT option is (b) 10

The explanation is: The server maintains a ‘long_query_time’ system VARIABLE that DEFINES slow queries (10 SECONDS by default). If a query takes more than these seconds of real time it is considered slow.
63.

The log that identifies statements that may be in need of being rewritten for better performance is ______________(a) error log(b) general query(c) slow query log(d) binary logThe question was posed to me during an internship interview.The origin of the question is Maintaining Logs in section General MySQL Administration of MySQL

Answer»

Correct choice is (c) SLOW query log

Easiest explanation: The purpose of the slow-query log is to help the IDENTIFICATION of STATEMENTS that may be in need of being rewritten for better performance. This helps in query optimizations.

64.

The log that contains a record of server startups and shutdowns and the messages about exceptional conditions is ______________(a) error log(b) general query(c) slow query log(d) binary logThe question was posed to me during an internship interview.Query is from Maintaining Logs in portion General MySQL Administration of MySQL

Answer»

The CORRECT CHOICE is (a) error log

For explanation: The error log contains a record of server startups and shutdowns and the messages about problems or exceptional CONDITIONS. If the server FAILS to START this log provides the help.

65.

The keyword used with UNION that retains duplicate rows is ______________(a) ALL(b) NARROW(c) STRICT(d) DISTINCTThis question was posed to me by my college professor while I was bunking the class.Origin of the question is Managing MySQL User Accounts topic in chapter General MySQL Administration of MySQL

Answer» RIGHT CHOICE is (a) ALL

To elaborate: The keyword ‘ALL’ used along with ‘UNION’ is not SYNONYMOUS with just the ‘UNION’ statement. It PRODUCES the duplicate rows, if they EXIST, from the combination of the two tables in the SELECT query.
66.

The keyword used with UNION that does not retain duplicate rows is _____________(a) ALL(b) NARROW(c) STRICT(d) DISTINCTThis question was posed to me in homework.My question is from Managing MySQL User Accounts in portion General MySQL Administration of MySQL

Answer» CORRECT answer is (d) DISTINCT

Easy EXPLANATION: The keyword ‘DISTINCT’ used along with ‘UNION’ is SYNONYMOUS with just the ‘UNION’ statement. It produces only the distinct rows from the combination of the two TABLES in the SELECT query.
67.

The ALL subquery performs the operation _____________(a) row(b) column(c) table(d) databaseI got this question in semester exam.This intriguing question comes from Managing MySQL User Accounts topic in portion General MySQL Administration of MySQL

Answer»

The correct option is (b) column

For explanation I WOULD SAY: The operators ‘ALL’ and ‘ANY’ are USED to perform OPERATIONS on columns. They are used in conjunction with a comparison OPERATOR in order to test the result of a column subquery.

68.

The operators used when a subquery returns multiple rows to be evaluated in comparison to the outer query are _____________(a) IN and NOT IN(b) EXISTS and NOT EXISTS(c) OUTER JOIN and INNER JOIN(d) LEFT JOIN and RIGHT JOINI have been asked this question during an interview for a job.This question is from Managing MySQL User Accounts in section General MySQL Administration of MySQL

Answer»

Right option is (a) IN and NOT IN

To explain I would say: When there is a NEED to evaluate multiple ROWS in comparison to the OUTER query, the ‘IN’ and ‘NOT IN’ OPERATORS are used. They are used for TESTING whether a comparison value is present in a set of values.

69.

Usage of aggregates in WHERE clause is disallowed.(a) True(b) FalseThis question was posed to me in an online interview.This key question is from Managing MySQL User Accounts in division General MySQL Administration of MySQL

Answer»

Correct option is (a) True

The explanation: The usage of aggregates inside ‘WHERE’ clauses is not allowed. For EXAMPLE, the FOLLOWING statement will not work: ‘SELECT * FROM my_table WHERE attribute_name = MAX(attribute_name)’, because the MAX value is not known YET.

70.

MySQL does not support the shared-memory connections on Windows.(a) True(b) FalseI got this question in my homework.This question is from Managing MySQL User Accounts topic in chapter General MySQL Administration of MySQL

Answer»

The correct answer is (b) False

Easiest explanation: MySQL supports shared MEMORY connections on Windows. This capability is disabled by default. In order to ENABLE it, the server is started with the ‘–shared-memory’ OPTION.

71.

The statement used to obtain access privileges to an account is ______________(a) OBTAIN(b) GET(c) GRANT(d) NEEDThis question was posed to me in exam.Question is taken from Managing MySQL User Accounts in division General MySQL Administration of MySQL

Answer»

Right choice is (c) GRANT

For explanation I would say: If the named ACCOUNT exists, ‘GRANT’ modifies its privileges. If the account does not exist, ‘GRANT’ CREATES it with the given privileges. It is used to OBTAIN access privileges.

72.

The stored-routine privileges are contained in ______________(a) user(b) db(c) tables_priv(d) procs_privThe question was posed to me in an internship interview.This question is from Managing MySQL User Accounts in division General MySQL Administration of MySQL

Answer» CORRECT CHOICE is (d) procs_priv

The best explanation: ‘procs_priv’ stores stored-routine PRIVILEGES. The grant table ‘user’ stores the users who can CONNECT to the server and their global privileges. ‘db’ has the database privileges records.
73.

The grant table that stores users who can connect to the server and their global privileges are ______________(a) user(b) db(c) tables_priv(d) procs_privI got this question at a job interview.My enquiry is from Managing MySQL User Accounts topic in chapter General MySQL Administration of MySQL

Answer»

Correct answer is (a) user

The best I can EXPLAIN: The grant table ‘user’ stores the USERS who can connect to the SERVER and their GLOBAL privileges. ‘db’ has the database privileges RECORDS. ‘tables_priv’ has table privileges.

74.

What are CROSS JOIN and JOIN are similar to?(a) INNER JOIN(b) NATURAL JOIN(c) OUTER JOIN(d) CARTESIAN JOINI have been asked this question by my college director while I was bunking the class.My question comes from Controlling How the Server Listens for Connections topic in division General MySQL Administration of MySQL

Answer»

Correct ANSWER is (a) INNER JOIN

Easiest explanation: The joins ‘CROSS JOIN’ and ‘JOIN’ types are exactly similar to the ‘INNER JOIN’. The statements CONTAINING ‘INNER JOIN’ can replace it with ‘CROSS JOIN’ or ‘JOIN’ to GET exactly the same RESULT.

75.

What is the clause that filters JOIN results called?(a) WHERE(b) SORT(c) GROUP(d) GROUP BYThis question was addressed to me by my college professor while I was bunking the class.I'm obligated to ask this question of Controlling How the Server Listens for Connections in portion General MySQL Administration of MySQL

Answer»

The correct answer is (a) WHERE

To elaborate: SOMETIMES the RESULT of a join is very large and is not desirable. In these cases, the results can be FILTERED with the help of the ‘WHERE’ clause which is followed by a set of conditions.

76.

What is the join where all possible row combinations are produced?(a) INNER JOIN(b) OUTER(c) NATURAL(d) CARTESIANI got this question in semester exam.Question is taken from Controlling How the Server Listens for Connections topic in division General MySQL Administration of MySQL

Answer»

Correct choice is (d) CARTESIAN

Explanation: In ‘cartesian product’, each row of each table is combined with each row in every other table to PRODUCE all POSSIBLE combinations. This produces a very LARGE number of rows since the number is the product of rows.

77.

In which table of INFORMATION_SCHEMA is the information about table index characteristics stored?(a) FILES(b) STATISTICS(c) SCHEMATA(d) VIEWSI have been asked this question in an interview for internship.My question comes from Controlling How the Server Listens for Connections in chapter General MySQL Administration of MySQL

Answer»

Correct answer is (b) STATISTICS

To explain I WOULD SAY: The ‘STATISTICS’ table in the ‘INFORMATION_SCHEMA’ stores information about the table index characteristics. ‘INFORMATION_SCHEMA’ is RESPONSIBLE for STORING database metadata.

78.

The disk data that the FILES table in INFORMATION_SCHEMA stores is ____________(a) NDB(b) NBD(c) NBK(d) NCDThe question was posed to me in an online quiz.My question is based upon Controlling How the Server Listens for Connections topic in division General MySQL Administration of MySQL

Answer» CORRECT answer is (a) NDB

Explanation: The ‘INFORMATION_SCHEMA’ is a method to access INFORMATION about the databases and its OBJECTS known as metadata. It has various tables that can be VIEWED with ‘SHOW’ statement.
79.

INFORMATION_SCHEMA is not based on the SQL standard.(a) True(b) FalseI had been asked this question in class test.My question is based upon Controlling How the Server Listens for Connections topic in chapter General MySQL Administration of MySQL

Answer» RIGHT option is (b) False

For explanation I WOULD SAY: ‘INFORMATION_SCHEMA’ is another way to access information about the databases and their OBJECTS (metadata). It is based on the ‘SQL standard’, although some content is MySQL-specific.
80.

MySQL supports shared-memory connections on Windows.(a) True(b) FalseI have been asked this question in an international level competition.My question is based upon Controlling How the Server Listens for Connections topic in portion General MySQL Administration of MySQL

Answer»

Right option is (a) True

The explanation: MySQL supports shared memory connections on Windows. This capability is disabled by DEFAULT. In order to enable it, the SERVER is STARTED with the ‘–shared-memory’ option.

81.

The option used to specify the socket file pathname is ______________(a) –socket(b) –pathtosocket(c) –path_socket(d) –socket_pathfileThe question was asked during an online interview.The question is from Controlling How the Server Listens for Connections topic in portion General MySQL Administration of MySQL

Answer» CORRECT option is (a) –SOCKET

Explanation: The default socket file usually is ‘/tmp/mysql.sock’. OPERATING system distributions that include MySQL often use a DIFFERENT LOCATION. The –socket option is used to specify explicitly.
82.

Which option is used to specify to the server the IP number of the server host on which the server should listen?(a) –verbose(b) –bind-address(c) –startup(d) –shutdownThe question was asked in examination.My question comes from Controlling How the Server Listens for Connections topic in section General MySQL Administration of MySQL

Answer»

Right OPTION is (b) –bind-address

Best explanation: If the server HOST has more than ONE IP number, the server can be SPECIFIED the one that it should USE when listening for connections by starting it with a ‘–bind-address’ option.

83.

The server listens on a network port for TCP/IP connections unless started with the option ______________(a) –networking(b) –skip-networking(c) –skip-networks(d) –quit-networkingThe question was asked in an internship interview.The query is from Controlling How the Server Listens for Connections in portion General MySQL Administration of MySQL

Answer»

Correct answer is (b) –skip-networking

The EXPLANATION: On all the platforms the SERVER LISTENS on a network port for the TCP/IP connections, unless and until it is started with the –skip-networking option. The DEFAULT port NUMBER is 3306.

84.

In the CREATE TABLE statement, the engine name specified is case insensitive.(a) True(b) FalseI have been asked this question in quiz.Enquiry is from Arranging for MySQL Server Startup and Shutdown topic in portion General MySQL Administration of MySQL

Answer»

The correct OPTION is (a) True

The explanation is: SUPPOSE a table is created using the FOLLOWING statement: ‘CREATE TABLE my_tbl (…..) ENGINE = InnoDB;’. The engine name ‘InnoDB’ USED is always case insensitive.

85.

The name of the format file for a table named my_tbl is __________(a) my_tbl.fmt(b) my_tbl.frm(c) my_tbl.fmr(d) my_tbl.ftmThis question was addressed to me during a job interview.This key question is from Arranging for MySQL Server Startup and Shutdown in portion General MySQL Administration of MySQL

Answer»

Right option is (b) my_tbl.frm

To ELABORATE: Every time a table is created in MySQL, it creates a DISK FILE containing the format of the table. It has TWO components, namely, base NAME (here, ‘my_tbl’) and an extension (here, ‘frm’).

86.

What is the default storage engine?(a) EXAMPLE(b) ARCHIVE(c) MyISAM(d) NDBI have been asked this question in my homework.Enquiry is from Arranging for MySQL Server Startup and Shutdown topic in portion General MySQL Administration of MySQL

Answer»

Right option is (C) MyISAM

For explanation: MySQL COMES with MULTIPLE storage engines. The DEFAULT storage ENGINE used is ‘MyISAM’. ‘EXAMPLE’ is the stub storage engine, NDB is the storage engine for MySQL Cluster.

87.

Which file is created by the server to store the database attributes?(a) db.otp(b) dp.zip(c) db.opt(d) db.clsThis question was addressed to me in quiz.Query is from Arranging for MySQL Server Startup and Shutdown in section General MySQL Administration of MySQL

Answer»

Correct option is (C) db.opt

For explanation: Whenever a database is created in MYSQL, the MySQL server creates a directory with the same NAME as the database. It creates the FILE db.opt to STORE the attributes.

88.

The keyword used to create a database is __________(a) CREATE(b) SET(c) SETUP(d) LINKI have been asked this question during an interview.This question is from Arranging for MySQL Server Startup and Shutdown in chapter General MySQL Administration of MySQL

Answer»

Correct OPTION is (a) CREATE

Best explanation: The statement ‘CREATE DATABASE database_name;’ is USED to create a database with the name ‘database_name’. A database QUALIFIER should be used to SPECIFY the full name of the database.

89.

It is required to have an access privilege for a database before selecting it with ‘USE’.(a) True(b) FalseThis question was addressed to me during an interview.My question comes from Arranging for MySQL Server Startup and Shutdown topic in section General MySQL Administration of MySQL

Answer»

The correct CHOICE is (a) True

The explanation is: In order to SELECT a database as the default database for the MySQL SERVER USING the ‘USE’ STATEMENT, some access privilege for the database needs to be granted or attained.

90.

Server startup can also be done by the ______________(a) option file(b) log file(c) error file(d) system fileThis question was addressed to me in a job interview.This interesting question is from Arranging for MySQL Server Startup and Shutdown in portion General MySQL Administration of MySQL

Answer» CORRECT answer is (a) option FILE

Best explanation: The options are listed in an option file. Options specified in this way are given ONE per line. Only the long option FORM can be used and it is written without the LEADING dashes.
91.

The option which finds the startup options supported by the server through mysqld is ______________(a) –verbose(b) –vertex(c) –startup(d) –shutdownI got this question during an online exam.I would like to ask this question from Arranging for MySQL Server Startup and Shutdown topic in chapter General MySQL Administration of MySQL

Answer»

The correct choice is (a) –verbose

The explanation is: The STATEMENT ‘mysqld –verbose –help’ is USED for FINDING out all the startup options that are supported by the SERVER. It is possible to run the server manually or AUTOMATICALLY.

92.

The error log file has a suffix ______________(a) .err(b) .er(c) .error(d) .logThe question was asked in quiz.Query is from Arranging for MySQL Server Startup and Shutdown in section General MySQL Administration of MySQL

Answer»

Right answer is (a) .ERR

The EXPLANATION is: In Windows, by DEFAULT, the error log is LOCATED in the ‘C:\Program Files\MySQL\MySQL SERVER 5.7\data’ directory. It is the file with a suffix of .err, or may be specified by passing in the ‘–log-error’ option.

93.

The statement used to find out which character sets are available is ______________(a) SHOW CHARACTER SET(b) SHOW COLLATION(c) SHOW CHARACTER SETS(d) SHOW COLLATIONSThis question was addressed to me during an interview.This interesting question is from Securing a New MySQL Installation in chapter General MySQL Administration of MySQL

Answer»

Correct choice is (a) SHOW CHARACTER SET

Easiest explanation: It is SIMPLE to determine the character sets and COLLATIONS that are AVAILABLE in MySQL. ‘SHOW CHARACTER SET’ shows the character sets while ‘SHOW COLLATION’ shows the collations.

94.

The clause that can be used to sort string values according to a specific collation is ______________(a) SORT(b) GROUP(c) FILTER(d) COLLATEI got this question in an internship interview.Question is taken from Securing a New MySQL Installation topic in section General MySQL Administration of MySQL

Answer»

The correct option is (d) COLLATE

For explanation I would SAY: The ‘COLLATE’ OPERATOR can be used to sort the string values according to a specific collation. For example, ‘SELECT COL FROM tbl ORDER BY col COLLATE latin1_swedish_ci’ SORTS by Swedish collation.

95.

The variable used to set table alias names as non case sensitive is ______________(a) lower_case_table_names(b) lower_case_all(c) lower_case_alias(d) lower_case_aliasesThe question was posed to me in semester exam.This is a very interesting question from Securing a New MySQL Installation topic in section General MySQL Administration of MySQL

Answer»

The correct choice is (a) lower_case_table_names

Easy explanation: In MySQL, by default the alias names are case SENSITIVE. An alias can hence be specified in any LETTER case, UPPER, LOWER or MIXED. If the variable ‘lower_case_table_names’ is non zero, the alias names of tables are not case sensitive.

96.

The case sensitive among these is ______________(a) Stored function name(b) Stored procedure name(c) Trigger name(d) Event nameI got this question during a job interview.My doubt is from Securing a New MySQL Installation topic in division General MySQL Administration of MySQL

Answer» RIGHT OPTION is (c) Trigger name

For explanation I would say: The stored functions and stored procedure names in MySQL are not case SENSITIVE. Event names are also not case sensitive. UNLIKE the standard SQL, the trigger names in MySQL is case sensitive.
97.

What does the default case sensitivity of database and table names depend on?(a) SQL server(b) Server SQL mode(c) Operating system of machine(d) Does not depend on anythingI got this question during an interview for a job.Enquiry is from Securing a New MySQL Installation topic in division General MySQL Administration of MySQL

Answer»

The correct choice is (c) Operating system of MACHINE

To elaborate: The default case SENSITIVITY IMPOSES a dependency on the operating system of the machine on which the MySQL server is RUNNING. Windows does not TREAT database and table names as case sensitive unlike Unix.

98.

For REVOKE statements, the server automatically rereads the grant tables.(a) True(b) FalseI have been asked this question in my homework.This question is from Securing a New MySQL Installation topic in section General MySQL Administration of MySQL

Answer»

The CORRECT option is (a) True

To elaborate: For the ‘REVOKE’ and ‘DROP USER’ statements, the server automatically re-reads the GRANT tables and no FLUSH PRIVILEGES statements are needed. Hence the grant tables are re-read.

99.

Anonymous accounts have user name ______________(a) root(b) blank(c) super(d) primeThe question was posed to me in an interview.I'm obligated to ask this question of Securing a New MySQL Installation topic in division General MySQL Administration of MySQL

Answer»

The correct option is (B) blank

To EXPLAIN: Anonymous accounts have user NAME left blank. The main benefit of removing the anonymous user accounts is it significantly simplifies the TASK of SETTING up non-anonymous accounts.

100.

Which script initializes the data directory during installation?(a) mysql_install_db(b) mysql_install_dbm(c) mysql_init_db(d) mysql_init_dbmThis question was addressed to me in unit test.My question is from Securing a New MySQL Installation in portion General MySQL Administration of MySQL

Answer»

The correct answer is (a) mysql_install_db

To elaborate: The data directory is initialized during the installation by ‘mysql_install_db’. If MYSQL is INSTALLED on LINUX from RPM packages then ‘mysql_install_db’ is RUN AUTOMATICALLY.