关键字 进入mysql:mysql -uroot -p 查看数据库:show databases 进入数据库:use DATABASE'S_NAME 查看数据库中表:show tables 以上在doc下演示,以后的在工具中演示 mysql中大小写不敏感 创建库:create database if ...
分类:
数据库 时间:
2016-05-09 23:36:32
阅读次数:
463
原理类似留言板; 1, 首先连接数据库mysql -u root -p111111 ,建立新的数据库 dbblog, ;create database dbblog; 2; 使用数据库dbblog, use dbblog 3; 在数据库dbblog下 新建表tbhome;主键自增型,表中 k-v 键 ...
分类:
Web程序 时间:
2016-05-09 21:58:52
阅读次数:
150
背景: 由于单表的数据记录高达了一百万条,造成数据访问很慢,Google分析的后台经常报告超时,尤其是页码大的页面更是慢的不行。 测试环境: 先让我们熟悉下基本的sql语句,来查看下我们将要测试表的基本信息 use infomation_schemaSELECT * FROM TABLES WHER ...
分类:
数据库 时间:
2016-05-09 15:50:32
阅读次数:
198
1.msfconsle 2.use auxiliary/scanner/smb/smb_version 3. msf auxiliary(smb_version) > set RHOSTS 172.16.62.1-200RHOSTS => 172.16.62.1-200msf auxiliary(s ...
分类:
Web程序 时间:
2016-05-09 14:22:33
阅读次数:
197
创建model之后,新建一条记录,结果设计的表中created_at 字段 updated_at 字段 都是datetime 类型的,却不能自动插入当前时间。查看了资料,解决如下: 1、在class CrmBusiness extends \yii\db\ActiveRecord {}中 引入use ...
分类:
其他好文 时间:
2016-05-09 13:58:45
阅读次数:
715
(1)使用float <div class="use-float"> <div></div> <div></div> </div> .use-float>div:first-child{ width:100px; float:left; } .use-float>div:last-child{ ov ...
分类:
其他好文 时间:
2016-05-09 12:29:10
阅读次数:
114
This lesson teaches you how to use dependencies, such as faker.js in your Lambda functions. We will update the lambda code from the Lambda and API Gat ...
分类:
其他好文 时间:
2016-05-08 23:46:35
阅读次数:
196
setnu!setautoindentsetcindentcolorschemedesertsyntaxenablesyntaxonsettags=tags;setautochdirletTlist_Ctags_Cmd=‘ctags.exe‘letTlist_Show_One_File=1letTlist_OnlyWindow=1letTlist_Use_Right_Window=0letTlist_Sort_Type=‘name‘letTlist_Exit_OnlyWindow=1letTlist_Show..
分类:
系统相关 时间:
2016-05-08 20:01:30
阅读次数:
223
In this lesson, you will learn how to create a simple AWS Lambda function to submit a name via an API Gateway and return a resume for that person. At ...
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSManagedObjectContext", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_NSPe ...
分类:
其他好文 时间:
2016-05-08 16:35:31
阅读次数:
146