当前位置:网站首页>MySQL Cases-MySQL 8.0.26 bug ERROR 1064 (42000) at line1: You have an error
MySQL Cases-MySQL 8.0.26 bug ERROR 1064 (42000) at line1: You have an error
2022-06-24 02:28:00 【Yaochong】
Today, my colleagues found me , Said it was executing mysql During master-slave setup , Main library mysqldump Backup , Then an error is reported when recovering from the database , The error message is as follows
mysql: [Waring] Using a [password on the command line interface can be insecure. ERROR 1064 (42000) at line1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WARNING: --master-data is deprecated and will be removed in a future version. Us' at line 1
There are also problems with using your own script backups
see mysqldump The contents are as follows :
The first line is not commented out , The following pictures are the ones I commented out later . You may want to use the following version --master-data To be removed , But the code doesn't handle this part well , Actually wrote mysqldump In backup file
use 8.0.25 Test version , There is no such problem
The solution to this problem is relatively simple , ultimately
author : Yao Chong Oracle OCM、MySQL OCP、Oceanbase OBCA、PingCAP PCTA authentication , Good at based on Oracle、MySQL Performance Turning And a variety of relational NoSQL database .
边栏推荐
- Dry goods collection | the most important content collection of Tencent security in the digital ecology Conference
- How about Tencent cloud game server? Can the cloud game server play games
- [tcapulusdb knowledge base] manually view the online operation of tcapulusdb
- What are the general contents of the enterprise website construction scheme
- Tencent cloud double 11 Live Room activity rules
- Compile blender source code
- How long can the trademark registration be completed? How to improve the speed of trademark registration?
- Vivo global mall: design and practice of commodity system architecture
- IP address and subnet partition are very important. This article is very fragrant!
- Tornado code for file download
猜你喜欢

If there are enumerations in the entity object, the conversion of enumerations can be carried out with @jsonvalue and @enumvalue annotations

application. Yaml configuring multiple running environments

Advanced BOM tool intelligent packaging function

BIM model example

Leetcode969: pancake sorting (medium, dynamic programming)

2020 language and intelligent technology competition was launched, and Baidu provided the largest Chinese data set

163 mailbox login portal display, enterprise mailbox computer version login portal

Introduction to development model + test model

How to fill in and register e-mail, and open mass mailing software for free
Cloudpods golang practice
随机推荐
application. Yaml configuring multiple running environments
Cloud game cannot select a server cloud game server fees
Interesting talk about decorator mode, so you will never forget it
Buddha's foot before examination: the third bullet of leetcode
Gin framework: add API logging Middleware
Do you still understand the deadlock handling methods in MySQL performance testing and tuning?
Compile blender source code
The cloud game is rendered by the server. How much broadband does the server need
Tencent peace of mind ecological alliance was officially established as a linkage partner. Open technology helps "digital agriculture"
What is the backbone of marketing website construction? What does it do?
A complete collection of SQL commands. Each command has an example. Xiaobai can become a God after reading it!
2021 game security industry summit: Security Co Construction and healthy development of escort industry
Comparison of four dynamic routes: Rip, OSPF, Isis, BGP
Data backup is required for manual upgrade of WordPress website program
How to solve the problem of uncaught (in promise) when easywasmlayer plays a video?
How to query the cloud desktop server address? What are the advantages of using cloud desktop?
What information should be provided for enterprise trademark registration? Is it difficult to register a trademark?
Cloud recommendation Vol.1: quick start to remote control under f-stack, go modules and 5g!
What are the general contents of the enterprise website construction scheme
Echo framework: add tracing Middleware