急救急救!我在myeclipse中连接数据库是老是报Communications link failure due to underlying exception:
答案:3 悬赏:20
解决时间 2021-02-21 00:32
- 提问者网友:喧嚣尘世
- 2021-02-20 11:55
急救急救!我在myeclipse中连接数据库是老是报Communications link failure due to underlying exception:
最佳答案
- 二级知识专家网友:西岸风
- 2021-02-20 12:09
暂时发现了一个错误:
("jdbc:mysql://localhost:3306/testuseUnicode=true&characterEncoding=utf8","root","1234");
少个问号——>
("jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8","root","1234");
("jdbc:mysql://localhost:3306/testuseUnicode=true&characterEncoding=utf8","root","1234");
少个问号——>
("jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf8","root","1234");
全部回答
- 1楼网友:纵马山川剑自提
- 2021-02-20 13:44
你确定你数据库的服务开了吗?
- 2楼网友:十年萤火照君眠
- 2021-02-20 12:25
我暂时保留我的看法!
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯