doc-exports/docs/dcs/umn/dcs-faq-0730007.html
Chen, Junjie ea05d1a734 DCS UMN Initial Version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Chen, Junjie <chenjunjie@huawei.com>
Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
2022-12-12 14:07:56 +00:00

18 lines
2.4 KiB
HTML

<a name="dcs-faq-0730007"></a><a name="dcs-faq-0730007"></a>
<h1 class="topictitle1">Why Is "ERR unknown command" Displayed When I Access a DCS Redis Instance Through a Redis Client?</h1>
<div id="body1596093268949"><p id="dcs-faq-0730007__en-us_topic_0152099099_p196719695311">The possible causes are as follows:</p>
<ol id="dcs-faq-0730007__en-us_topic_0152099099_ol02571317120"><li id="dcs-faq-0730007__en-us_topic_0152099099_li32514137117">The command is spelled incorrectly.<p id="dcs-faq-0730007__en-us_topic_0152099099_p1793654714211"><a name="dcs-faq-0730007__en-us_topic_0152099099_li32514137117"></a><a name="en-us_topic_0152099099_li32514137117"></a>As shown in the following figure, the error message is returned because the correct command for deleting a string should be <strong id="dcs-faq-0730007__b11197171545219">del</strong>.</p>
<p id="dcs-faq-0730007__en-us_topic_0152099099_p12522551218"><span><img id="dcs-faq-0730007__en-us_topic_0152099099_image58393378210" src="en-us_image_0266315616.png"></span></p>
</li><li id="dcs-faq-0730007__en-us_topic_0152099099_li225141316111">A command available in a higher Redis version is run in a lower Redis version.<p id="dcs-faq-0730007__en-us_topic_0152099099_p837784381913"><a name="dcs-faq-0730007__en-us_topic_0152099099_li225141316111"></a><a name="en-us_topic_0152099099_li225141316111"></a>As shown in the following figure, the error message is returned because a stream command (available in Redis 5.0) is run in Redis 3.0.</p>
<p id="dcs-faq-0730007__en-us_topic_0152099099_p667431195"><span><img id="dcs-faq-0730007__en-us_topic_0152099099_image164815412710" src="en-us_image_0266315617.png"></span></p>
</li><li id="dcs-faq-0730007__en-us_topic_0152099099_li525713517">Some commands are disabled.<p id="dcs-faq-0730007__en-us_topic_0152099099_p4666647102019"><a name="dcs-faq-0730007__en-us_topic_0152099099_li525713517"></a><a name="en-us_topic_0152099099_li525713517"></a>DCS Redis instance interfaces are fully compatible with the open-source Redis in terms of data access. However, for ease of use and security purposes, some operations cannot be initiated through Redis clients. For details about disabled commands, see <a href="dcs-pd-200312003.html">Command Compatibility</a>.</p>
</li></ol>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dcs-faq-0326020.html">Client and Network Connection</a></div>
</div>
</div>