MySQL FAQ

Few of MySQL FAQs that you could find helpful and handy at times.

Question : Name of configuration file of MySQL ?
Question : What is the default table type OR storage engine in MySQL ?
Question : Which storage engine in MySQL is transaction-safe (ACID compliant) and has commit, rollback and crash recovery capabilities ?
Question : Which is default port for MySQL ?
Question : MySQL is down due to so many connections open, what can be the solution to solve this problem ?
Question : How can I encrypt and decrypt a data present in Mysql table using Mysql ?
Question : Write a command to take mysql database backup in a file ?
Question : Write a command to import flat file / sql data into mysql database ?
Question : What are the different types of joins in MySql ?
Question : What are the default files created in MySQL data folder upon creating a new table ? What is their purpose and what do they contain ?
Question : Which MySQL data type can have multiple fixed values and the column takes only one value from the given set ?
Question : Which PHP function will return the text of the error message from the most recent MySQL operation ?
Question : Which command will list all the databases available on the system ?
Question : Which file consists of all SQL statements that take more than 'long_query_time' seconds to execute ?
Question : How to do you return a hundred books starting from 23rd ?
Question : How would you select all the users, whose phone number is null ?
Question : How can you see all indexes defined for a table ?
Question : How do you get the month from a timestamp ?
Question : What is difference between UNIX timestamp and MySQL timestamp ?
Question : How images are stored in MySQL database ?
Question : What is the maximum length of a table name, database name and fieldname in MySQL ?
Question : How many values can the SET function of MySQL take ?
Question : What are the commands to know the structure of table using MySQL ?
Question : How can we find the number of rows in a table using MySQL ?
Question : How many ways we can find the current date using MySQL ?
Question : What is the difference between GROUP BY and ORDER BY ?
Question : What is the difference between VARCHAR and CHAR data types ?
Question : How can I load data from a text file into a table ?
Question : How can we know the number of days between two given dates using MySQL ?
Question : How can we change the name and data type of column of table ?
Question : What are the differences between DROP and TRUNCATE table ?
Question : How can one increase the performance of MySQL SELECT query ?
Question : Give syntax of GRANT and REVOKE commands.
Question : Explain Normalization concept ?
Question : What are the advantages of stored procedures, triggers and indexes ?
Question : What is a Full text search ?
Question : What is the difference between MyISAM and InnoDB ?
Question : What is the purpose of HEAP table type ?
Question : What is the difference between SET and ENUM data type ?
Question : What is the difference between Cluster and Non-Cluster Index ?
Question : What is the difference between Primary Key and Unique Key ?

Add new comment