Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger


Showing posts with label MySQL. Show all posts
Showing posts with label MySQL. Show all posts

Thursday, 19 June 2008

MySQL and general database interview questions

  1. What is MySQL?
  2. What is Postgres?
  3. What are the basic steps in setting up an Oracle system?
  4. What is a stored procedure, and which databases support it?
  5. What is RMAN?
  6. What is the TDS protocol?
  7. What is required to connect to an oracle system remotely?
  8. In MySQL, how do I create a database?
  9. In MySQL, how do I grant access to a user to a specific database with read only permissions?
  10. In MySQL, what table type is required for foreign keys to work?

MySQL management interview questions

  1. How do you show the currently running queries? - SHOW FULL PROCESSLIST;
  2. How do you kill a MySQL query? - See the ID of it from the question above, then KILL id. You can separate multiple IDs by space.
  3. I need to find out how many client connections were aborted by MySQL server. - It’s displayed in SHOW STATUS query, alternatively accessible via mysqladmin extended-status.
  4. What does SET SQL_AUTO_IS_NULL =1 do? - you can find the last inserted row for a table that contains an AUTO_INCREMENT column by issuing WHERE auto_increment_column IS NULL