Source of the problem: If the slave server is the cloned master server, then the value of server-uuid must be the same, otherwise the master-slave replication will report error 1593. After modification, restart MySQL Let me introduce you to the relevant solutions below. Without further ado, let’s take a look at the detailed introduction. Workaround 1. First, find the installation address of MySQL show variables like 'datadir'; +---------------+-----------------+ | Variable_name | Value | +---------------+-----------------+ | datadir | /var/lib/mysql/ | +---------------+-----------------+ 1 row in set (0.00 sec) //Then generate a uuid through mysql for recording and will be used to modify select uuid() +--------------------------------------+ | uuid() | +--------------------------------------+ | 2674149f-5083-11e8-be4b-080027a1f331 | +--------------------------------------+ 2. Then enter the datadir directory cd /var/lib/mysql/ vi auto.cnf //Modify server-uuid 3. Restart mysql service mysqld restart Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. If you have any questions, you can leave a message to communicate. Thank you for your support for 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed steps for Linux account file control management
>>: Vue Element UI custom description list component
Preface In the process of managing and maintainin...
This article mainly focuses on the installation a...
Installation suggestion : Try not to use .exe for...
<br />Years of professional art design educa...
1. Window -> preferences to open the eclipse p...
Install grafana. The official website provides an...
This article shares the specific code of jQuery t...
Due to the needs of the work project, song playba...
Table of contents 1. Paradigm foundation 1.1 The ...
I struggled with this for a long time, and after s...
A long time ago, I summarized a blog post titled ...
The effect is very simple, just copy the following...
Introduction to Swap Swap (i.e. swap partition) i...
Problem description: The user has a requirement t...
This article mainly introduces the case of Vue en...