Files
doc-exports/docs/rds/umn/rds_faq_0027.html
wangdengke2 ac787f42f1 rds_umn
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2026-02-05 14:42:55 +00:00

18 lines
2.7 KiB
HTML

<a name="rds_faq_0027"></a><a name="rds_faq_0027"></a>
<h1 class="topictitle1">How Can I Install the MySQL Client?</h1>
<div id="body8662426"><p id="rds_faq_0027__en-us_topic_0086556931_p716997816195">MySQL provides client installation packages for different OSs on its official website. MySQL 8.0 is used as an example. You can download the <a href="https://dev.mysql.com/downloads/mysql/8.0.html#downloads" target="_blank" rel="noopener noreferrer">latest version</a> or <a href="https://downloads.mysql.com/archives/community/" target="_blank" rel="noopener noreferrer">any other version</a> for your project. The following procedure illustrates how to obtain the required installation package and install the MySQL client into a Red Hat Linux system.</p>
<div class="section" id="rds_faq_0027__section1218516193013"><h4 class="sectiontitle">Procedure</h4><ol id="rds_faq_0027__o6f71a46026484d63b50bb97e180806b5"><li id="rds_faq_0027__l5c3d02e540744ccea4ca3c756d6e11c4"><span>Obtain the installation package.</span><p><p id="rds_faq_0027__en-us_topic_0086556931_p75317410124">Find the <a href="https://downloads.mysql.com/archives/community/" target="_blank" rel="noopener noreferrer">link</a> to the required version on the download page. mysql-community-client-8.0.26-1.el8.x86_64.rpm is used as an example in the following figure.</p>
<div class="fignone" id="rds_faq_0027__fig106905415919"><span class="figcap"><b>Figure 1 </b>Download</span><br><span><img id="rds_faq_0027__image77019466582" src="en-us_image_0000001934653410.png"></span></div>
</p></li><li id="rds_faq_0027__l5dd7d545a3b945cda87ab7a449b8f276"><span>Upload the installation package to the <span id="rds_faq_0027__text1538316415553">ECS</span>.</span><p><ol type="a" id="rds_faq_0027__ol16167145216453"><li id="rds_faq_0027__li41670526455">When you create an <span id="rds_faq_0027__text11366744134511">ECS</span>, select an OS, such as Red Hat 8.8, and bind an <span id="rds_faq_0027__text113661144174512">EIP</span> to it.</li><li id="rds_faq_0027__li151674526458">Use a remote connection tool to connect to the <span id="rds_faq_0027__text193242293592">ECS</span> through the bound EIP and upload the installation package to the <span id="rds_faq_0027__text14717103255919">ECS</span>.</li></ol>
</p></li><li id="rds_faq_0027__lca1eae7b44f04855879df320f7d6244b"><span>Run the following command to install the MySQL client:</span><p><pre class="codeblock" id="rds_faq_0027__codeblock1521118151812">rpm -ivh --nodeps mysql-community-client-8.0.26-1.el8.x86_64.rpm</pre>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_faq_0152.html">Client Installation</a></div>
</div>
</div>