list-databases

The tool is used to list database schemas present on a server.

The tool usage is shown below.

$ sqoop list-databases <generic-args> <list-databases-args>
$ sqoop-list-databases <generic-args> <list-databases-args>

Although the generic Hadoop arguments must precede any list-databases arguments, the list-databases arguments can be specified in any order with respect to one another.

Common arguments

--connect <jdbc-uri>

Specifies the JDBC connection string

--connection-manager <class-name>

Specifies the connection manager class to use

--connection-param-file <filename>

Specifies optional properties file that provides connection parameters

--driver <class-name>

Specifies the JDBC driver class to use

--hadoop-mapred-home <dir>

Overrides $HADOOP_MAPRED_HOME

--help

Prints usage instructions

--password-file

Sets the path to a file containing the authentication password

-P

Reads the password from the console

--password <password>

Specifies the authentication password

--username <username>

Specifies the authentication username

--verbose

Prints more information while working

--relaxed-isolation

Instructs Sqoop to use the read-uncommitted isolation level

Found a mistake? Seleсt text and press Ctrl+Enter to report it