您的位置: 首页 > 文章 > IDEA如何远程连接mySQL呢? IDEA如何远程连接mySQL呢? 分类: 文章 • 2024-09-25 15:41:28 IDEA如何远程连接mySQL呢? 1.点击View->ToolWindows->Database 2.点击±>DataSource->MySQL 3.在linux服务器端,输入hostname,并在Host输入对应的 随后填入user,和password 并点击Driver处,选择对应的驱动 4.点击+号 -->Custom JARS 在Maven库里选择mysql对应的驱动包, 我的mysql是8版本,因此我选择8版本的驱动包 8系列的均可以 5.成功连接,选择All schemas 6.选择如下的框框,打开新的窗口,即可以输入sql语句