摘要: 在my.ini 中添加log-bin=e:/wamp/bin/mysql/mysql5.5.20/bin/bin_log/lihao_bin.log;这句话的意思是打开bin_log日志,设置bin_log日志的位置,一把我们都把它放在mysql的bin目录下面1.查看 bin_log日志是否打开 show variables like 'log_bin'on 表示已打开2.更新日志同时新建一个日志 flush logs3.查看日志 show master logs;4.查看当前日志 show master status 5.重置日志 reset master ; 所有的日志都 阅读全文
posted @ 2012-11-01 09:56 nihao1314520 阅读(288) 评论(0) 推荐(0)
摘要: 1.把php.ini的;extension=php_sockets.dll把前面的逗号去掉,重启服务器。2.改变环境变量 找到php目录我的是: 修改环境变量: 右击‘我的电脑’--->'属性'---->‘高级’------->'环境变量'------->双击‘path’----->在后面加上;路径3.下面进入正题:上代码 //服务器端<?php/* * To change this template, choose Tools | Templates * and open the template in the editor 阅读全文
posted @ 2012-11-01 09:16 nihao1314520 阅读(195) 评论(0) 推荐(0)