当前位置:网站首页>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
边栏推荐
- 企业员工人事管理系统(数据库课设)
- Explosive 30,000 words, the hardest core丨Mysql knowledge system, complete collection of commands [recommended collection]
- crypto-js uses
- Challenge 52 days to memorize Peppa Pig (Day 01)
- After the image is updated, Glide loading is still the original image problem
- 用位运算为你的程序加速
- MySQL-DML language-database operation language-insert-update-delete-truncate
- vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
- 从购买服务器到网站搭建成功保姆级教程~超详细
- 基于MATLAB的BP神经网络进行语音特征信号分类
猜你喜欢

从底层结构开始学习FPGA(6)----分布式RAM(DRAM,Distributed RAM)

Srping中bean的生命周期

The sword refers to Offer 68 - I. Nearest Common Ancestor of Binary Search Trees

【音视频】srs直播平台搭建

NDK does not contain any platforms problem solving

滚动条样式修改

Hunan institute of technology in 2022 ACM training sixth week antithesis

matlab wind speed model wavelet filtering

Qt Widget 项目对qml的加载实例

Malicious attacks on mobile applications surge by 500%
随机推荐
点餐系统数据库设计--SQL Server
first unique character in characters
Motion analysis and parameter optimization of crank-slider mechanism
小白的0基础教程SQL: 什么是SQL 01
matlab wind speed model wavelet filtering
matplotlib pyplot
CSP-S2019 Day1
ORACLE 实现另外一个用户修改包(package)
戴尔PowerEdge服务器R450 RAID配置步骤
上课作业(7)——#598. 取余运算(mod)
MySQL row locks and gap locks
Robot_Framework: commonly used built-in keywords
从离线到实时对客,湖仓一体释放全量数据价值
Vsce package after the Command failed: NPM list - production - parseable - the depth = 99999 - loglevel = error exception
vim configuration + ctag is as easy to read code as source insight
How JS works
torch
vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
小白的0基础教程SQL: 安装MYSQL 03
Induction jian hai JustFE 2022/07/29 team, I learned the efficient development summary (years)