当前位置:网站首页>Datagrip error "The specified database userpassword combination is rejected..."Solutions
Datagrip error "The specified database userpassword combination is rejected..."Solutions
2022-08-01 06:04:00 【m0_67392273】
Environmental introduction
win10 + MySQL 8.0.26 + datagrip 2021.2.2
Problem description
Originally, after installing datagrip, you can normally connect to the local MySQL database for use.
Open datagrip after rebooting in a few days and find that the window keeps popping up:
It can be seen from the picture that the description is that the account and password do not match.
So, enter the CMD window to test, pass mysql -u -root -p
, enter the password, and find that you can connect normally, and query the database:
Even tested with Navicat for MySQL and found that the connection works fine.
Problem Resolution
After trying to restart the computer and restart the mysql local service, I finally found a problem in the background service:
You can see here that in addition to the service MySQL80 (a service name generated when installing mysql), there is also a service mysqlzt running in the background.
After querying, I found that mysqlzt is a background service generated after I deployed local ZenTao.
Try to stop the service, reconnect in datagrip, and find that the connection is successful:
Summary
If the above failure occurs, you can query the solution from these directions:
- Ensure that the local mysql service is normal;
- First make sure the account name and password are correct: you can log in through cmd or other mysql command line client; (if you forget the password, you can check how to change the password by yourself)
- If only one ide fails to connect, try to test with another ide;
- Query whether there are other services in the local area occupying the port number of the mysql service. If so, find out the service and determine what its role is, and then decide to modify the port number of mysql or directly close the conflicting service.
Let me introduce myself first. The editor graduated from Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Ali in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- Dart exception details
- Dialogue with the father of MySQL: One excellent programmer is worth 5 ordinary programmers
- 从购买服务器到网站搭建成功保姆级教程~超详细
- 微信小程序获取手机号phonenumber.getPhoneNumber接口开发
- 「面经分享」西北大学 | 字节 生活服务 | 一面二面三面 HR 面
- 轻量级的VsCode为何越用越大?为什么吃了我C盘10G?如何无痛清理VsCode缓存?手把手教你为C盘瘦身
- Selenium: browser operation
- 曲柄滑块机构运动分析和参数优化
- crypto-js使用
- 牛客多校2022第四场A,H,K,N
猜你喜欢
Srping中bean的生命周期
About making a progress bar for software initialization for Qt
Practical training Navicat Chinese and English mode switching
Robot_Framework: keyword
leetcode125 验证回文串
What should I do if the neural network cannot be trained?
Induction jian hai JustFE 2022/07/29 team, I learned the efficient development summary (years)
Explosive 30,000 words, the hardest core丨Mysql knowledge system, complete collection of commands [recommended collection]
牛客多校2022第四场A,H,K,N
湖仓一体电商项目(一):项目背景和架构介绍
随机推荐
matlab 风速模型 小波滤波
[Translation] Securing cloud-native communications: From ingress to service mesh and beyond
matplotlib pyplot
The Bean's life cycle
从购买服务器到网站搭建成功保姆级教程~超详细
More than 2022 cattle guest school game 4 yue
CSP-S2019 Day1
说说js中使用for in遍历数组存在的bug
实战演练 Navicat 中英文模式切换
matplotlib pyplot
Induction jian hai JustFE 2022/07/29 team, I learned the efficient development summary (years)
微信小程序获取手机号phonenumber.getPhoneNumber接口开发
【翻译】确保云原生通信的安全:从入口到服务网及更远的地方
LeetCode每日一题(309. Best Time to Buy and Sell Stock with Cooldown)
头歌MySQL数据库实训答案 有目录
Flip letters using string container
Selenium: browser operation
vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
WPF项目-按着键盘方向键,移动格子盒子效果
How JS works