报错: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的连接
使用sqoop测试与Mysql的连接

相关文章:

  • 2022-12-23
  • 2021-11-30
  • 2021-10-05
  • 2021-05-07
  • 2021-07-09
  • 2021-11-22
  • 2021-09-07
  • 2021-12-31
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-06-20
相关资源
相似解决方案