Mysql Basic


  1. Which statement is used to check how MySQL would execute a SELECT query?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    In MySQL, by issuing an EXPLAIN statement MySQL displays some information about how it would execute a SELECT query without actually executing it. It is prefixed with the query.


  1. The tool for copying databases is ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    ‘mysqldump’ and ‘mysqlhotcopy’ are the tools or programs that are used for performing the backing up of the databases and copying databases from one server to the other server(s).



  1. The place where the server stores its databases and status files is the data directory.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The MySQL data directory is the place where the server stores its databases and status files. It is crucial to understand the all structures and contents of the data directory.


  1. How many of these are for use with only MyISAM tables?
    mysql, mysqladmin, mysqldump, mysqlisamchk











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    ‘mysqlcheck’ and ‘mysqlisamchk’ are the programs that perform table checking, analysis, optimization and repairs when tables become damaged. ‘mysqlcheck’ works with MyISAM tables.



  1. The hub of a MySQL installation is ______________











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    The server, mysqld , is the hub of a MySQL installation; it performs all manipulation of databases and tables. On Unix, several related scripts are available to assist in server startup.