MySQL (pronounced "my ess cue el") is an open source relational database management system (RDBMS) that uses Structured Query Language (SQL), the most popular language for adding, accessing, and processing data in a database. Because it is open source, anyone can download MySQL and tailor it to their needs in accordance with the general public license. MySQL is noted mainly for its speed, reliability, and flexibility
MySQL Interviews are getting tough these days as the technology grows faster. To get through the MySQL interview one needs to update him/herself in a regular manner. Having said that, just before the interview, it is very important to have a quick glance of the reputed MySQL questions and answers to make yourself comfortable during the interview process. This is where DoAnswers.com helps you in renewing yourself on MySQL and various other technologies interview preparation.
11. Explain TIMESTAMP DEFAULT ?2006:09:02 17:38:44' ON UPDATE CURRENT_TIMESTAMP.
A default value is used on initialization, a current timestamp is inserted on update of the row.
12. Have you ever used MySQL Administrator and MySQL Query Browser?
Describe the tasks you accomplished with these tools.
13. How are ENUMs and SETs represented internally?
As unique integers representing the powers of two, due to storage optimizations.
14. How can you see all indexes defined for a table?
SHOW INDEX FROM techinterviews_questions;
15. How do I find out all databases starting with ?tech? to which I have access to?
SHOW DATABASES LIKE ?tech%?;
16. How do you add three minutes to a date?
ADDDATE(techinterviews_publication_date, INTERVAL 3 MINUTE)
17. How do you change a password for an existing user via mysqladmin?
mysqladmin -u root -p password "newpassword"
18. How do you concatenate strings in MySQL?
CONCAT (string1, string2, string3)
19. How do you control the max size of a HEAP table?
MySQL config variable max_heap_table_size.
20. How do you convert a string to UTF-8?
SELECT (techinterviews_question USING utf8);