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 !!!
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ş!
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.
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...
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?
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