IntelliJ IDEA 如何配置数据源

在 IntelliJ IDEA 中,可以通过打开 Data Sources and Drivers 对话框来配置数据源和测试你的数据库连接。

可能没有办法使用快捷键,虽然好像有快捷键是 shift + enter,但是在 IntelliJ IDEA 中会换行,并且将光标移动到第一行。

可以用下面的方法:

双击 shift ,然后在 Action 中输入 data source,或者 Shift+Ctrl+A 直接输入。

 

IJ-data-source-01

IJ-data-source-01674×680 34.8 KB

 

然后选择,就可以打开 Data Sources and Drivers 对话框了。

单击右上角的 + 号,可以选择添加数据源。

如果你选择的数据库没有安装驱动的话,IJ 会提示你进行安装。

 

  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
linux驱动圣经之一 Chapter 1, “Introduction”, starts our tryst with Linux. It hurries you through downloading the kernel sources, making trivial code changes, and building a bootable kernel image. Chapter 2, “A Peek Inside the Kernel” , takes a brisk look into the innards of the Linux kernel and teaches you some must-know kernel concepts. It first takes you through the boot process and then describes kernel services particularly relevant to driver development such as kernel timers, concurrency management, and memory allocation. Chapter 3, “Kernel Facilities ”, examines several kernel services that are useful components in the tool box of driver developers. The chapter starts by looking at kernel threads, which is a way to implement background tasks inside the kernel. It then moves on to helper interfaces such as linked lists, work queues, completion functions, and notifier chains. These helper facilities simplify your code, weed out redundancies from the kernel, and help long-term maintenance. Chapter 4, “Laying the Groundwork” , builds the foundation for mastering the art of writing Linux device drivers. It introduces devices and drivers by giving you a bird's eye view of the architecture of a typical PC-compatible system and an embedded device. It then looks at basic driver concepts such as interrupt handling and the kernel’s device model. Chapter 5, “Character Drivers” , looks at the architecture of character device drivers. Several concepts introduced in this chapter such as polling, asynchronous notification, and I/O control, are relevant to subsequent chapters as well, since many device classes discussed in the rest of the book are ‘super’ character devices. Chapter 6, “Serial Drivers” , explains the kernel layer that handles serial devices. Chapter 7 , “Input Drivers” , discusses the kernel’s input subsystem that is responsible for servicing devices such as keyboards, mice, and touch screen controllers. Chapter 8, “The Inter-Integrated Circuit Protocol ”, dissects drivers for devices such as EEPROMs that are connected to a system’s I2 C bus or SMBus. This chapter also looks at other serial interfaces such as SPI bus and 1-wire bus. Chapter 9, “PCMCIA and Compact Flash ”, delves into the PCMCIA subsystem. It teaches you to write drivers for devices having a PCMCIA or Compact Flash form factor. Chapter 10, “Peripheral Component Interconnect”, looks at kernel support for PCI and its derivatives. Chapter 11, “Universal Serial Bus” ,explores USB architecture and explains how you can use the services of the Linux-USB subsystem to write drivers for USB devices. Chapter 12, “Video Drivers” , examines the Linux-Video subsystem. It finds out the advantages offered by the frame buffer abstraction and teaches you to write frame buffer drivers. Chapter 13, “Audio Drivers” ,describes the Linux-Audio framework and explains how to implement audio drivers. Chapter 14, “Block Drivers” ,focuses on drivers for storage devices such as hard disks. In this chapter, you will also learn about the different I/O schedulers supported by the Linux Block subsystem. Chapter 15, “Network Interface Cards” , is devoted to network device drivers. You will learn about kernel networking data structures and how to interface network drivers with protocol layers. Chapter 16, “Linux without Wires” , looks at driving different wireless technologies such as Bluetooth, Infrared, WiFi, and cellular communication. Chapter 17, “Memory Technology Devices”, discusses flash memory enablement on embedded devices.The chapter ends by examining drivers for the Firmware Hub found on PC systems. Chapter 18, “Embedding Linux” , steps into the world of embedded Linux. It takes you through the main firmware components of an embedded solution such as bootloader, kernel, and device drivers. Given the soaring popularity of Linux in the embedded space, it’s more likely that you will use the device driver skills that you acquire from this book to enable embedded systems. Chapter 19, “Drivers in User Space”, looks at driving different types of devices from user space. Some device drivers, especially ones that are heavy on policy and light on performance requirements, are better off residing in user land. This chapter also explains how the Linux process scheduler affects the response times of user mode drivers. Chapter 20, “More Devices and Drivers” , takes a tour of a potpourri of driver families not covered thus far, such as Error Detection And Correction (EDAC), FireWire, and ACPI. Chapter 21, “Debugging Device Drivers” , teaches about different types of debuggers that you can use to debug kernel code. In this chapter, you will also learn to use trace tools, kernel probes, crash-dump, and profilers. When you develop a driver, be armed with the driver debugging skills that you learn in this chapter. Chapter 22, “Maintenance and Delivery” , provides perspective on the software development life cycle. Chapter 23, “Shutting Down” , takes you through a checklist of work items when you embark on Linux-enabling a new device. The book ends by pondering What next?

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

HoneyMoose

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值