Sqoop List Database - Sqoop

How to list out the databases using Sqoop?

Sqoop List Database describes how to list out the databases using Sqoop. Sqoop list-databases tool parses and executes the ‘SHOW DATABASES’ query against the database server. After this it finds the present databases on the server.

Syntax

The following syntax is used for Sqoop list-databases command.

Sample Query

Below mentioned command is used to list all the databases in the MySQL database server.
Once the command is executed successfully, then it will display the list of databases in your MySQL database server as follows.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Sqoop Topics