1,修改/etc/my.cnf添加添加skip-grant参数,重启mysql. 2,登录mysql mysql -uroot 3, 更新user中root的密码 use mysql; update user set password=password ('npasswd') where user= ...
分类:
数据库 时间:
2016-07-11 12:05:43
阅读次数:
144
git init # 初始化本地git仓库(创建新仓库) git config --global user.name "xxx" # 配置用户名 git config --global user.email "xxx@xxx.com" # 配置邮件 git config --global color ...
分类:
其他好文 时间:
2016-07-11 10:39:08
阅读次数:
139
private Button home_but_home; private Button home_but_sort; private Button home_but_cart; private Button home_but_user; private Fragment[] allfrag; pr ...
分类:
其他好文 时间:
2016-07-11 09:04:40
阅读次数:
179
(1) 伪 类 伪类分为 ui伪类 与 结构化伪类 先说下ui伪类 UI( User Interface,用户界面)伪类会在 HTML 元素处于某个状态时(比如鼠标 指针位于链接上),为该元素应用 CSS 样式。 链接伪类::link{未被点击时} :hover{鼠标悬浮时} :active{被选择 ...
分类:
Web程序 时间:
2016-07-11 07:52:00
阅读次数:
152
<directory/data/www/mmm>allowoverridenoneoptionsnoneorderallow,denyallow</directory><filesmatch"(.*)php(.*)">orderallow,denyallowfromall<filesmatch>禁用useragentrewritecond%{http_user_agent}".*curl.*"[nc,or]rewritecond%{http_user_age..
分类:
其他好文 时间:
2016-07-11 01:21:00
阅读次数:
149
find【查找范围】【条件表达式】条件表达式:-name-size-type-user-type中常用类型:f:普通文件、d:目录、b:块设备文件、c:字符设备文件块设备文件:硬盘、内存字符设备文件:键盘、鼠标2.atime、mtime、ctimeatime:读取文件或者执行的时候更改的mtime:在写入文件跟着内..
分类:
其他好文 时间:
2016-07-11 01:17:34
阅读次数:
214
user nginx ; #用户 worker_processes 8; #工作进程,根据硬件调整,大于等于cpu核数 error_log logs/error.log; #错误日志 pid logs/nginx.pid; #pid放置的位置 pid进程标识符,用来查找进程 worker_rlimi ...
分类:
其他好文 时间:
2016-07-11 00:47:22
阅读次数:
163
问题: CentOS7安装完毕,重新开机启动后显示: Initial setup of CentOS Linux 7 (core) 1) [x] Creat user 2) [!] License information (no user will be created) (license not ...
分类:
系统相关 时间:
2016-07-11 00:41:01
阅读次数:
298
配置参数详解 user nginx nginx ; Nginx用户及组:用户 组。window下不指定 worker_processes 8; 工作进程:数目。根据硬件调整,通常等于CPU数量或者2倍于CPU。 error_log logs/error.log; error_log logs/err ...
分类:
其他好文 时间:
2016-07-10 23:08:10
阅读次数:
153
今天在进行数据库文件备份时,SQL Server抛出错误: Executed as user: NT SERVICE\SQLSERVERAGENT. The backup data at the end of "xxxx.bak" is incorrectly formatted. Backup s ...
分类:
其他好文 时间:
2016-07-10 23:02:05
阅读次数:
179