Home > Database > Mysql Tutorial > mysql 主从配置问题 大家帮忙看看

mysql 主从配置问题 大家帮忙看看

WBOY
Release: 2016-06-06 09:41:13
Original
767 people have browsed it

主从mysql主从配置

主 :虚拟机上 ip 192.168.253.21 如图所示
图片说明
sudo /etc/init.d/mysql restart 重启mysql

mysql>grant reolication slave on . to 'myslave'@'192.168.253.17' identified by '123456';

从 :本地w7 ip 192.168.253.17
图片说明
重启mysql之后 未能正确实现 主从备份

求大神啊!!!!!!!!!!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template