1 def unselect_from_list(self, locator, *items): 2 """Unselects given values from select list identified by locator. 3 4 As a sp...
分类:
其他好文 时间:
2015-04-29 00:25:19
阅读次数:
290
1 def list_selection_should_be(self, locator, *items): 2 """Verifies the selection of select list identified by `locator` is exactly `*it...
分类:
其他好文 时间:
2015-04-29 00:22:43
阅读次数:
260
1 def unselect_from_list_by_value(self, locator, *values): 2 """Unselects `*values` from list identified by `locator` 3 4 Select...
分类:
其他好文 时间:
2015-04-29 00:17:17
阅读次数:
235
1 def unselect_from_list_by_label(self, locator, *labels): 2 """Unselects `*labels` from list identified by `locator` 3 4 Select...
分类:
其他好文 时间:
2015-04-29 00:15:23
阅读次数:
145
1 def page_should_contain_list(self, locator, message='', loglevel='INFO'): 2 """Verifies select list identified by `locator` is found fr...
分类:
其他好文 时间:
2015-04-28 22:32:35
阅读次数:
131
1. vi /etc/mysql/my.cnf#bind-address = 127.0.0.12. GRANTALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITHGRANTOPTION;3. /etc/init.d/mysq...
分类:
数据库 时间:
2015-04-28 20:31:07
阅读次数:
157
mysql导入数据库中的存储过程和函数出现错误的解决办法调用一个远程拷贝的本地Mysql的储存过程报错:[Err]1449-Theuserspecifiedasadefiner(‘repl‘@‘192.168.1.%‘)doesnotexist解决想法:凭借以前经常见到的root@localhost报错,给root赋值所有权限:grantallprivilegeson*.*to..
分类:
数据库 时间:
2015-04-28 18:49:16
阅读次数:
179
#创建用户
create?user?用户名?identified?by?密码;
#授权
grant?connect,?resource,dba?to?用户名;
#导入
imp?用户名/密码@orcl?file=d:\xx.dmp?full=y...
分类:
数据库 时间:
2015-04-28 14:20:39
阅读次数:
148
三、Mysql主从同步的配置主库IP:192.168.1.2从库IP:192.168.1.3添加一个用于主从同步的用户:GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%' IDENTIFIED BY‘1q2w3e4r’;如果监控mysql主从的话,请加上一个su...
分类:
数据库 时间:
2015-04-28 13:36:31
阅读次数:
220
DBlink常用于在两个Oracle数据库之间相互连接,如手工同步数据时,DBLink是最方便快捷的手段之一。1、创建DBLink语法:create public database link connect to identified by using '';public指明所有用户均可使用这...
分类:
数据库 时间:
2015-04-27 00:14:05
阅读次数:
266