MySQL Programs


  1. Which program reads statement from a binary log?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    ‘mysqlbinlog’ is a utility program for reading statements from a binary log. The log of executed statements contained in the binary log files can be used to help recover from a crash.


  1. Which program emulates the client load for a MySQL server?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    mysqlslap is a client program designed to emulate client load for a MySQL server. It reports the timing of each stage. It works as if multiple clients are accessing the server.



  1. Which of these is not used to connect to the MySQL server?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    mysql_upgrade is used after a MySQL upgrade operation. It checks tables for incompatibilities and repairs them if necessary. It updates the grant tables with any changes that have been made in newer versions of MySQL.


  1. Which of these is used during MySQL setup?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The program ‘comp_err’ is used during the MySQL build or the MySQL installation process. This program compiles the error message files from the error source files. The others are not run during startup.



  1. Which option executes all SQL statements in a SQL script irrespective of the number of errors?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    If SQL queries in a file are run using mysql in batch mode, mysql either quits after the first error. If the –force option is specified all the queries are executed indiscriminately.