摘要: insert into mysql.user(Host,User,Password) values('localhost','用户名',password('密码')); 阅读全文
posted @ 2013-10-12 15:11 test.cfs 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 使用root登录,执行sql语句。insert into mysql.user(Host,User,Password) values('localhost','用户名',password('密码')); //添加用户flush privileges; //刷新数据库create database 数据库名; //新建数据库grant all privileges on 数据库名.* to 用... 阅读全文
posted @ 2013-10-12 15:08 test.cfs 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1.本地登录phpmyadmin执行:update user set password=password('123456') where user='root'; //更改密码FLUSH PRIVILEGES; //刷新数据库 2.修改文件:wamp\apps\phpmyadmin3.1.1\config.inc.php 将passwd值改为上步设置密码$cfg['Servers'][$i][... 阅读全文
posted @ 2013-10-12 14:51 test.cfs 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 修改httpd.confAllow from 127.0.0.1改为Allow from allphpmyadmin同理配置文件:\wamp\alias\phpmyadmin.conf 阅读全文
posted @ 2013-10-12 14:39 test.cfs 阅读(128) 评论(0) 推荐(0) 编辑
摘要: wordpress搬家后,文章图片调用网站绝对路径,因更换了域名,故图片全挂。进mysql,执行:UPDATE 数据表名 SET 字段名 = replace(字段名, '要替换的字符串', '替换为') ;例:UPDATE wp_posts SET post_content = REPLACE( post_content, '原内容', ' 新内容' ) ; 阅读全文
posted @ 2013-10-12 14:33 test.cfs 阅读(131) 评论(0) 推荐(0) 编辑
摘要: this is fuck test .please wu shi 阅读全文
posted @ 2013-10-12 14:06 test.cfs 阅读(115) 评论(0) 推荐(0) 编辑