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
There are very complex HTML structures in web pag...
Background: I'm working on asset reporting re...
1. 85% of ads go unread <br />Interpretatio...
This article example shares the specific code of ...
1. Review Vue responsive usage Vue responsivenes...
Table of contents (1) Introduction: (2) The ways ...
background Speaking of MySQL deadlock, I have wri...
Table of contents Single Node Diff reconcileSingl...
1. Create the backup.sh script file #!/bin/sh SOU...
The installation tutorial of mysql5.7.17 is share...
React is a JAVASCRIPT library for building user i...
Introduction: The configuration of Docker running...
I have encountered many centering problems recent...
How to deploy Oracle using Docker on Mac First in...
After installing a centos8 service under vmware a...