当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
戴尔PowerEdge服务器R450 RAID配置步骤
从底层结构开始学习FPGA(6)----分布式RAM(DRAM,Distributed RAM)
Selenium: Introduction
Srping中bean的生命周期
LeetCode 0150. 逆波兰表达式求值
WPF项目-按着键盘方向键,移动格子盒子效果
2022/07/29 入职健海JustFE团队,我学到了高效开发(年中总结)
Selenium: form switching
仿牛客网项目总结
LeetCode 0149. Maximum number of points on a line
安装SQL Server详细教程
七、MFC序列化机制和序列化类对象
Flip letters using string container
权重等比分配
说说js中使用for in遍历数组存在的bug
【MySQL必知必会】 表的优化 | 充分利用系统资源
Vsce package after the Command failed: NPM list - production - parseable - the depth = 99999 - loglevel = error exception
牛客刷SQL---2
JS的运行原理
datagrip 报错 “The specified database userpassword combination is rejected...”的解决方法