Тёмный

MySQL 8 Replication on Ubuntu 20.04 

Nelisys Developer
Подписаться 1,3 тыс.
Просмотров 24 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@thomaswfry99
@thomaswfry99 Год назад
I don't comment on videos often, but this video? This video made me pull my hair out and I struggled a bit to get through it, but then again my databases, where on different servers running inside docker containers. THIS video got me through it and now it's working perfectly. Kudos to you sir !!!
@MrsLilithDarkmoon
@MrsLilithDarkmoon Год назад
do you happen to have the code/general steps for doing this inside docker containers? I'm also pulling my hair out over this
@juanmanuelgarcia2355
@juanmanuelgarcia2355 Год назад
Working on two instances of Centos 8 and Oracle-Linux deployed on OCI (few changes in the procedure). Thanks a lot!!
@hasanablak
@hasanablak Год назад
0:20 [MASTER] Sunucuya MYSQL server kurulumu 0:42 [MASTER] Sunucunun MYSQL servisinin durum kontrolü 0:51 [MASTER] "vi /etc/mysql/mysql.conf.d/mysqld.cnf" dosyasının ayarlamaları 1:56 [MASTER] Mysql'e giriş 2:04 [MASTER] Master kontrolü 2:17 [MASTER] Master'da, Slave'in kendi ip'siyle erişebileceği bir mysql kullanıcısı oluşturmak 2:46 [MASTER] Şimdi oluşturulan kullanıcıya yetki vermek 2:57 [MASTER] Master'ın koordinat poziyonu kontrolü 3:02 [SLAVE] Slave'e Mysql kurulumu 3:31 [SLAVE] Sunucunun MYSQL servisinin durum kontrolü 3:40 [SLAVE] "vi /etc/mysql/mysql.conf.d/mysqld.cnf" dosyasının ayarlamaları 4:29 [SLAVE] Mysql'e giriş 4:45 [SLAVE] Mysql'in replika edeceği sunucunun ayarlanması, ip adresi olarak master'ın ip adresi giriliyor 5:49 [SLAVE] Mysql'de master sunucuda açılan slave kullanıcısı için olan hesap burada tanıtılıyor 6:16 [SLAVE] Replica kontrolü 6:27 [SLAVE] Şuanda masterdan bir event gelmesini bekliyor 6:35 [SLAVE] Mevcut databaseleri gösterdi, birazdan masterda yeni database oluşturucak 6:43 [MASTER] Mysql'e giriş yaptık 6:50 [MASTER] Mevcut veritabanlarını gösterdi, şimdi yeni test isminde bir veritabanı oluşturuyor 7:00 [SLAVE] Master'da oluşturulan test ismindeki veritabanı buraya da geldi. 7:10 [GENEL] Master'dan Slave'e replikayı bitirdiğini gösteriyor, şimdi slave'den master'a replikayı yapacak 7:30 [SLAVE] Master'ın erişebileceği bir mysql kullanıcısı oluşturdu ve yetkilendirme yaptı 8:17 [MASTER] Mysql'in replika edeceği sunucunun ayarlanması, ip adresi olarak master'ın ip adresi giriliyor 9:10 [MASTER] Mysql'de slave sunucuda açılan master kullanıcısı için olan hesap burada tanıtılıyor 9:35 [MASTER] Replica kontrolü 10:05 [SLAVE] test veritabanına girip bir tane tablo oluşturuyor students adında, masterda da bunun tekrarlanması lazım 10:19 [MASTER] Masterda da tabloları kontrol ediyor, az önce slavede oluşturudğu status tablosu gelmiş mi diye ve booom! gelmiş 10:35 [MASTER] Student tablosuna bir tane kayıt girdi, slave'den kontrol edicek bu kayıt slave'e de gelmiş mi diye 10:40[SLAVE] Student tablosundaki kayıtları inceliyor ve booom! Masterda oluşturulan kayıt slave'e de gelmiş!
@slaan1974
@slaan1974 Год назад
Great and simple setup of MySQL replication, loved it
@mhdasad
@mhdasad 8 месяцев назад
I have spent my last 3 days to figure this out. Finally found this Master-Master Replication. Thank you so much sir. 🎉
@CruzBerroa-r7g
@CruzBerroa-r7g 19 дней назад
Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ANONYMOUS' at source log mysql-bin.000007, end_log_pos 621155. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any.
@Каналзаброшен-к9б7х
Hey man, thx u very much! I write comments very rare, but ur video saved my mind, i was suffered with it for 3 days and only u video help me
@அனைத்தும்அறிவோம்-ண6ட
Can we use a DNS hostname instead of an IP address for replication? Because we have Dyn DNS domains for dynamic IP addresses, can we use those?
@engrSakir
@engrSakir 5 месяцев назад
Thank you for sharing
@mdgolamkibria9864
@mdgolamkibria9864 Год назад
Every one showing MySQL clustering on youtube(percona xtradb ,Galera,group replication,etc). But I want to do simple write and read replicas and also integrate with a demo with frontend+backend app!. Load balance with all of them. Can someone show me the demo? Oh, I am frustrated.!!!! Please give me proper guide someone...
@nkrantikumar
@nkrantikumar 9 месяцев назад
Thank you very much, Simple superb
@manfoalexchristian3354
@manfoalexchristian3354 2 года назад
hello, it didn't work for me, the slave is able to connect to the master is not able to perform de replication
@grshakilahmed5477
@grshakilahmed5477 Год назад
Yes
@NalakaDissanayake_nalakaer
@NalakaDissanayake_nalakaer Год назад
thanks
@balakrishnam507
@balakrishnam507 3 года назад
How can i findout source ip address ? for me it's shows same ip in db1 and db2.. how ?
@КириллАзарной
@КириллАзарной Год назад
SPASIBO!
@jeremielodi8897
@jeremielodi8897 3 года назад
what appen when you restart one server at the time the replication works fine? In my case, the log_bin changes and breaks the replication
@kwaark1
@kwaark1 Год назад
can i make it with 3 or more computers?
@jeremielodi8897
@jeremielodi8897 3 года назад
I wonder if it is possible to make log_bin static because one of the servers can be rebooted
@DevOpsPulse
@DevOpsPulse Год назад
wow
@develop-TC
@develop-TC Год назад
GRACIAAAS
@towhidhasan7426
@towhidhasan7426 2 года назад
How can I use two IP address in my ubuntu 22.04?
@homiwong
@homiwong 3 года назад
Why you change both mysql config 'bind_address' to '0.0.0.0'?
@NelisysDeveloper
@NelisysDeveloper 3 года назад
To allow another server to connect and sync data.
@buizel02
@buizel02 3 года назад
Bro... I love you.
@vuat1494
@vuat1494 8 месяцев назад
Lol, if 1 on 2 DB fail then ??? Not avaible and not OK, you need HA for that
@sagardenge1200
@sagardenge1200 3 года назад
Best video
@ВладКостянов-е1з
@ВладКостянов-е1з 2 года назад
Ты классный!
@stefanaureliandumitrescu
@stefanaureliandumitrescu 2 года назад
After the restart everything will start failing. You can't do 2 masters!!!!
@marijanikolic7782
@marijanikolic7782 2 года назад
Hi, great video. Thank you, but I get error SHOW REPLICA STATUS \G Replica_SQL_Running: No Last_Error: Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ANONYMOUS' at master log mysql-bin.000001, end_log_pos 16920973. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any. Could you please help me to fix?
@marcelinexxonline
@marcelinexxonline Год назад
Same
@hasanablak
@hasanablak Год назад
same
@raondom_sutff_4217
@raondom_sutff_4217 Год назад
In case someone else gets this. This is because you are doing it on live mysql server that already has data. You first need to import data from master to slave and then start replication. Look it up on how to turn on replication with existing data
Далее
Angry bird PIZZA?
00:20
Просмотров 9 млн
Master to Master replication for MariaDB
14:42
Просмотров 7 тыс.
MySQL Master Master Replication Setup on Centos 7
31:10
Angry bird PIZZA?
00:20
Просмотров 9 млн