sqoop:000> sqoop list-databases --connect jdbc:mysql://192.168.213.4:3306/ --username root --password 123
Exception has occurred during processing command
Exception: org.codehaus.groovy.control.MultipleCompilationErrorsException Message: startup failed:
groovysh_parse: 1: expecting EOF, found ':' @ line 1, column 42.
databases --connect jdbc:mysql://192.168
^
1 error
sqoop:000>
更换版本
$ sqoop import --connect jdbc:mysql://database.example.com/employees