[root@hzswtb2-mpc ~]# mysqlERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)遇到:ERROR 1045 (28000): Access denied for ...
分类:
数据库 时间:
2015-06-20 10:30:45
阅读次数:
137
1.定义Provide a surrogate(代理) or placeholder for another object to control access to it(为其他对象提供一种代理以控制对这个对象的访问)2.模式说明.Subject抽象主题角色抽象主题类可以是抽象类也可以是接口,是一个...
分类:
其他好文 时间:
2015-06-19 18:37:44
阅读次数:
103
split.sh#!/bin/bashlog_dir="/dev/shm/"date_file=`date+%g%m%d%H%M`/bin/mv
${log_dir}/nginx_access.log${log_dir}/${date_file}.trn[!-f
/var/run/nginx.pid]||kill-USR1`cat/var/run/nginx.pid`/jobs/pusher/logtosql.sh${log_dir}/${date_file}.trn/bin/mv${log_dir}/${d..
分类:
其他好文 时间:
2015-06-18 20:16:36
阅读次数:
143
关于获得/检测Jenkins的Version,下面页面(Jenkins Remote access API)中有说明: https://wiki.jenkins-ci.org/display/JENKINS/Remote+access+API Detecting Jenkins version(检测Jenkins的Version) To che...
mac下使用mysql时出现了ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)错误root用户无法登陆,按网上的方法试验了下,总是达不到结果大致方法都是进入安全模式启动,然后进行操作,...
分类:
数据库 时间:
2015-06-18 17:13:24
阅读次数:
270
DAODAO是Data Access Object三个首字母的组合,是和数据库打交道的,夹在业务逻辑与数据资源中间。一个标准的DAO模式包含:
(1)VO:数据传输对象,一般和数据库中的一张数据表对应(一个实例相当于数据表中的一条记录,具体看例子比较好理解)
(2)DAO接口:一个接口,声明包含的需要的操作
(3)DAOImpl:DAO接口的具体实现类,只负责实现DAO接口声明的功能,不包括数...
分类:
其他好文 时间:
2015-06-18 09:46:38
阅读次数:
173
有的时候忘记了root密码或其他用户的密码,登录的时候报错:ERROR 1044 (42000): Access denied for user ”@’localhost’ to database 'xx'。下面是具体的解决方法:1、关闭mysql#service mysqld stop2、屏...
分类:
数据库 时间:
2015-06-18 09:22:30
阅读次数:
159
The Windows Phone Silverlight 8.1 app model gives WindowsPhone8 developers access to some of the newest features available in Windows Phone Store apps...
分类:
移动开发 时间:
2015-06-17 21:27:48
阅读次数:
143
一、Adapter介绍An Adapter object acts as a bridge between an AdapterView and the underlying data for that view. The Adapter provides access to the data it...
分类:
移动开发 时间:
2015-06-17 18:00:39
阅读次数:
163
using System;using System.Collections.Generic;using System.Text;using System.Data;//using System.Data.OleDb;//using System.Drawing;//namespace EColor{...
分类:
数据库 时间:
2015-06-17 16:36:43
阅读次数:
141