Connection
- The log in which data changes received from a replication master server are written is _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The Relay Log has the data changes received from a replication master server written in it. The problems encountered during the starting, running or stopping of ‘mysqld’ is written in error log.
- Which library file contains various portability macros and definitions?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
The ‘my_sys.h’ header file contains a variety of portability macros and definitions required for structures and functions. These structures and functions are used by the client library.
- Which header should be included first?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
The file ‘my_global.h’ takes care of including several other header files that are likely to be generally useful, like ‘stdio.h’. It also includes Windows compatibility information.
- mysql_init() returns a _____________.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
When NULL is passed to mysql_init() it automatically allocates a MYSQL structure, initializes it, and returns a pointer to it. The MYSQL data type is a structure containing information about a connection.
- When linking to a static MySQL C client library, the client library and the client application must use the same compiler option.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Generally, when linking to a static MySQL C client library, the client library and the client application must use the same compiler option when it is required to link the C runtime.