• myisamchk和mysqlcheck修复MySQL数据库

    1、myisamchk 使用 myisamchk 必须暂时停止 MySQL 服务器。例如,我们要检修 test 数据库。执行以下操作: # service mysql stop (停止 MySQL ); # myisamchk -r /数据库文件的绝对路径/*MYI # service mysql start myisamchk 会自动检查并修复数据表中的索引错误。 2、mysqlcheck mysqlcheck -a -c -o -r –all-databases -uroot -p //这条命令是即可最佳化所有db数据库。...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年4月21日 | 分类:Mysql | 阅读:1,844次 |
  • mysql备份与还原

    mysqldump备份: mysqldump -u root -p test >c:\test.sql  备份数据库,密码之后输入 mysqldump -u root -p test wm_user > c:\test.sql  备份数据库下的wm_user表 mysqldump -u -root -p -all-databases > D:\all.sql 备份所有服务器下数据库(数据超慢) (注:如出现mysqldump: unknown option '--',在网上找到原因是mysqldump读取mysql安装文件my.cnf里的内容...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年4月21日 | 分类:Mysql | 阅读:1,176次 |
  • 远程桌面锁屏时间调整

    经常操作windows服务器,服务器一直不锁屏,这样操作起来会比较方便,方法如下: windows 2003 设置开始-运行,输入gpedit.msc 找到: 计算机配置-管理模板-windows组件-终端服务-会话,设置右边属性栏目的“为断开的会话设置时间”可以自定为:、从不、1分钟、5分钟、最长为2天。 如图:   windows 2008 设置 开始-运行,输入gpedit.msc 找到 计算机配置-管理模板-Wind...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年3月23日 | 分类:Windows | 阅读:3,005次 |
  • Ramnit.x病毒专杀工具

    虽然Ramnit病毒是2010年出现的,但是目前还是一款危险度极大的一种病毒,多存在于外{过}{滤}挂程序中,各杀毒软件均不能完美修复被感染文件,要么是修复完成后,程序损坏,无法运行,要么根本就没修复成功,基本上杀软的修复也就是删除处理,全盘的EXE和DLL是主要的,删除了系统也基本上废了,所以往常很多人中了该病毒后都是全盘格式化然后重装系统,但是现在不需要了,赛...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年3月19日 | 分类:Windows | 阅读:2,531次 |
  • win2008 IE安全级别默认为高不能改,关闭IESec可解决问题

    在上一篇文章中,提到IE安全级别默认为高不能改的终极解决方法,不过那只是在win2003系统有效,对于win2008系统,那个方法就不适用了,需要用另一个方法来解决,本文就介绍这个方法。 win2008初始化系统配置后IE安全级别不能改 Win2008中IE默认启用了“IE增强的安全性”IESEC功能,这个功能在Server2003中就出现了,需要用户把要访问的站点加入到安全站点列表中才能正常访问。...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年2月25日 | 分类:Windows | 阅读:1,568次 |
  • ThinkCMF实现当前栏目选中效果

    代码如下: <php> $pid_info=M('terms')->where('term_id='.I('get.id'))->find(); $pid_path = explode("-",$pid_info['path']); $path_text=array(); foreach ($pid_path as $pid_vo) { if(empty($pid_vo)){ array_push($path_text,'首页'); }else{ $tmp=M('terms')->where('term_id='.$pid_vo)->find(); array_push($path_text,$tmp['name']); } } $p...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年1月14日 | 分类:ThinkCMF | 阅读:1,390次 |
  • ThinkCMF 获取当前位置

    ThinkCMF 获取当前位置,代码如下: <php> $pid_info=M('terms')->where('term_id='.I('get.id'))->find(); $pid_path = explode("-",$pid_info['path']); $path_text=array(); foreach ($pid_path as $pid_vo) { if(empty($pid_vo)){ array_push($path_text,'首页'); }else{ $tmp=M('terms')->where('term_id='.$pid_vo)->find(); array_push($path_text...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年1月14日 | 分类:ThinkCMF | 阅读:1,319次 |
  • ThinkCMF 文章做成单页伪静态

    文章做成单页,但需要在美化里做,原始网址:portal/article/index?cid=1&id=1 显示网址:article 这样就行了,cid代表栏目,id代表文章。
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年1月14日 | 分类:ThinkCMF | 阅读:1,264次 |
  • thinkcmf 忘记后台密码?

    后台密码忘记了怎么办? 1.如果你已经在后台配置了,邮件发送功能且邮箱是你的真实邮箱,可以到前台登录页找回密码; 2.如果你是后台管理员,你可以使用 sp_password()方法生成一下新的密码; 你只要在任何一个前台可以访问控制器里,如application/Portal/Controller/IndexController.class.php <?php namespace Portal\Controller; use Common\Controller\HomebaseCo...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2017年1月10日 | 分类:ThinkCMF | 阅读:899次 |
  • 清理Win7旗舰版多余的桌面右键菜单

      打开Win+R,输入regedit 找到键值HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\,只保留new这一项,其余全部删除。 完成后,就好了
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2016年11月20日 | 分类:Windows | 阅读:1,403次 |
  • 浦松学生收费,安装Win7查询慢问题

    学校使用浦松学生收费2005软件已经好多年了,功能上还是可以的,软件不一定追求高版本,实用就可以了。但问题来了,由于XP系统逐步淘汰,新换的计算机不支持XP,原来在XP上安装此软件客户端查询收费时比较快,现在换成WIN7查询时非常慢,找到厂家提供技术支持,结果公司已经不存在了,浦松官网为(http://www.pusong.com),哎,杯具了!网上也没有此软件问题的解决方法,...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2016年11月14日 | 分类:其它 | 阅读:1,323次 |