当前位置:网站首页>Solutions to the failure of sqoop connection to MySQL
Solutions to the failure of sqoop connection to MySQL
2022-04-23 04:41:00 【Z-hhhhh】
stay sqoop When testing, I encountered a problem that I couldn't connect
sqoop The test command
sqoop list-databases --connect jdbc:mysql://172.8.10.0:3306/?autoReconnect=true --username username --password password
If the following error is reported
ERROR manager.CatalogQueryManager: Failed to list databases
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
It's less jar package , hold mysql-connector-java.jar 5 and 8 All versions are put in sqoop Of lib In the document , I don't know which one is missing , Just put it in anyway
https://mvnrepository.com/artifact/mysql/mysql-connector-java/5.1.37
There are other mistakes , Such as authority issues ,MySQL Can't connect remotely ; There is also a lack of tips jar package , That would be very happy .
版权声明
本文为[Z-hhhhh]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220559122282.html
边栏推荐
- Understand the gut organ axis, good gut and good health
- KVM error: Failed to connect socket to ‘/var/run/libvirt/libvirt-sock‘
- Mysql, binlog log query
- Go reflection - go language Bible learning notes
- Luogu p1858 [multi person knapsack] (knapsack seeking the top k optimal solution)
- QML advanced (V) - realize all kinds of cool special effects through particle simulation system
- Leetcode->1 两数之和
- 顺序表的基本操作
- leetcode002--将有符号整数的数字部分反转
- AWS EKS 部署要点以及控制台与eksctl创建的差异
猜你喜欢
递归调用--排列的穷举
The 14th issue of HMS core discovery reviews the long article | enjoy the silky clip and release the creativity of the video
IDE Idea 自动编译 与 On Upate Action 、 On Frame Deactivation 的配置
[paper reading] [3D object detection] voxel transformer for 3D object detection
383. 赎金信
229. 求众数 II
程序员抱怨:1万2的工资我真的活不下去了,网友:我3千咋说
Apache Bench(ab 压力测试工具)的安装与使用
test
zynq平台交叉编译器的安装
随机推荐
test
Installation of zynq platform cross compiler
MYSQL查询至少连续n天登录的用户
Redis 命令大全
IEEE Transactions on systems, man, and Cybernetics: Notes for systems (TSMC)
leetcode009--用二分查找在数组中搜索目标值
leetcode008--实现strStr()函数
Fusobacterium -- symbiotic bacteria, opportunistic bacteria, oncobacterium
IEEE Transactions on industrial information (TII)
Migrate from MySQL database to AWS dynamodb
Recommended scheme of national manufactured electronic components
The last day of 2021 is the year of harvest.
io.Platform.packageRoot; // ignore: deprecated_member_use
做数据可视化应该避免的8个误区
thymeleaf th:value 为null时报错问题
Basic operation of sequence table
Leetcode006 -- find the longest common prefix in the string array
Phishing for NFT
Mysql, binlog log query
HMS Core Discovery第14期回顾长文|纵享丝滑剪辑,释放视频创作力