1 def get_selected_list_values(self, locator): 2 """Returns the values of selected elements (as a list) from the select list identified b...
分类:
其他好文 时间:
2015-04-26 16:27:11
阅读次数:
114
1 def get_selected_list_value(self, locator): 2 """Returns the value of the selected element from the select list identified by `locator`...
分类:
其他好文 时间:
2015-04-26 16:26:22
阅读次数:
85
1 def get_selected_list_label(self, locator):2 """Returns the visible label of the selected element from the select list identified by `lo...
分类:
其他好文 时间:
2015-04-26 15:08:13
阅读次数:
148
1 def get_list_items(self, locator):2 """Returns the values in the select list identified by `locator`.3 4 Select list keywords wo...
分类:
其他好文 时间:
2015-04-26 15:08:07
阅读次数:
130
主;1.my.cnfserver-id=1log-bin=mysql-binread-only=0#主机,读写都可以,1只能读binlog-do-db=dbname--要同步的数据库名称,多个写多行binlog-ignore-db=dbname--不要同步的数据库名称,多个写多行2.重启servicemysqldstart3.创建用户grantreplicationslaveon*.*torepuser@‘%‘i..
分类:
数据库 时间:
2015-04-24 19:36:17
阅读次数:
191
mysql -uroot -h127.0.0.1 -P3306 –p 登陆本地的机器 grant all privileges on *.* to mysql@192.168.1.3 identified by '1'; (必须使用identified,否则可能不使用密码就可以进入到数据库中) gr...
分类:
数据库 时间:
2015-04-24 18:33:21
阅读次数:
146
注:我的运行环境是widnows xp professional + MySQL5.0 一, 创建用户: 命令:CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明:username - 你将创建的用户名, host - 指定该用户在哪...
分类:
数据库 时间:
2015-04-23 21:30:58
阅读次数:
217
新建用户,并授予所有权限:grantallprivilegeson*.*to‘username‘@‘localhost‘identifiedby‘password‘withgrantoption;进入mysql数据库,查询user表和db表可见权限设置usermysql;select*fromuserwhereuser=‘username‘andhost=‘localhost‘\G;select*fromdb\G;
分类:
数据库 时间:
2015-04-20 13:19:06
阅读次数:
161
记录,方便查阅。配置controller节点的配置数据库建立:mysql -p123456 -e "CREATE DATABASE nova;GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'192.168.23.11' IDENTIFIED BY 'nova';G...
分类:
其他好文 时间:
2015-04-19 14:33:50
阅读次数:
529
主备复制配置1,主备创建账号GRANT REPLICATION SLAVE,REPLICATION CLIENT ON *.*TO rep@’172.16.0.%’ IDENTIFIED BY ‘rep’;2,配置主库My.cnflog_bin=mysql-binserver_id=10innodb...
分类:
数据库 时间:
2015-04-17 18:00:29
阅读次数:
174