简体   繁体   English

指定驱动程序和连接详细信息中缺少 Eclipse MySQL 驱动程序

[英]Eclipse MySQL drivers missing from Specify a Driver and Connection Details

I'm trying to make a connection to my Database in MySQL.我正在尝试连接到 MySQL 中的数据库。 When I go to Database Source Explorer, and there to Database Connection right click and new connection, I click on MySQL, New Driver Definition and nothing… drivers are missing.当我 go 到数据库源资源管理器,然后到数据库连接右键单击和新连接时,我单击 MySQL,新驱动程序定义和什么都没有……驱动程序丢失。 I use MySQL with Connector/J, Eclipse IDE 2019‑09, MySQL Workbench 8.0.我使用 MySQL 和连接器/J,Eclipse IDE 2019‑09,Z62A004B9594.1DCCABB77 工作台。 I have Data Tools installed.我安装了数据工具。

Please, somebody, help me.请有人帮助我。 I'm searching for hours and can't find any solution, that works for me.我正在寻找几个小时,但找不到任何适合我的解决方案。

This might be a bit too late, but I had the same issue as yours, and a simple fix worked for me.这可能有点太晚了,但我遇到了和你一样的问题,一个简单的修复对我有用。 I just had to expand the window, and the list was visible.我只需要展开 window,列表就可见了。 The list was hidden because of the small window size.由于 window 尺寸较小,该列表被隐藏。 Sounds odd, but definitely did work for me.听起来很奇怪,但确实对我有用。

How to add a JDBC driver如何添加 JDBC 驱动程序

This procedure assumes you are creating a new JDBC data source, and you need to install a new driver because the driver that the database requires is not available in the list of drivers.此过程假设您正在创建新的 JDBC 数据源,并且您需要安装新的驱动程序,因为数据库所需的驱动程序在驱动程序列表中不可用。

1. First select the version of your database: 1.首先select你的数据库的版本: eclipse连接数据库

2. second click on JAR List field: 2. 第二次点击 JAR 列表字段: eclipse连接数据库

3. and: 3. 和: eclipse连接数据库

4. remove the default driver 4.删除默认驱动eclipse连接数据库

and finally click OK !最后点击确定! this should work fine这应该可以正常工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM