您的位置:首页 > 博客中心 > 数据库 >

Intellij Idea 配置database 连接SQL Server 2012

时间:2022-03-13 22:59

首先确认通过TCP IP来连接连接SQLServer 2012

? ?

  1. 确保 Server Authentication选择了SQL Server and Windows Authentication mode

    gxlsystem.com,布布扣

    ? ?

  2. 打开 SQL SERVER CONFIGURATION MANAGER, 选择数据库实例,把Named Pipes和TCP/IP Status修改为Enabled

    gxlsystem.com,布布扣

  3. 双击TCP/IP,选择IP Addresses,把所有IP Enabled改为Yes, 把IPAll 的TCP Port 改为1433

    gxlsystem.com,布布扣

    ? ?

    ? ?

    通过Intellij Idea 13 来连接SQL Server 2012 配置

    ? ?

  4. 打开Intellij Idea 13,选择Database窗口,点击添加 - Data Source - SQL Server - Microsoft

    gxlsystem.com,布布扣

  5. 输入SQL Server 的配置信息

    gxlsystem.com,布布扣

    ? ?

  6. Driver files 选择 SQL Server / Microsoft, 点击 download,Intellij idea就会自动下载驱动。

    gxlsystem.com,布布扣

    ? ?

    gxlsystem.com,布布扣

    ? ?

  7. 点击Test Connection, 出现如下对话框,表示已经连接成功了。

    gxlsystem.com,布布扣

    ? ?

热门排行

今日推荐

热门手游