![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MySQL
文章平均质量分 59
麦田zcw
生活不止有诗和远方, 还有眼前的苟且;
展开
-
Mysql sql语句
create table `t1` ( `id` int(11) unsigned not null auto_increment, `user_id` int(11) not null default 0 comment'', `title` varchar(255) not null default '' comment'', `context` text comment'', `money` decimal(10,2) not null default 0.00 comment'', `s原创 2021-12-20 11:49:28 · 301 阅读 · 0 评论 -
MySQL主从复制[001]之 NTP
NTP是网络时间协议(Network Time Protocol),它是用来同步网络中各个计算机的时间的协议。 以下是Centos7中主从的安装配置操作过程 安装ntp # yum install ntp -y 启动服务 # systemctl start ntpd.service 查看启动状态 # systemctl status ntpd.service 开机自启 # systemc...原创 2019-07-24 09:41:44 · 310 阅读 · 0 评论 -
MySQL主从复制[002]之 mysql配置
主服务器 – 主服务器配置(Master,192.168.11.125) # vim /etc/my.cnf ... log-bin=mysql-bin server-id=125 innodb_flush_log_at_trx_commit=1 sync_binlog=1 binlog-do-db=mytest ... – 重启mysql并查看状态 # systemctl restart m...原创 2019-07-24 10:01:38 · 111 阅读 · 0 评论