报错:19/11/02 19:04:13 ERROR manager.CatalogQueryManager: Failed to list databases
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Cannot load connection class because of underlying exception: ‘java.lang.NumberFormatException: For input string: “3306:”’.
错误很简单:
我把
sqoop list-databases --connect jdbc:mysql://localhost:3306/ --username root --password 111111
写成了:
sqoop list-databases --connect jdbc:mysql://localhost:3306:/ --username root --password 111111
怪不得百度不到类似错误
改错前后对比:
使用sqoop测试与Mysql的连接
最新推荐文章于 2024-08-12 03:04:15 发布