当前位置:网站首页>MySQL与IDEA连接
MySQL与IDEA连接
2022-07-28 16:35:00 【一位莫得感情的码农】
IntelliJ IDEA在业界被公认为最好的java开发工具,其功能的强大想必不用多说,使用过的人都知道他的强大。
MySQL 是最流行的关系型数据库管理系统之一,虽然安全性不怎么高,但是毕竟是开源的免费嘛。目前阿里用的就是MySQL数据库的集群。
今天就来介绍一下IDEA与MySQL的连接。
1.当然是打开你的IDEA了,点击右侧的database.

2点击左上方的加号。
3.出现下方界面,因为,MySQL默认的时区是UTC时区,比北京时间晚8个小时,所以在URL出应该填入 jdbc:mysql://localhost:3306/name?useSSL=false&serverTimezone=UTC。(注:name为你的数据库名称,即Database出所填的名字。。)
4.完成后点击 Test Connection测试连接。如果成功,会在下方出现提示信息。点击Apply,再点击OK即可。
实验经常出现的问题:
1.在第四部之前,在 Test Connection的下方会有一个download提示,点击下载。
2.填写密码的时候注意 , 不能出现空格,否则会提示错误。
3.注意时区,即上方所说的URL,应填入 jdbc:mysql://localhost:3306/name?useSSL=false&serverTimezone=UTC
如果有新的问题,欢迎在下方评论。
边栏推荐
- Ggplot2 map
- Jerry ac692n --- prompt tone compression and modification
- 【C语言进阶】——指针进阶[Ⅰ]
- How important is baseline safety from non child websites
- Using OCR to reverse recognize text content in airtest
- Talk about the measurement of "post release problems"
- leetcode系统性刷题(一)-----链表、栈、队列、堆
- Please make sure you have the correct access rights and the repository exists.
- 软件测试培训一般多少钱?
- Adding new objects to the object array in JS results in the modification of existing objects in the array
猜你喜欢

Management of third-party technical services in product development

PCA reports error in eigen (crossprod (t (x), t (x)), symmetric = true): 'x' has infinite value or missing value

地图R语言

Jerry ac692n --- prompt tone compression and modification

MySQL面试题大全(陆续更新)
@RequestMapping详解

数据库性能分析与优化(爱测未来团队内训材料)

Arya professional web automated test platform

R language drawing / drawing / drawing 2

In depth sharing of Ali (ant financial) technical interview process, with preliminary preparation and learning direction
随机推荐
中南大学研究生复试机试题
strsplit()函数
转行学习软件测试有前途吗?
软件测试零基础入门好学吗?
软件测试零基础小白学习需要掌握哪些技能?
点云处理--voxel filter
【C语言笔记分享】——动态内存管理malloc、free、calloc、realloc、柔性数组
三维点云处理系列----PCA
软件测试的培训机构靠谱吗
DOS command Daquan basic command + network common command
ROS system installation
软件测试培训需要多久?
Ant financial mobile testing tool solopi monitoring part of the source code guide.. Continuous update
软件测试到底有没有前景和出路?
7-8 浪漫侧影(25分)建树+新解题思路
零基础学习软件测试有什么条件?
ggplot2地图
Openpcd安装过程记录
【C语言进阶】——剖析入微数据在内存中的存储 【下】(浮点数存储)
Ros自定义消息及使用