cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-07 12:54:49
阅读次数:
276
host = $host; $this->username = $username; $this->password = $password; $this->dbname = $dbname; } public function open() ...
分类:
数据库 时间:
2014-07-07 12:13:05
阅读次数:
178
db.class.php 主要方法host = $host; $this->username = $username; $this->password = $password; $this->db_name = $db_name; } /** ...
分类:
Web程序 时间:
2014-07-07 11:47:26
阅读次数:
194
1.Bridged 桥接 会选择你电脑上的真实的网卡和你的计算机进行通信,设置成和你真实机同一网段的IP,就可以进行通信,并且可以和局域网内的其他用户进行通信。2.NAT 使用已共享的IP地址 会使用 VMware Network Adapter VMnet83.Host-only 与主机共享一.....
分类:
其他好文 时间:
2014-07-02 23:53:53
阅读次数:
357
cls [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") foreach ($webApplication in Get-SPWebApplication) { Write-Host Write-Hos...
分类:
其他好文 时间:
2014-07-02 23:12:01
阅读次数:
232
最近在linux上面用mysqldump导出数据,放在windows系统中导入就会出现中文乱码,然后就会导致出现: Unknown MySQL server host和Can't connect to the server的错误。解决mysql导入导出数据乱码问题就是统一导入导出的编码,linux默...
分类:
数据库 时间:
2014-07-02 18:53:23
阅读次数:
225
WEB浏览器与WEBserver建立连接后,除了将请求URL中的资源路径发送给WEBserver外,还会将URL中的主机名部分作为HTTP请求消息的Host头发送给WEBserver。比如,在浏览器地址栏中输入http://www.it315.org,浏览器发送给www.it315.org主机上的W...
分类:
其他好文 时间:
2014-07-02 17:42:06
阅读次数:
266
#!/usr/bin/pythonimportMySQLdbdefnew_mail_mysql(ak):printakconn=MySQLdb.connect(host=‘m3306.sae.sina.com.cn‘,user=‘sae_ol‘,passwd=‘7b149edb22ae7526‘,db=‘sae‘,port=3306)cur=conn.cursor()sql="selectnamefromappwhereaccesskey=‘%s‘"%akcur.execute(sql)app_name=cu..
分类:
数据库 时间:
2014-07-02 16:14:12
阅读次数:
285
测试参数:sysbench--test=/root/sysbench0.5/sysbench/tests/db/insert.lua
--mysql-table-engine=innodb--oltp-table-size=1000000
--max-requests=0--max-time=300--num-threads=16
--oltp-tables-count=10--report-interval=10
--mysql-host=10.8.8.100--mysql-port=3312--..
分类:
数据库 时间:
2014-07-02 06:44:36
阅读次数:
280
DFU Class RequestsGet StatusThe Host employs the DFU_GETSTATUS request to facilitate synchronization with the device. This status gives information on...
分类:
其他好文 时间:
2014-07-01 17:35:20
阅读次数:
460