MySQL Database Operations


  1. Which is the log in which data changes received from a replication master server are written?











  1. 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.


  1. Multiple MySQL servers can be easily run on the same machine.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    It is useful to run multiple servers on the same machine under certain circumstances. A new MySQL release can also be tested while leaving the current production server in place.



  1. The MySQL server is poorly configurable.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The MySQL server is highly configurable. Some of the operational characteristics that you can control include which storage engines the server supports, the default character set, and its default time zone.


  1. Which function returns reference to array of row values?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    ‘fetchrow_arrayref()’ returns a reference to an array of row values. The function ‘fetchrow_hashref()’ returns reference to hash of row values. ‘fetch()’ is the same as fetchrow_arrayref().



  1. The function ‘fetchrow_hashref()’ returns reference to hash of row values keyed by ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The function ‘fetchrow_hashref()’ returns reference to hash of row values, keyed by the column name. The function ‘fetchrow_arrayref()’ returns a reference to an array of row values.