之前因为要使用DES加密,在网上找了好多,总于找到了,整理如下。Des.h文件//// Des.h// Copyright (c) 2014年 grant. All rights reserved.//#import #import @interface Des : NSObject//DE...
分类:
移动开发 时间:
2014-09-04 22:05:40
阅读次数:
318
1.只新建用户的操作mysql -u root -p密码mysql> insert into mysql.user(Host,User,Password) values(‘localhost’,'czc’,password('root'));mysql>flush privileges;mysql>...
分类:
数据库 时间:
2014-09-04 16:24:39
阅读次数:
278
给普通用户赋予dba权限及释放权限: 给普通用户赋予dba权限 grant dba to ldw;(ldw 是用户) 释放权限 revoke dba from LDW;(或小写)
分类:
数据库 时间:
2014-09-04 12:02:09
阅读次数:
257
Mysql Version: Mysql 5.6.
Mysql 中 用户的权限,不仅跟用户相关,还和用户的登入密码(口令)相关。
比如以下语句:
创建用户
create user 'name'@'localhost' identified by 'password'.
授权:
grant all on database.* to username.
这样的语句,你用name + ...
分类:
数据库 时间:
2014-09-04 09:44:18
阅读次数:
266
继承体系:
1:字节流
以stream结尾的都是字节流。字节流用于读取二进制数据。
2:字符流
结尾都是以reader/writer结尾的。
Write
append(char c) :写入字符
write(char[] cbuf)
write(String str)
write(int c)
flush(...
分类:
其他好文 时间:
2014-09-03 22:44:48
阅读次数:
230
some sections in xml are always repeated,I received these file by wcf.I thought it's caused by buffersize of wcf or flush methodof stream.(I don't wha...
分类:
其他好文 时间:
2014-09-01 15:19:03
阅读次数:
279
单表授权grantselect,insert,update,deleteon表名to被授权用户名;grantselect,insert,update,delete,references,alter,indexonT_FIX_BIND_ROUTEtoSPOS_USER3;所有表授权select'gra...
分类:
其他好文 时间:
2014-09-01 10:43:42
阅读次数:
228
1. EXPDP/IMPDP方式
SQL> create user zlm identified by zlm;
User created.
SQL> grant connect,resource to zlm;
Grant succeeded.
SQL> create tablespace ts_zlm datafile '/u01/app/or...
分类:
其他好文 时间:
2014-08-31 17:18:01
阅读次数:
248
先将mysql安装bin目录(例如:c:xxx\xxx\mysql\bin 加入环境变量)1、在命令行窗口下输入net stop mysql5 或 net stop mysql 2、开一个命令行窗口,然后输入mysqld -nt --skip-grant-tables; 3、再开一个DOS窗口,my...
分类:
数据库 时间:
2014-08-31 17:15:01
阅读次数:
267
# mysql -uroot -p mysql> use mysql;mysql> select Host,User from user; 只需要展示用户名和host即可mysql> grant all PRIVILEGES on *.* to wudaogang@'192.168.2.96' .....
分类:
数据库 时间:
2014-08-30 20:17:59
阅读次数:
211