当前位置:网站首页>MySQL advanced (XVII) cannot connect to database server problem analysis
MySQL advanced (XVII) cannot connect to database server problem analysis
2022-07-24 11:40:00 【InfoQ】
One 、 Preface
The user specified as a definer ('root'@'localhost') does not exist
Two 、 Problem analysis
- Maybe the database service is not started ;
- The specified database connection user name or password may be incorrect ;
- Maybe the database connection statement is written incorrectly ;
- Maybe no specified database exists in the database ;
- Probably not sql Package or no driver ;
3、 ... and 、 Solution
C:\Program Files\MySQL\MySQL Server 5.7\binmysql -u root -p;

my.ini
Can't connect to MySQL server on '127.0.0.1' (10061)
C:\Windows\System32\drivers\etc
telnet 127.0.0.1 3308
my.ininetstat -anTIME_WAIT
“Host 'localhost' is not allowed to connect to this MySQL server”mysql

Four 、 Extended reading mysql Batch deletion of large amounts of data
DELETE FROM syslogs WHERE statusid=1lock wait timeout exceedMySQLDELETE FROM syslogs WHERE status=1 ORDER BY statusid LIMIT 10000;limitlimitdeletewhereupdatedeletelimit 1边栏推荐
- Semaphore details
- Text message verification of web crawler
- Remember to optimize my personal blog once
- Directional crawling Taobao product name and price (teacher Songtian)
- C#入门系列(二十九) -- 预处理命令
- Leetcode 257. all paths of binary tree
- Fiddler packet capture tool summary
- Reprint of illustrations in nature, issue 3 - area map (part2-100)
- Easy to use example
- 视频回放 | 如何成为一名优秀的地学和生态学领域的国际期刊审稿人?
猜你喜欢

One week's wonderful content sharing (issue 13)

【10】 Teamwork and cross team collaboration
![08 [AIO programming]](/img/a6/156cb97e653190c76f22c88b758fef.png)
08 [AIO programming]
![Operational amplifier - Notes on rapid recovery [1] (parameters)](/img/1f/37c5548ce84b6a217b4742431f1cc4.png)
Operational amplifier - Notes on rapid recovery [1] (parameters)

RetinaNet:Focal Loss for Dense Object Detection

Imeta view | is short reading long amplicon sequencing applicable to the prediction of microbiome function?

Semaphore details

有关并行的两个重要定律

Paging query of employee information of black maredge takeout

Recommended SSH cross platform terminal tool tabby
随机推荐
Depth first search and breadth first search of Graphs
High frequency written test questions (Weilai)
使用Prometheus+Grafana实时监控服务器性能
哈希——202. 快乐数
Jmeter-If控制器
[QNX hypervisor 2.2 user manual]9.2 CmdLine
Nodejs CTF Foundation
What is the difference between low code and no code?
[golang] golang implements MD5 encryption function
Leetcode 112. path sum
MySql的DDL和DML和DQL的基本语法
运算放大器 —— 快速复苏笔记[壹](参数篇)
The U.S. Department of Homeland Security launched an investigation into the electronic communication records deleted by the secret service during the riots in the Capitol
Hash - 202. Happy number
1184. 公交站间的距离 : 简单模拟题
Shengxin weekly issue 37
Remember to optimize my personal blog once
cgo+gSoap+onvif学习总结:9、go和c进行socket通信进行onvif协议处理
Hcip OSPF interface network type experiment day 4
How to go from functional testing to automated testing?