《Redis使用手册》(试读版)⻚⾯, 并在有需要时获取它: >>> from redis import Redis >>> from cache import Cache >>> client = Redis(decode_responses=True) # 使⽤⽂本编码⽅式打开客户端 >>> cache = Cache(client) >>> cache.set("greeting-page", "hello 以下代码演示了这个锁的使⽤⽅法: >>> from redis import Redis >>> from lock import Lock >>> client = Redis(decode_responses=True) >>> lock = Lock(client, 'test-lock') >>> lock.acquire() # 成功获取锁 True >>> lock.acquire() 以下代码展示了这个⽂章储存程序的使⽤⽅法: >>> from redis import Redis >>> from article import Article >>> client = Redis(decode_responses=True) >>> article = Article(client, 10086) # 指定⽂章 ID >>> article.create('message'
0 码力 | 352 页 | 6.57 MB | 1 年前3
firebird wire protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2. Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . deferring the read of the response. Chapter 1. Introduction 3 Chapter 2. Responses The wire protocol has a limited set of responses. Some operations have a specific response, which is described together together with the operation. Most operation however use one (or more) of the responses described in this section. The meaning and content depend on the operation that initiated the response. 2.1. Generic response0 码力 | 40 页 | 213.15 KB | 1 年前3
The Vitess 6.0 DocumentationExists This error is because etcd was not cleaned up from the previous run of the example. You can manually fix this by running ./401_teardown.sh, removing vtdataroot and then starting again: Error: 105: Key Key already exists (/vitess/zone1) [6] Error: 105: Key already exists (/vitess/global) [6] MySQL Fails to Initialize This error is most likely the result of SELinux enabled: 1027 18:28:23.462926 19486 mysqld: [ERROR] Failed to open required defaults file: /home/morgo/vitess/vtdataroot/vt_0000000102/my.cnf mysqld: [ERROR] Fatal error in defaults handling. Program aborted! could not stat mysql error log0 码力 | 210 页 | 846.79 KB | 1 年前3
The Vitess 5.0 DocumentationExists This error is because etcd was not cleaned up from the previous run of the example. You can manually fix this by running ./401_teardown.sh, removing vtdataroot and then starting again: Error: 105: Key Key already exists (/vitess/zone1) [6] Error: 105: Key already exists (/vitess/global) [6] MySQL Fails to Initialize This error is most likely the result of SELinux enabled: 1027 18:28:23.462926 19486 mysqld: [ERROR] Failed to open required defaults file: /home/morgo/vitess/vtdataroot/vt_0000000102/my.cnf mysqld: [ERROR] Fatal error in defaults handling. Program aborted! could not stat mysql error log0 码力 | 206 页 | 875.06 KB | 1 年前3
DBeaver User Guide v.21.2Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 263 页 | 13.78 MB | 1 年前3
DBeaver User Guide v.6.2Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 263 页 | 13.78 MB | 1 年前3
DBeaver User Guide v.6.3Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 274 页 | 15.03 MB | 1 年前3
DBeaver User Guide v.7.0Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 277 页 | 15.10 MB | 1 年前3
DBeaver User Guide v.7.1Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 281 页 | 15.13 MB | 1 年前3
DBeaver User Guide v.7.2Interval b) Select the checkbox if you want the refresh to stop when it encounters an error or clear it, if Stop on error the refresh should ignore errors. c) Click . OK Alternatively, click the arrow values. When you try to save changes in a table without a unique key, DBeaver displays the following error message: To use all columns as the virtual key, click . To create a custom key, click . Use All waiting for PROXY connection. If Debug Client cannot get PORT name from the process being debugged, an error message appears. Debug Client creates a session, then tries to establish connection with the debugged0 码力 | 281 页 | 15.14 MB | 1 年前3
共 251 条
- 1
- 2
- 3
- 4
- 5
- 6
- 26













