Тёмный

How to Configure MySQL Master-Slave Replication on Ubuntu Linux 

Linux Training Academy
Подписаться 26 тыс.
Просмотров 114 тыс.
50% 1

View the full blog post at:
www.linuxtrainingacademy.com/m...

Наука

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

 

4 янв 2015

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@mariaselectronics3888
@mariaselectronics3888 7 лет назад
Dude! this is the best tutorial on how to setup replication! :)
@sajeeshnair9251
@sajeeshnair9251 5 лет назад
Simple, Precise and to the Point. Very good presentation indeed. Hats off!
@zeonos
@zeonos 8 лет назад
Followed 4 different guys, and had problems with them all. then found this video, and it worked like a breeze the first time!
@orendado
@orendado 7 лет назад
Very good, short and accurate. got my replication server working in less than 20 min. great work!!
@rohaneh
@rohaneh 8 лет назад
excellent video; professional and to the point. Thank you very much!
@stevenp8810
@stevenp8810 3 года назад
Dude, great, no-nonsense tutorial! Replication setup finally makes sense! Thank you!
@LinuxTrainingAcademy
@LinuxTrainingAcademy 3 года назад
You're welcome!
@sourcilavise3788
@sourcilavise3788 6 лет назад
THANKS A LOT DOOD !!! I use WAMP on 2012 R2 so I had to change it a little (the part on bind-address) and finaly it works !!! Just don't forget to stop the slave and only start it again when you have done the dump (sync problems).
@amosgiture
@amosgiture 4 года назад
Well structured, narrated and demonstrated. A real Pro.
@MansfeldPlPlus
@MansfeldPlPlus 5 лет назад
Many thanks!!! It's really helpful. It works 100% .The same procedure works on Debian 8 too.
@sam683or
@sam683or 4 года назад
This video was a masterpiece. thanks for sharing it.
@d.zah.9127
@d.zah.9127 7 лет назад
Great! worked the first time, clean and sweet
@isystemlogix9178
@isystemlogix9178 4 года назад
Thank you for this great tutorial.
@AmeenAltajer
@AmeenAltajer 3 года назад
So awesome man, thanks!
@oceangreen5322
@oceangreen5322 9 лет назад
Nice video! Thanks!
@mohammadarbab6058
@mohammadarbab6058 6 лет назад
This was very helpful
@varundilsay2002
@varundilsay2002 3 года назад
Impressed! you guys are good
@worldtvlinks
@worldtvlinks 7 лет назад
Your voice very danger and beautiful thanks for Very Good Tutorial.kindly upload video about two same website different url replication files data Website Directory
@faraday852
@faraday852 8 лет назад
Good video, thanks!
@gsu12797
@gsu12797 8 лет назад
thanks! Nice and simple
@XieQiu
@XieQiu 8 лет назад
great video thanks!
@vineetsajwan443
@vineetsajwan443 4 года назад
Thanks dude.. Really useful.
@ekhtiarsyed
@ekhtiarsyed 9 лет назад
this helped :D thanks!
@rayvincentdelacruz8251
@rayvincentdelacruz8251 6 лет назад
can you give the description on how much RAM and disk memory used on each Virtual OS? Thanks
@Smaranns
@Smaranns 3 года назад
Great video thanks. I am setting up the same in bitnami, Is there any special thing we have to do in bitnami...? When i change the bind_address to ip address provided by azure server.... its unable to restart the mysql. Please let me know if i am doing any mistake.
@WhiteSiroi
@WhiteSiroi 9 лет назад
Thank you very much.
@syedtaqiullahhussaini9419
@syedtaqiullahhussaini9419 6 лет назад
nice explanation thank
@muhammadaprizal7544
@muhammadaprizal7544 4 года назад
Good video, thanks a lot
@WiresNStuffs
@WiresNStuffs 5 лет назад
If I turn one server off for a period of time and then turn it back on will it automatically sync with it?
@JasonPurkiss
@JasonPurkiss 3 года назад
Wow 6 years old and still going well, the video was so clear and exciting i had to give it a go was a bit different in places for some reason but maybe is coz of newer MySQL software and i also had to install ssh to get the data to go to the other server. Question now that i have a master and a slave i original was trying it as a possible backup but now i see that i should use it for writes and slave as reads. do you know if i should just have the Apache on the master or have apache on all the slaves as well? sorry if obvious answer
@JasonPurkiss
@JasonPurkiss 3 года назад
So I now have 2 masters with there own slave each on 2 diffrent computers and a load balance too, and so at any one time there are three slaves and one master, many thanks
@PaulChauvat
@PaulChauvat 3 года назад
Your on my youtube recommandations, respect men.
@PaulChauvat
@PaulChauvat 3 года назад
And btw it's maybe because I watched all your video and it literally helped each time to achieve my project, so, thanks ;)
@LinuxTrainingAcademy
@LinuxTrainingAcademy 3 года назад
Thanks! I'm glad my videos have helped you!
@PaulChauvat
@PaulChauvat 3 года назад
@@LinuxTrainingAcademy and is there anyway for me to have some training with you to learn more about it & be able to manipulate those tools faster ?
@iiiazrockiii
@iiiazrockiii 8 лет назад
Can someone help me? In My Raspberry Pi (Master) at 4:09 it says scp masterdump.sql (ip address) I input the ip address of my laptop the one that im going to make as slave. but after typing it gives me an error ssh: connect to host (ip address) port 22: connection refused lost connection. I tried sudo service ssh start and also enable ssh in sudo raspi-config but nothing happens. Thanks
@oah8465
@oah8465 Год назад
what happens when there is a spotty connection between the master and the slave? will the slave reconnect automatically? what parameters control that? what is the re-try timeout and number of attempts?
@chaitanyabhagat3820
@chaitanyabhagat3820 4 года назад
not able to connect two guest ubuntu os using vagrant? how you configured your vagrant file?
@vitalyRodero
@vitalyRodero 4 года назад
May I ask. Is there a way to set up the replication within a local network with 192.168.0.x ips?
@linoxmikel7718
@linoxmikel7718 7 лет назад
RESPECT .Thanks alot
@shubhamsingla1706
@shubhamsingla1706 7 лет назад
sir, i configured mysql with the help of your video it is running for the first session but when we try it after rebooting system ,it shows following error please guide me error:accessd for user 'root'@'localhost' (using password no )
@kingofheavenworld
@kingofheavenworld 6 лет назад
thank you sir :)
@goranqaqnass5867
@goranqaqnass5867 8 лет назад
thanks so much
@SudeepDasguptaiginition
@SudeepDasguptaiginition 7 лет назад
how to make db01 and db02 in same computer in linux
@iamzaidsiddiqi
@iamzaidsiddiqi 6 лет назад
Can you kindly add a video that explains how to promote a slave to master if actual master goes down.
4 года назад
are those 2 separate servers on Ubuntu? how to set it up?
@RanjanKumar-rr8lk
@RanjanKumar-rr8lk 5 лет назад
Hi My configurations are present in /etc/my.cnf, where this log-bin and server id is not present i manually added it , after that am not able to start mysql.
@imaddiraa4866
@imaddiraa4866 3 года назад
You have to check if the path that you gives is exist if not you have to create the folder
@kibromhaftu
@kibromhaftu 6 лет назад
Great!
@hebin
@hebin 4 года назад
Great!Thanks!
@AdekunleLawal
@AdekunleLawal 4 года назад
Easy does it guys. This is the tutorial. 😀
@user-kh5dw9qs9p
@user-kh5dw9qs9p 8 лет назад
what about GTID replication tutorial ???
@srikarthikreddy7757
@srikarthikreddy7757 8 лет назад
very nice
@lgsantos
@lgsantos 7 лет назад
Excelent video. Congrats!
@rickypasswordrwa
@rickypasswordrwa Год назад
how about the failover?
@ml9586
@ml9586 9 лет назад
Fabulous
@PendebatAhli
@PendebatAhli 2 года назад
is this included fail over sir ?
@NoProblem76
@NoProblem76 8 лет назад
GREATVIDEO
@letuan1227
@letuan1227 6 лет назад
Thanks god. thanks you very much
@rahmasany1271
@rahmasany1271 8 лет назад
is it possible if we implement it in different computer??
@UmarzukiMochlis
@UmarzukiMochlis 8 лет назад
possible, as shown in the video.
@withoutmalicexo
@withoutmalicexo 8 лет назад
auto commit?
@through_the_lens_art
@through_the_lens_art 3 года назад
7m49s of what took me few hours once to figure out!
@Serhat.Eyisekerciler
@Serhat.Eyisekerciler 6 лет назад
güzel anlatım. teşekkürler
@197syahnur
@197syahnur 3 года назад
why do we need to import the snapshot, I thought by "connecting" the slave to the master db, the slave data would be sync with the master data
@LinuxTrainingAcademy
@LinuxTrainingAcademy 3 года назад
When you first create a slave you have to import the data from the master to the slave. Once the master and the slave are synced, you do not have to keep importing the data from the master to the slave. You asked "Why do we need to import the snapshot?" The answer is to establish a syncing relationship from the master to the slave. They have to know about each other. They have to agree about what data exists currently and what data needs to be synced. Just because you think things should work a certain way doesn't mean they actually work that way. ;-)
@aaronjoelneyravictoria1406
@aaronjoelneyravictoria1406 3 года назад
I necessarily have to pass my data from the master DB to the slave? Can't it just be to create the slave and the data I have is automatically passed from the master to the slave?
@LinuxTrainingAcademy
@LinuxTrainingAcademy 3 года назад
When you first create a slave you have to pass (import) the data from the master to the slave. Once the master and the slave are synced, you do not have to keep importing the data from the master to the slave. This step of importing the existing data to a slave is a one-time step, and it is a necessary step. If it wasn't necessary I wouldn't have told you to do so. ;-)
@aaronjoelneyravictoria1406
@aaronjoelneyravictoria1406 3 года назад
@@LinuxTrainingAcademy chalee , bueno gracias :D
@jackjun4766
@jackjun4766 8 лет назад
Thank you very much.
Далее
Склеил девушку-курьера ❤️
01:00
MySQL High Availability and Disaster Recovery
26:23
Просмотров 3,7 тыс.
Mastering Linux Man Pages - A Definitive Guide
39:03
Просмотров 65 тыс.
How Does MariaDB Replication Work?
4:58
Просмотров 10 тыс.
Making Simple Graphical Linux Distro from Scratch
17:19
MySQL 8 Replication on Ubuntu 20.04
10:42
Просмотров 23 тыс.
MySQL Replication Types Explained
8:12
Просмотров 3,1 тыс.
КАКОЙ SAMSUNG КУПИТЬ В 2024 ГОДУ
14:59
Cool Gaming PC Build! #shorts
1:00
Просмотров 3,8 млн