Home  >  Article  >  Database  >  MySQL数据库配置主从服务器实现双机热备实例教程

MySQL数据库配置主从服务器实现双机热备实例教程

WBOY
WBOYOriginal
2016-06-07 17:39:421090browse

网站:bbs.justin.com程序在:Web服务器10.15.72.73上面数据库在:MySQL服务器10.15.72.177上面实现目的:增加一台MySQL备份服务器(10.15.72.136),做为MySQL

groupadd mysql  #四、在客户机Windows 7(10.15.72.74)中进行以下操作(bbs.justin.com域名要事先解析到Web服务器10.15.72.73),出现下面的程序安装界面,香港服务器,开始安装-同意协议,香港虚拟主机,下一步

host='

show  tables;  #查看justindb表结构,会看到有一个新建的表test,表示数据库同步成功

至此,MySQL数据库配置主从服务器实现双机热备实例教程完成

 

本文出自 “justin” 博客,请务必保留此出处

,香港虚拟主机
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn