当前位置:网站首页>MySQL 8.0.12 error: error 2013 (HY000): lost connection to MySQL server during query
MySQL 8.0.12 error: error 2013 (HY000): lost connection to MySQL server during query
2022-07-03 23:58:00 【Sigh of love】
background
Recently in use phpstudy install discuz Default database when mysql8.0.12 Only locally , In use phpstudy installed discuz The database is normal , However, the following error is reported when creating other databases on the command line :
Report errors
ERROR 2013 (HY000): Lost connection to MySQL server during query

The complete screenshot is as follows

Use the command to check the database and report an error first , Then it will automatically connect :
show databases;

Then you can execute the CREATE TABLE statement
mysql> CREATE DATABASE `bbs_pro` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
Query OK, 1 row affected (0.10 sec)
mysql>
use navicat You can also connect

It is suggested to make it windows service
边栏推荐
- Selenium check box
- NLP pre training technology development
- EPF: a fuzzy testing framework for network protocols based on evolution, protocol awareness and coverage guidance
- [Mongodb] 2. Use mongodb --------- use compass
- Smart fan system based on stm32f407
- Gossip about redis source code 76
- Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?
- Development and application of fcitx functional plug-ins
- Subgraph isomorphism -subgraph isomorphism
- Selenium library 4.5.0 keyword explanation (II)
猜你喜欢

STM32 GPIO CSDN creative punch in

Kubedl hostnetwork: accelerating the efficiency of distributed training communication
![P3371 [template] single source shortest path (weakened version)](/img/c5/bcb22e1ea573253005e56ebbd73bb7.jpg)
P3371 [template] single source shortest path (weakened version)

How to prevent malicious crawling of information by one-to-one live broadcast source server

A treasure open source software, cross platform terminal artifact tabby

Smart fan system based on stm32f407

Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?

JDBC Technology

The first game of the new year, many bug awards submitted

Regular expressions and text processors for shell programming
随机推荐
It is forbidden to splice SQL in code
Is the low commission link on the internet safe? How to open an account for China Merchants Securities?
Interesting 10 CMD commands
[about text classification trick] things you don't know
Apple released a supplementary update to MacOS Catalina 10.15.5, which mainly fixes security vulnerabilities
Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?
Idea integrates Microsoft TFs plug-in
2022 system integration project management engineer examination knowledge points: software development model
Gossip about redis source code 81
Tencent interview: can you pour water?
[source code] VB6 chat robot
Selenium library 4.5.0 keyword explanation (I)
How to understand the gain bandwidth product operational amplifier gain
D26: the nearest number (translation + solution)
[note] glide process and source code analysis
Open 2022 efficient office, starting from project management
P1629 postman delivering letter
Gossip about redis source code 74
Version rollback revert don't reset better reset must be forced
Ningde times and BYD have refuted rumors one after another. Why does someone always want to harm domestic brands?