Go Back   Thành lập công ty, TOP 10 GOOGLE, Server - System - Manager - CentOS, Operation System, SEO, VBB, HACKING and SECURITY - Rao vặt, tuyển dụng, Thiet ke website > CentOS Việt Nam - Viet Nam Linux CentOS Community > Cài đặt CentOS và ứng dụng > MySQL trên CentOS

Hack map trong Dota - WarCraft 3 (da test ngay 27/01/2010)
Hack gg để chơi map dota cho war 1.23 va 1.24 - vẫn xài tốt
Hướng dẫn Hack gold member tại quán net để mang về nhà
Tư vấn thành lập công ty - vốn thành lập doanh nghiệp
hack cf 1050 ngay 31/01/2010

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-07-2008
Hackingart Member
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 2 Times in 1 Post
Default Setup MySQL Replication - How to?

Hiện tại đang có một con server database chạy trên Windows, em muốn cài thêm 2 con slave cho con server này, một trên windows, và một trên linux. Cách làm như thế nào? Anh chị nào đă thực hiện xin chỉ giáo giúp!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-07-2008
Admin's Avatar
Administrator
 
Join Date: Jun 2008
Location: USA
Posts: 563
Thanks: 34
Thanked 38 Times in 27 Posts
Send a message via Skype™ to Admin
Default

Bạn đọc kỹ tài liệu này, bạn nhé
http://www.hackingart.com/download/M...eplication.zip
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-07-2008
Lovelinux's Avatar
Super Moderator
 
Join Date: Jun 2008
Posts: 249
Thanks: 24
Thanked 50 Times in 28 Posts
Thumbs up Cai dat 2 MYSQL Server tren cung 1 may chu Window hoac Linux

Windows:
Cac buoc cai dat mysql tren cung 1 may (chu y: co the set trong 1 file cau hinh hoac set trong file .ini - o day minh xai ca 2 loai)
1. Copy 2 thu muc mysql505_3306 va mysql5053307 vao o C
2. Tao 2 file my3306.ini va my3307.ini tai C:\windows\ voi noi dung
[mysqld]
# set basedir to your installation path
basedir=C:\\mysql505_3306
# set datadir to the location of your data directory
datadir=C:\\mysql505_3306\\data
thay doi lai path cho 3007...
3. Setup services: vao cmd
a. vao C:\mysql505_3306\bin chay mysqld -install mysql3306 --defaults-file=C:\windows\my3306.ini --port=3306
b. vao C:\mysql505_3307\bin chay mysqld -install mysql3307 --defaults-file=C:\windows\my3307.ini --port=3307
4. start services check and .......Success.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 05:34 PM.


© Diễn đàn HackingArt (HA) được xây dựng và phát triển bởi các thành viên.
+ Diễn đàn HackingArt là nơi trao đổi của các webmaster chuyên nghiệp.