当前位置:网站首页>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边栏推荐
- Pytorch learning -- using gradient descent method to realize univariate linear regression
- How to go from functional testing to automated testing?
- Online customer service chat system source code_ Beautiful and powerful golang kernel development_ Binary operation fool installation_ Construction tutorial attached
- Two important laws about parallelism
- Hash - 242. valid alphabetic ectopic words
- Video playback | how to become an excellent reviewer of international journals in the field of Geoscience and ecology?
- Leetcode 257. 二叉树的所有路径
- 16 tips for system administrators to use iptables
- Leetcode 112. path sum
- JVM visualvm: multi hop fault handling tool
猜你喜欢

1184. 公交站间的距离 : 简单模拟题

【反序列化漏洞-01】序列化与反序列化简介

Shell script "< < EOF" my purpose and problems

The third day of hcip mGRE experiment

Paging query of employee information of black maredge takeout

Talk about software testing - automated testing framework

安装jmeter

Jmeter-If控制器

6k+ star,面向小白的深度学习代码库!一行代码实现所有Attention机制!

20000 words detailed explanation, thoroughly understand es!
随机推荐
What is the charm of CSDN members? What's the use of him?
Robot framework official tutorial (I) getting started
MySQL creates partition tables and automatically partitions them by day
Introduction to Devops and common Devops tools
Operational amplifier - Notes on rapid recovery [II] (application)
Best practice | using Tencent cloud AI character recognition to realize enterprise qualification certificate recognition
Is there any charge for PDF processing? impossible!
oracle 11.2.0.4 asm单实例不随系统启动而自动开启
cgo+gSoap+onvif学习总结:9、go和c进行socket通信进行onvif协议处理
Hash - 15. Sum of three numbers
哈希——349. 两个数组的交集
Hcip OSPF interface network type experiment day 4
iMeta观点 | 短读长扩增子测序是否适用于微生物组功能的预测?
[QNX hypervisor 2.2 user manual]9.2 CmdLine
PDF处理还收费?不可能!
2022, the average salary of the soft tester, after reading it, I was instantly cool
Use of getchar
Pytorch learning -- using gradient descent method to realize univariate linear regression
CSDN会员的魅力何在?我要他有什么用?
[golang] before method of time type in golang