
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
AmitDiwan has Published 10744 Articles

AmitDiwan
444 Views
To determine the connection method that is used by MySQL connection, the below command can be used −netstat −ln | grep 'mysql'On Unix, MySQL programs treat the host name ‘localhost’ in a special manner. Hence, it behaves differently than what is expected of it.Type of ConnectionTo know the type of ... Read More

AmitDiwan
251 Views
Let us look at the administrative and utility programs in MySQL and understand how they can be used −ibd2sdiIt is a utility to extract serialized dictionary information (SDI) from InnoDB tablespace files. SDI data is present all persistent InnoDB tablespace files. ibd2sdi can be used at runtime or when the ... Read More

AmitDiwan
259 Views
The mysqlslap utility is a diagnostic program that has designed to emulate client load for a MySQL server and report the timing of every stage. It works as though multiple clients are accessing the server.Invoking mysqlslapmysqlslap can be invoked using the below command −shell> mysqlslap [options]Some options are: --create or ... Read More

AmitDiwan
337 Views
The mysqlshow client can be used to see what databases exist, their tables, or a table's columns or indexes.It provides a command-line interface for several SQL SHOW statements.Invoke mysqlshowThe mysqlshow utility can be invoked as shown below −shell> mysqlshow [options] [db_name [tbl_name [col_name]]]Here, If no database is provided, a list ... Read More

AmitDiwan
688 Views
The mysqlpump client utility performs logical backups, thereby producing a set of SQL statements that would be executed to reproduce the original database object definitions and table data. It helps dump one or more MySQL databases for backup or transfer to another SQL server.Features of mysqlpumpLet us understand the features ... Read More

AmitDiwan
546 Views
The mysqlimport client comes with a command-line interface that helps with the LOAD DATA SQL statement. Most options to mysqlimport respond directly to clauses of LOAD DATA syntaxInvoking mysqlimportThe utility mysqlimport can be invoked as shown below −shell> mysqlimport [options] db_name textfile1 [textfile2 ...]For every text file that is named ... Read More

AmitDiwan
466 Views
The mysqldump client utility helps performs logical backups, thereby producing a set of SQL statements which can be executed to reproduce the original database object definitions and table data.mysqldump UsageIt dumps one or more MySQL databases for backup or transfer to another SQL server.The mysqldump command also generates output in ... Read More

AmitDiwan
741 Views
The mysqlcheck client performs table maintenance. It checks, repairs, optimizes, or analyses tables. If the user uses the --databases or --all-databases option to process all tables in one or more databases, invoking mysqlcheck would take a long time. This is true for the MySQL upgrade procedure as well, if it ... Read More

AmitDiwan
600 Views
The ‘mysqladmin’ is a client that helps perform administrative operations. It can also be used to check the server's configuration and current status, to create and drop databases, and much more.The mysqladmin can be invoked by using the below command −shell> mysqladmin [options] command [command-arg] [command [command-arg]] ...Let us see ... Read More

AmitDiwan
408 Views
Let us understand some of the client tips that are provided by MySQL −Input-Line EditingMysql supports input-line editing, which allows the user to modify the current input line in place or recall the previous input lines.Disabling Interactive HistoryThe up-arrow key allows the user to recall input lines from current and ... Read More