forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
157 lines
29 KiB
HTML
157 lines
29 KiB
HTML
<a name="EN-US_TOPIC_0000001707293761"></a><a name="EN-US_TOPIC_0000001707293761"></a>
|
|
|
|
<h1 class="topictitle1">Using the Data Studio GUI Client to Connect to a Cluster</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p158431416102714">Data Studio is a SQL client tool running on the Windows operating system. It provides various GUIs for you to manage databases and database objects, as well as edit, run, and debug SQL scripts, and view execution plans. Download the Data Studio software package from the GaussDB(DWS) management console. The package can be used without installation after being decompressed.</p>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p684361613277">Data Studio versions include <span class="parmvalue" id="EN-US_TOPIC_0000001707293761__parmvalue53227007051225"><b>Windows x86</b></span> (32-bit Windows system) and <span class="parmvalue" id="EN-US_TOPIC_0000001707293761__parmvalue79810685551225"><b>Windows x64</b></span> (64-bit Windows system).</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_section83156195500"><h4 class="sectiontitle">Preparations Before Connecting to a Cluster</h4><ul id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u5f9e274e097c4cb0a01bc52d0dea7929"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l698e72fad4924beaa9dde9f1f3550b04">You have obtained the administrator username and password for logging in to the database in the data warehouse cluster.</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l471f83ff77544b2ca8bf46843e3c5fe4">You have obtained the public network address, including the IP address and port number in the data warehouse cluster. For details, see <a href="dws_01_0033.html">Obtaining the Cluster Connection Address</a>.</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l720df4c5e78944108a35df9d0bcd9167">You have configured the security group of the GaussDB(DWS) cluster and added an inbound rule that allows users' IP addresses to access ports using the TCP.<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ae3db2fa108d44265a2ec4e954e02cc46"><a name="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l720df4c5e78944108a35df9d0bcd9167"></a><a name="en-us_topic_0000001423159601_l720df4c5e78944108a35df9d0bcd9167"></a>For details, see "Security > Security Group > Adding a Security Group Rule" in the <i><cite id="EN-US_TOPIC_0000001707293761__cite167052180751225">Virtual Private Cloud User Guide</cite></i>.</p>
|
|
</li></ul>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_section12757151571018"><h4 class="sectiontitle">Connecting to the Cluster Database Using Data Studio</h4><ol id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_o704e9cabb0dc4c40a6f8dc058e0e475d"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l02caec1406614792b012a3bb1f265136"><span>GaussDB(DWS) provides a Windows-based Data Studio client and the tool depends on the JDK. You need to install the JDK on the client host first.</span><p><div class="notice" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_note8709413195718"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p1070917132572">Only JDK 1.8 is supported.</p>
|
|
</div></div>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ab3880bb56b2945ba8bef1d96e3202373">In the Windows operating system, you can download the required JDK version from the official website of JDK, and install it by following the installation guide.</p>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_li7589648964"><span>Log in to the GaussDB(DWS) management console.</span></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l5fc46501764c49fe88b848445d7556c6"><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ue46e52afaf674a8ca17980baf3e45870"><b>Client Connections</b></span>.</span></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l47ff62a337bb4402897ab2c9d13390bf"><span>On the <span class="parmname" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_pbe59f1f80ded4879922ab89e4fcab4a8"><b>Download Client and Driver</b></span> page, download <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u06ca7c35a15b4d828964c9ae1854fb73"><b>Data Studio GUI Client</b></span>.</span><p><ul id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u90f4f99e10aa4a90a09c5b09f1969eb8"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_lbd658b4ddc8342f6a1c27dd925c70b18">Select <span class="parmvalue" id="EN-US_TOPIC_0000001707293761__parmvalue187444957751225"><b>Windows x86</b></span> or <span class="parmvalue" id="EN-US_TOPIC_0000001707293761__parmvalue199817038851225"><b>Windows x64</b></span> based on the operating system type and click <strong id="EN-US_TOPIC_0000001707293761__b209471978351225">Download</strong> to download the Data Studio tool matching the current cluster version.<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a35402fb14846470186272761f18d8906">If clusters of different versions are available, you will download the Data Studio tool matching the earliest cluster version after clicking <strong id="EN-US_TOPIC_0000001707293761__b191772143051225">Download</strong>. If there is no cluster, you will download the Data Studio tool of the earliest version after clicking <strong id="EN-US_TOPIC_0000001707293761__b75086861051225">Download</strong>. GaussDB(DWS) clusters are compatible with earlier versions of Data Studio.</p>
|
|
</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_lf1eb9f5889124689bbb37e978dfbd8ce">Click <strong id="EN-US_TOPIC_0000001707293761__b61940428751225">Historical Version</strong> to download the corresponding Data Studio version. You are advised to download the Data Studio based on the cluster version.</li></ul>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_lcdf09427867149c4b325417afc33bb32"><span>Decompress the downloaded client software package (32-bit or 64-bit) to the installation directory.</span></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l6a0449c9de4f4fce8b94fe65b1c8ed5e"><span>Open the installation directory and double-click <strong id="EN-US_TOPIC_0000001707293761__b150929248951225">Data Studio.exe</strong> to start the Data Studio client. See <a href="#EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_febe974d888e24ddd8948572b362f7ef2">Figure 1</a>.</span><p><div class="fignone" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_febe974d888e24ddd8948572b362f7ef2"><a name="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_febe974d888e24ddd8948572b362f7ef2"></a><a name="en-us_topic_0000001423159601_febe974d888e24ddd8948572b362f7ef2"></a><span class="figcap"><b>Figure 1 </b>Starting the client</span><br><span><img id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_i56ff2a12f9f849dca2fcd6771e7629a3" src="figure/en-us_image_0000001711592276.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_note1317733710483"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p1717773764817">If your computer blocks the running of the application, you can unlock the <strong id="EN-US_TOPIC_0000001707293761__b1708139451225">Data Studio.exe</strong> file to start the application.</p>
|
|
</div></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_lf09135db35954e8b8a3167b9045c73ec"><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__uicontrol144395548451225"><b>File</b></span> > <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__uicontrol55909102351225"><b>New Connection</b></span> from the main menu. See <a href="#EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_f5e30eb5f20c9434e971d8b2786b02dbf">Figure 2</a>.</span><p><div class="fignone" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_f5e30eb5f20c9434e971d8b2786b02dbf"><a name="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_f5e30eb5f20c9434e971d8b2786b02dbf"></a><a name="en-us_topic_0000001423159601_f5e30eb5f20c9434e971d8b2786b02dbf"></a><span class="figcap"><b>Figure 2 </b>Creating a connection</span><br><span><img id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_i2bc625a9683d40caad9051cdf5c42d8f" src="figure/en-us_image_0000001759511693.png"></span></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_li9560830912"><span>In the displayed <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u748c19e3907e44ecba1b4c69b25420ca"><b>New Database Connection</b></span> window, enter the connection parameters.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_t1af0ca815f7842d5a21fda355dc65bd1" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Connection parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r998b3685340648cdafff9b1fe232c000"><th align="left" class="cellrowborder" valign="top" width="19.01190119011901%" id="mcps1.3.4.2.8.2.1.2.4.1.1"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p167171710393"><strong id="EN-US_TOPIC_0000001707293761__b36444561451225">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="58.8058805880588%" id="mcps1.3.4.2.8.2.1.2.4.1.2"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p9741716392"><strong id="EN-US_TOPIC_0000001707293761__b112831211651225">Description</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="22.182218221822183%" id="mcps1.3.4.2.8.2.1.2.4.1.3"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p88171713915"><strong id="EN-US_TOPIC_0000001707293761__b128566426151225">Example</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r666487d1871c4c67b803066814fc89a7"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p51683131702">Database Type</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p1681682202411">Select <strong id="EN-US_TOPIC_0000001707293761__b150072242851225">GaussDB A</strong>.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_p16375185117405">GaussDB A</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_rd489ffeb99f8442387250de8fae31af8"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p38131716399">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p7813171399">Name of a connection</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p11813172392">dws-demo</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_rb5e8545bc43e4b8a9a021ba41aeefe11"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p12812176393">Host</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p38191720395">IP address (IPv4) or domain name of the cluster to be connected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p88617143914">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r7afbb93b02494aedacc0d5cd192407a7"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p88017123920">Host Port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p2861717396">Database port</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p3812176392">8000</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_row9881783912"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p158161773917">Database</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p48111711396">Database name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p98817133916"><span id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_text5762101212489">gaussdb</span></p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r616f149dd82b43129c47c6607bb17c91"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p081117133920">User</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p10911171395">Username for connecting to the database</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p10991783915">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r61966e4859c54422b07d0a6601282b76"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a43eee1cac6424178808d3748a272c2bb">Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p149101753912">Password for logging in to the database to be connected</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p9921719399">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r9e3e4f337acc4f61b15fa1e0e998bcce"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a28808cecbace4652988cbf02de8875cd">Save Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a2b9420d35de6421ea02d623eda4f67b1">Select an option from the drop-down list:</p>
|
|
<ul id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_ul37500309263"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l5701b77b4d764322b0d494f5cad93ac3"><strong id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_adb2e6088264e456ca8cddd167d3663a5"><span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u42e2f00ff5c645779f736616302231b8"><b>Current Session Only</b></span></strong>: The password is saved only in the current session.</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_le41bdb409f364a549792d2112d73fa42"><strong id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ac90e788518f64040948dace4fcd284ca"><span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ub85a156dfc4a4f86bc6af49f533a2449"><b>Do Not Save</b></span></strong>: The password is not saved.</li></ul>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a84be3f8b1d4549e0adcf749640bc9dc0">-</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_rb2cb4a7d7c254e898b8cf100733384c5"><td class="cellrowborder" valign="top" width="19.01190119011901%" headers="mcps1.3.4.2.8.2.1.2.4.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p880824281913">Enable SSL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="58.8058805880588%" headers="mcps1.3.4.2.8.2.1.2.4.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a96a5bb2ce5dd4eddb9712b1ec340e207">If <strong id="EN-US_TOPIC_0000001707293761__b30748306951225">Enable SSL</strong> is selected, the client can use SSL to encrypt connections. The SSL mode is more secure than common modes, so you are advised to enable SSL connection.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="22.182218221822183%" headers="mcps1.3.4.2.8.2.1.2.4.1.3 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p280954217195">-</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ac751c87406bc4b38850ce6d951a819d8">When <strong id="EN-US_TOPIC_0000001707293761__b164395600351225">Enable SSL</strong> is selected, download the SSL certificate and decompress it by referring to <a href="dws_01_0038.html#EN-US_TOPIC_0000001659054490__en-us_topic_0000001372520154_li13478842115911">Downloading SSL Certificate</a>. Click the <strong id="EN-US_TOPIC_0000001707293761__b124454394651225">SSL</strong> tab and configure the following parameters:</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_tc6a4177683ae43a5a21e02a558b115d1" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Configuring SSL parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_re85a10ea61f04c57a14374ca5c7d6050"><th align="left" class="cellrowborder" valign="top" width="19.38%" id="mcps1.3.4.2.8.2.3.2.3.1.1"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a033d348bbfd54eb4bbc8cfdcbe364f7c"><strong id="EN-US_TOPIC_0000001707293761__b206623996451225">Parameter</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="80.62%" id="mcps1.3.4.2.8.2.3.2.3.1.2"><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p19137554319"><strong id="EN-US_TOPIC_0000001707293761__b169163046551225">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ra35932b78ca140b7a5439c9f7e3107ad"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.4.2.8.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a9ad6035d6045458ebf34506c32399247">Client SSL Certificate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.4.2.8.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a8107c62bfd1d4ecfacf90307da3294d9">Select the <span class="filepath" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_fea612bd9aaa44bd29b4bbc294e86e824"><b>sslcert\client.crt</b></span> file in the decompressed SSL certificate directory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r4a637f73e2164fa1bb65347c59e962cf"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.4.2.8.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p121516558317">Client SSL Key</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.4.2.8.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a5a76dbcc4fa74168be4ddd10f99571c7">Only the PK8 format is supported. Select the <strong id="EN-US_TOPIC_0000001707293761__b51330824451225">sslcert\client.key.pk8</strong> file in the directory where the SSL certificate is decompressed.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_re654cf33e6fd4162a322d30a10112453"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.4.2.8.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p91575583118">Root Certificate</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.4.2.8.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ace66c1ada5ef40aba396d828d1cb5546">When <span class="parmname" id="EN-US_TOPIC_0000001707293761__parmname139262087951225"><b>SSL Mode</b></span> is set to <span class="parmvalue" id="EN-US_TOPIC_0000001707293761__parmvalue13657668851225"><b>verify-ca</b></span>, the root certificate must be configured. Select the <span class="filepath" id="EN-US_TOPIC_0000001707293761__filepath66624092251225"><b>sslcert\cacert.pem</b></span> file in the decompressed SSL certificate directory.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_rc13e8815e6954b508b90480dd8dfc491"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.4.2.8.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p516125517315">SSL Password</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.4.2.8.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p21655516313">Set the password for the client SSL key in PK8 format.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_r422d1cb572a34d88ae84caa91c68f153"><td class="cellrowborder" valign="top" width="19.38%" headers="mcps1.3.4.2.8.2.3.2.3.1.1 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p616115515312">SSL Mode</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="80.62%" headers="mcps1.3.4.2.8.2.3.2.3.1.2 "><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_aae9d413250a648b4b7f97d2aca66b196">Supported SSL modes include:</p>
|
|
<ul id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_uef8cf175c60947de9f9cccfa40627114"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_led5000cbf972424193937b27da18335c">require</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_lc88d3ca75992452cb37cfad2d3706233">verify-ca</li></ul>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a294fdd7a18c04b48a350671d148ab611">GaussDB(DWS) does not support the <strong id="EN-US_TOPIC_0000001707293761__b174959441368">verify-full</strong> mode.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="fignone" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_f5782e5489c5843a0be779dfbfbcd3a42"><span class="figcap"><b>Figure 3 </b>Configuring SSL parameters</span><br><span><img id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_i232821e5252d4ed9b71faf166456bbba" src="figure/en-us_image_0000001711432792.png" title="Click to enlarge" class="imgResize"></span></div>
|
|
</p></li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_l0f48d8d8af9940408fb4feb101b8bd32"><span>Click <strong id="EN-US_TOPIC_0000001707293761__b42805979651225">OK</strong> to establish the database connection.</span><p><p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_a4214388937904d7d8652acf51c9c11e4">If SSL is enabled, click <strong id="EN-US_TOPIC_0000001707293761__b145769870451225">Continue</strong> in the displayed <span class="wintitle" id="EN-US_TOPIC_0000001707293761__wintitle102813391151225"><b>Connection Security Alert</b></span> dialog box.</p>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_en-us_topic_0107187019_p85509113378">After the login is successful, the <span class="wintitle" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_w1e31bfaaf1a8407fb2c80ed4decd6052"><b>RECENT LOGIN ACTIVITY</b></span> dialog box is displayed, indicating that Data Studio is connected to the database. You can run the SQL statement in the <span class="menucascade" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_mb931cf429f114a608d43a93357c503cc"><b><span class="uicontrol" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_u9119999a6f07481aa4f17a6d31b55ecd">SQL Terminal</span></b></span> window on the Data Studio page.</p>
|
|
<div class="fignone" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_fba153892b20741e79591551a71842471"><span class="figcap"><b>Figure 4 </b>Successful login</span><br><span><img id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_i58711214a21e47e78d6ada600f865a49" src="figure/en-us_image_0000001759351821.png"></span></div>
|
|
<p id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_affd755df62cb44b7a1554cee0fa5333f">For details about how to use other functions of Data Studio, press <span class="uicontrol" id="EN-US_TOPIC_0000001707293761__uicontrol833518479617"><b>F1</b></span> to view the Data Studio user manual.</p>
|
|
<div class="note" id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_note18341642145918"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_ul1825665295818"><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_li22561152185819">Data cannot be rolled back after being added, deleted, modified, or queried in Data Studio.</li><li id="EN-US_TOPIC_0000001707293761__li638902111410">Data Studio can save connection information, excluding passwords.</li><li id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001423159601_li4410103616183">DDL/DDL and data cannot be exported in batches for the following objects:<ul id="EN-US_TOPIC_0000001707293761__ul18136745163218"><li id="EN-US_TOPIC_0000001707293761__li17646164111814"><strong id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001510285513_en-us_topic_0185264547_b19931542115114">Export DDL:</strong><p id="EN-US_TOPIC_0000001707293761__p73801745141816">Connection, database, foreign table, sequence, column, index, constraint, partition, function/procedure group, regular tables group, views group, schemas group, and system catalog group.</p>
|
|
</li><li id="EN-US_TOPIC_0000001707293761__li164714191814"><strong id="EN-US_TOPIC_0000001707293761__en-us_topic_0000001510285513_en-us_topic_0185264547_b49623566521">Export DDL and Data</strong><p id="EN-US_TOPIC_0000001707293761__p13630144615187">Connection, database, namespace, foreign table, sequence, column, index, constraint, partition, function/procedure, view, regular tables group, schemas group, and system catalog group.</p>
|
|
</li></ul>
|
|
</li></ul>
|
|
</div></div>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_01_0131.html">Cluster Connection</a></div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<script language="JavaScript">
|
|
<!--
|
|
image_size('.imgResize');
|
|
var msg_imageMax = "view original image";
|
|
var msg_imageClose = "close";
|
|
//--></script> |