forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
123 lines
21 KiB
HTML
123 lines
21 KiB
HTML
<a name="mrs_01_1751"></a><a name="mrs_01_1751"></a>
|
|
|
|
<h1 class="topictitle1">Interconnecting Hive with External Self-Built Relational Databases</h1>
|
|
<div id="body0000001533317506"><div class="note" id="mrs_01_1751__note835285022717"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="mrs_01_1751__ul4356143102519"><li id="mrs_01_1751__li33261346284">This section describes how to connect Hive with built-in relational databases open-source MySQL and Postgres.</li><li id="mrs_01_1751__li133561243112515">After an external metadata database is deployed in a cluster with Hive data, the original metadata tables will not be automatically synchronized. Before installing Hive, determine whether to store metadata in an external database or DBService. For the former, deploy an external database when installing Hive or when there is no Hive data. After Hive installation, the metadata storage location cannot be changed. Otherwise, the original metadata will be lost.</li></ul>
|
|
</div></div>
|
|
<p id="mrs_01_1751__p93596469572"><strong id="mrs_01_1751__b13474515162416">Hive supports access to open source MySQL and Postgres metabases.</strong></p>
|
|
<ol id="mrs_01_1751__ol173272291573"><li id="mrs_01_1751__li1132702919577"><span>Install the open source MySQL or Postgres database.</span><p><div class="note" id="mrs_01_1751__note13389269303"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="mrs_01_1751__p134281153183010">The node where the database is installed must be in the same network segment as the cluster, so that they can access each other.</p>
|
|
</div></div>
|
|
</p></li><li id="mrs_01_1751__li161241356122611"><span>Upload the driver package.</span><p><ul id="mrs_01_1751__ul1198031112275"><li id="mrs_01_1751__li361040885">PostgreSQL:<p id="mrs_01_1751__p19637841585"><a name="mrs_01_1751__li361040885"></a><a name="li361040885"></a>Use the open source driver package to replace the cluster's existing one. Download the open source PostgreSQL driver package <strong id="mrs_01_1751__b206608446083727">postgresql-42.2.5.jar</strong> at <a href="https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.5/" target="_blank" rel="noopener noreferrer">https://repo1.maven.org/maven2/org/postgresql/postgresql/42.2.5/</a> and upload it to the <strong id="mrs_01_1751__b1846253110196">${BIGDATA_HOME}/third_lib/Hive</strong> directory on all MetaStore nodes.</p>
|
|
<p id="mrs_01_1751__p16817161871314">Run the following commands on all MetaStore nodes to modify the permission on the driver package:</p>
|
|
<p id="mrs_01_1751__p868712288161"><strong id="mrs_01_1751__b9565153612185">cd ${BIGDATA_HOME}/third_lib/Hive</strong></p>
|
|
<p id="mrs_01_1751__p52611148174"><strong id="mrs_01_1751__b44461422151711">chown omm:wheel</strong> <strong id="mrs_01_1751__b13448183221711">postgresql-42.2.5.jar</strong></p>
|
|
<p id="mrs_01_1751__p158473413176"><strong id="mrs_01_1751__b77096392170">chmod 600</strong><strong id="mrs_01_1751__b1726740121813"> postgresql-42.2.5.jar</strong></p>
|
|
</li><li id="mrs_01_1751__li118082571917">MySQL:<p id="mrs_01_1751__p2695102621915"><a name="mrs_01_1751__li118082571917"></a><a name="li118082571917"></a>Visit the MySQL official website at <a href="https://www.mysql.com/" target="_blank" rel="noopener noreferrer">https://www.mysql.com/</a>, choose <strong id="mrs_01_1751__b16142622181416">DOWNLOADS</strong> > <strong id="mrs_01_1751__b4142172231413">MySQL Community(GPL) DownLoads</strong> > <strong id="mrs_01_1751__b914352241418">Connector/J</strong>, and download the driver package of the required version.</p>
|
|
<ul id="mrs_01_1751__ul179791574392"><li id="mrs_01_1751__li4641265396">Versions earlier than MRS 8.2.0, upload the driver package to the <strong id="mrs_01_1751__b11441343125016">/opt/Bigdata/FusionInsight_HD_*/install/FusionInsight-Hive-*/hive-*/lib/</strong> directory on all RDSMetastore nodes.</li><li id="mrs_01_1751__li1010862916402">MRS 8.2.0 and later versions, upload the driver package to the <strong id="mrs_01_1751__b9346530144011">${BIGDATA_HOME}/third_lib/Hive</strong> directory on all RDSMetastore nodes.</li></ul>
|
|
<p id="mrs_01_1751__p1976515252019">Run the following commands on all MetaStore nodes to modify the permission on the driver package:</p>
|
|
<p id="mrs_01_1751__p5766924209"><strong id="mrs_01_1751__b576662182017">cd /opt/Bigdata/FusionInsight_HD_*/install/FusionInsight-Hive-*/hive-*/lib/</strong></p>
|
|
<p id="mrs_01_1751__p67661421206"><strong id="mrs_01_1751__b1376616212200">chown omm:wheel</strong> <strong id="mrs_01_1751__b18331236102119">mysql-connector-java-*.jar</strong></p>
|
|
<p id="mrs_01_1751__p187676222012"><strong id="mrs_01_1751__b1076742192017">chmod 600</strong><strong id="mrs_01_1751__b676811219206"> mysql-connector-java-*.jar</strong></p>
|
|
</li></ul>
|
|
</p></li><li id="mrs_01_1751__li1742162711619"><a name="mrs_01_1751__li1742162711619"></a><a name="li1742162711619"></a><span>Create a user and metadata database in the self-built database and assign all permissions on the database to the user. For example:</span><p><ul id="mrs_01_1751__ul1428710294227"><li id="mrs_01_1751__li16429429142312">Run the following commands in the PostgreSQL database to create the database <strong id="mrs_01_1751__b474115596151">hivemeta</strong> and the user <strong id="mrs_01_1751__b9742105917155">testuser</strong>, and assign all permissions on <strong id="mrs_01_1751__b3742165961520">hivemeta</strong> to <strong id="mrs_01_1751__b11742135913158">testuser</strong>:<p id="mrs_01_1751__p63731136132417"><strong id="mrs_01_1751__b103272035162618">create user testuser with password 'password';</strong></p>
|
|
<p id="mrs_01_1751__p59051639142517"><strong id="mrs_01_1751__b10330635202610">create database hivemeta owner testuser;</strong></p>
|
|
<p id="mrs_01_1751__p153968472617"><strong id="mrs_01_1751__b13332035122610">grant all privileges on database hivemeta to testuser;</strong></p>
|
|
</li><li id="mrs_01_1751__li577833152219">Run the following commands in the MySQL database to create the database <strong id="mrs_01_1751__b19401242181611">hivemeta</strong> and the user <strong id="mrs_01_1751__b741742191617">testuser</strong>, and assign all permissions on <strong id="mrs_01_1751__b54320421167">hivemeta</strong> to <strong id="mrs_01_1751__b1443194291613">testuser</strong>:<p id="mrs_01_1751__p43956371790"><strong id="mrs_01_1751__b64212301497">create database hivemeta;</strong></p>
|
|
<p id="mrs_01_1751__p64211301098"><strong id="mrs_01_1751__b942110305913">create user 'testuser'@'%' identified by 'password';</strong></p>
|
|
<p id="mrs_01_1751__p1142110301594"><strong id="mrs_01_1751__b1542153013911">grant all privileges on hivemeta.* to 'testuser';</strong></p>
|
|
<p id="mrs_01_1751__p1542110303915"><strong id="mrs_01_1751__b164216306913">flush privileges;</strong></p>
|
|
</li></ul>
|
|
</p></li><li id="mrs_01_1751__li15848182614321"><span>Import the SQL statements for creating metadata tables.</span><p><ul id="mrs_01_1751__ul65215412364"><li id="mrs_01_1751__li1052041113619">SQL script path in the PostgreSQL database: <strong id="mrs_01_1751__b19963131812">${BIGDATA_HOME}/FusionInsight_HD_*/install/FusionInsight-Hive-*/hive-*/scripts/metastore/upgrade/postgres/hive-schema-3.1.0.postgres.sql</strong><p id="mrs_01_1751__p1585615754315">Run the following command to import the SQL file to Postgres:</p>
|
|
<p id="mrs_01_1751__p565025716374"><strong id="mrs_01_1751__b4418654123314">./bin/psql -U </strong><em id="mrs_01_1751__i1777715493314">username</em><strong id="mrs_01_1751__b4919143573411"> -d </strong><em id="mrs_01_1751__i6207193620348">databasename</em><strong id="mrs_01_1751__b19919143543410"> -f hive-schema-3.1.0.postgres.sql</strong></p>
|
|
<p id="mrs_01_1751__p185671510443">Specifically:</p>
|
|
<p id="mrs_01_1751__p5791111110445"><strong id="mrs_01_1751__b76420113390">./bin/psql</strong> is in the Postgres installation directory.</p>
|
|
<p id="mrs_01_1751__p116322187448"><strong id="mrs_01_1751__b1338992134012">username</strong> indicates the username for logging in to Postgres.</p>
|
|
<p id="mrs_01_1751__p2572113573312"><strong id="mrs_01_1751__b16951204312447"><em id="mrs_01_1751__i52386436448">databasename</em></strong> indicates the database name.</p>
|
|
</li><li id="mrs_01_1751__li016050103610">SQL script path in the MySQL database: <strong id="mrs_01_1751__b15340181711201">${BIGDATA_HOME}/FusionInsight_HD_*/install/FusionInsight-Hive-*/hive-*/scripts/metastore/upgrade/mysql/hive-schema-3.1.0.mysql.sql</strong><p id="mrs_01_1751__p197905154410">Run the following command to import the SQL file to the MySQL database:</p>
|
|
<p id="mrs_01_1751__p20506384455"><strong id="mrs_01_1751__b182511815174018">./bin/mysql -u </strong><em id="mrs_01_1751__i8254161584010">username</em><strong id="mrs_01_1751__b12704155064014"> -p</strong><em id="mrs_01_1751__i8264952144010"> password</em><strong id="mrs_01_1751__b783131324117"> -D</strong><em id="mrs_01_1751__i150762494114"> databasename</em><strong id="mrs_01_1751__b38315131413"><hive-schema-3.1.0.mysql.sql</strong></p>
|
|
<p id="mrs_01_1751__p109222205459">Specifically:</p>
|
|
<p id="mrs_01_1751__p08629287456"><strong id="mrs_01_1751__b963318228479">./bin/mysql</strong> is in the MySQL installation directory.</p>
|
|
<p id="mrs_01_1751__p176931832124515"><strong id="mrs_01_1751__b15656737124712"><em id="mrs_01_1751__i3310819104316">username</em></strong> indicates the user name for logging in to MySQL.</p>
|
|
<p id="mrs_01_1751__p17281191543919"><strong id="mrs_01_1751__b763111474810"><em id="mrs_01_1751__i166251214134820">databasename</em></strong> indicates the database name.</p>
|
|
</li></ul>
|
|
</p></li><li id="mrs_01_1751__li18339443124"><span>To connect Hive to the open source database, log in to FusionInsight Manager. Choose <strong id="mrs_01_1751__b12798172615271">Cluster</strong> > <em id="mrs_01_1751__i1753102512147">Name of the desired cluster</em> > <strong id="mrs_01_1751__b20661113332712">Services</strong> > <strong id="mrs_01_1751__b1498993782714">Hive</strong>. Click <strong id="mrs_01_1751__b83451540142717">Configurations</strong> then <strong id="mrs_01_1751__b6395445192719">All Configurations</strong>, click <strong id="mrs_01_1751__b1509747162713"> Hive(Service)</strong>, select <strong id="mrs_01_1751__b97451450192715">MetaDB</strong>, modify the following parameters, and click <strong id="mrs_01_1751__b10288155920421">Save</strong>:</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1751__table1999612014189" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Parameters</caption><thead align="left"><tr id="mrs_01_1751__row11997110101813"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.5.2.1.2.4.1.1"><p id="mrs_01_1751__p999716018189">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.5.2.1.2.4.1.2"><p id="mrs_01_1751__p189977014185">Default Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.5.2.1.2.4.1.3"><p id="mrs_01_1751__p59971509184">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1751__row199971906187"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.1 "><p id="mrs_01_1751__p109974014180">javax.jdo.option.ConnectionDriverName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.2 "><p id="mrs_01_1751__p8997106184">org.postgresql.Driver</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.3 "><p id="mrs_01_1751__p127931248184119">Driver class for connecting metadata on MetaStore</p>
|
|
<ul id="mrs_01_1751__ul64983344215"><li id="mrs_01_1751__li1738115441021">If an external MySQL database is used, the value is:<p id="mrs_01_1751__p16597100136"><a name="mrs_01_1751__li1738115441021"></a><a name="li1738115441021"></a><strong id="mrs_01_1751__b1881216377916">com.mysql.jdbc.Driver</strong></p>
|
|
</li><li id="mrs_01_1751__li17989205012220">If an external Postgres database is used, the value is:<p id="mrs_01_1751__p198141557822"><a name="mrs_01_1751__li17989205012220"></a><a name="li17989205012220"></a><strong id="mrs_01_1751__b1941117288916">org.postgresql.Driver</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1751__row59975013188"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.1 "><p id="mrs_01_1751__p6997110121818">javax.jdo.option.ConnectionURL</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.2 "><p id="mrs_01_1751__p499760191811">jdbc:postgresql://%{DBSERVICE_FLOAT_IP}%{DBServer}:%{DBSERVICE_CPORT}/hivemeta?socketTimeout=60</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.3 "><p id="mrs_01_1751__p09971702184">URL of the JDBC link of the MetaStore metadata</p>
|
|
<ul id="mrs_01_1751__ul1596171094317"><li id="mrs_01_1751__li596121054310">If an external MySQL database is used, the value is:<p id="mrs_01_1751__p58521847115413"><a name="mrs_01_1751__li596121054310"></a><a name="li596121054310"></a><strong id="mrs_01_1751__b20530204618206">jdbc:mysql://</strong><em id="mrs_01_1751__i7531346192018">IP address of the MySQL database</em><strong id="mrs_01_1751__b1453344619201">:</strong><em id="mrs_01_1751__i55352468208">Port number of the MySQL database</em><strong id="mrs_01_1751__b1316476152211">/hivemeta?characterEncoding=utf-8</strong></p>
|
|
</li><li id="mrs_01_1751__li6751715184318">If an external Postgres database is used, the value is:<p id="mrs_01_1751__p661172011429"><a name="mrs_01_1751__li6751715184318"></a><a name="li6751715184318"></a><strong id="mrs_01_1751__b13171646132217">jdbc:postgresql://</strong><em id="mrs_01_1751__i13171946182219">IP address of the PostgreSQL database</em><strong id="mrs_01_1751__b1317154617228">:</strong><em id="mrs_01_1751__i1031794617224">Port number of the PostgreSQL database</em><strong id="mrs_01_1751__b2317184662214">/hivemeta</strong></p>
|
|
</li></ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="mrs_01_1751__row189973011820"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.1 "><p id="mrs_01_1751__p199700131813">javax.jdo.option.ConnectionUserName</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.2 "><p id="mrs_01_1751__p6997909183">hive${SERVICE_INDEX}${SERVICE_INDEX}</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.5.2.1.2.4.1.3 "><p id="mrs_01_1751__p5997408180">Username for connecting to the metadata database on Metastore</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="mrs_01_1751__li11909455124315"><span>Change the Postgres database password in MetaStore. Choose <strong id="mrs_01_1751__b9836916192917">Cluster</strong> > <strong id="mrs_01_1751__b11809939105117"><em id="mrs_01_1751__i772162012299">Name of the desired cluster</em></strong> > <strong id="mrs_01_1751__b154641923112919">Services</strong> > <strong id="mrs_01_1751__b273472715291">Hive</strong> > <strong id="mrs_01_1751__b1256417308299">Configurations</strong> > <strong id="mrs_01_1751__b122351934142912">All Configurations</strong> > <strong id="mrs_01_1751__b99291136152912">MetaStore(Role)</strong> > <strong id="mrs_01_1751__b4463174019298">MetaDB</strong>, modify the following parameters, and click <strong id="mrs_01_1751__b8547115711514">Save</strong>.</span><p>
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="mrs_01_1751__table10910115517438" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Parameter</caption><thead align="left"><tr id="mrs_01_1751__row1910175564313"><th align="left" class="cellrowborder" valign="top" width="33.373337333733375%" id="mcps1.3.3.6.2.1.2.4.1.1"><p id="mrs_01_1751__p16910125511433">Parameter</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.29332933293329%" id="mcps1.3.3.6.2.1.2.4.1.2"><p id="mrs_01_1751__p191025518434">Default Value</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.6.2.1.2.4.1.3"><p id="mrs_01_1751__p1591025519435">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="mrs_01_1751__row1991018554439"><td class="cellrowborder" valign="top" width="33.373337333733375%" headers="mcps1.3.3.6.2.1.2.4.1.1 "><p id="mrs_01_1751__p1591018553430">javax.jdo.option.extend.ConnectionPassword</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.29332933293329%" headers="mcps1.3.3.6.2.1.2.4.1.2 "><p id="mrs_01_1751__p1091015554313">******</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.6.2.1.2.4.1.3 "><p id="mrs_01_1751__p7910055174313">User password for connecting to the external metadata database on Metastore. The password is encrypted in the background.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</p></li><li id="mrs_01_1751__li437619388210"><span>Log in to each MetaStore background node and check whether the local directory <strong id="mrs_01_1751__b67392512311">/opt/Bigdata/tmp</strong> exists.</span><p><ul id="mrs_01_1751__ul15522114205916"><li id="mrs_01_1751__li12522121485912">If yes, go to <a href="#mrs_01_1751__li24241321154318">8</a>.</li><li id="mrs_01_1751__li1955520265111">If no, run the following commands to create one:<p id="mrs_01_1751__p45551826815"><a name="mrs_01_1751__li1955520265111"></a><a name="li1955520265111"></a><strong id="mrs_01_1751__b205551261719">mkdir -p /opt/</strong><strong id="mrs_01_1751__b5555162617115">Bigdata/tmp</strong></p>
|
|
<p id="mrs_01_1751__p455517268118"><strong id="mrs_01_1751__b255517263118">chmod 755 /opt/</strong><strong id="mrs_01_1751__b5555126310">Bigdata/tmp</strong></p>
|
|
</li></ul>
|
|
</p></li><li id="mrs_01_1751__li24241321154318"><a name="mrs_01_1751__li24241321154318"></a><a name="li24241321154318"></a><span>Save the configuration. Choose <strong id="mrs_01_1751__b37311688226">Dashboard</strong> > <strong id="mrs_01_1751__b187371852218">More</strong> ><strong id="mrs_01_1751__b167378852213"> Restart Service</strong>, and enter the password to restart the Hive service.</span></li><li id="mrs_01_1751__li4821447102314"><span>Log in to the MySQL or PostgreSQL database and view metadata tables generated in the metadata database created in <a href="#mrs_01_1751__li1742162711619">3</a>.</span><p><p id="mrs_01_1751__p15575719162716"><span><img id="mrs_01_1751__image36554492276" src="en-us_image_0000001584077717.png"></span></p>
|
|
</p></li><li id="mrs_01_1751__li1076818262303"><span>Check whether the metadata database is successfully deployed.</span><p><ol type="a" id="mrs_01_1751__ol2098965343111"><li id="mrs_01_1751__li1918855018312">Log in to the node where the Hive client is installed as the client installation user.<p id="mrs_01_1751__p11931132673215"><a name="mrs_01_1751__li1918855018312"></a><a name="li1918855018312"></a><strong id="mrs_01_1751__b4242529173218">cd </strong><em id="mrs_01_1751__i144879312329">Client installation directory</em></p>
|
|
<p id="mrs_01_1751__p12952103214321"><strong id="mrs_01_1751__a32ecf708d4cb4e4d9c017de49ec5b482">source bigdata_env</strong></p>
|
|
<p id="mrs_01_1751__p1355310413339"><strong id="mrs_01_1751__b77535521583727">kinit </strong><em id="mrs_01_1751__i2620034783727">Component service user</em> (Skip this step for clusters with Kerberos authentication disabled.)</p>
|
|
</li><li id="mrs_01_1751__li6397163813334">Run the following command to log in to the Hive client CLI:<p id="mrs_01_1751__p649476113411"><a name="mrs_01_1751__li6397163813334"></a><a name="li6397163813334"></a><strong id="mrs_01_1751__b5561613203415">beeline</strong></p>
|
|
</li><li id="mrs_01_1751__li89434163348">Run the following command to create the <strong id="mrs_01_1751__b1252115483420">test</strong> table:<p id="mrs_01_1751__p1784155319355"><strong id="mrs_01_1751__b119942210364">create table</strong><em id="mrs_01_1751__i1487838365"> test</em><strong id="mrs_01_1751__b1199413243613">(id int,str1 string,str2 string);</strong></p>
|
|
</li><li id="mrs_01_1751__li658519210436">Run the following command in the <strong id="mrs_01_1751__b127831033685">hivemeta</strong> database of the MySQL or PostgreSQL database to check whether there is any information about the <strong id="mrs_01_1751__b156915342451">test</strong> table:<p id="mrs_01_1751__p172320197462"><strong id="mrs_01_1751__b819612221460">select * from TBLS;</strong></p>
|
|
<p id="mrs_01_1751__p421192484619">If information about the <strong id="mrs_01_1751__b92291543114919">test</strong> table is displayed, the external database is successfully deployed. For example:</p>
|
|
<ul id="mrs_01_1751__ul490012564712"><li id="mrs_01_1751__li59000511478">The result in the MySQL database is as follows:<p id="mrs_01_1751__p4668125024817"><a name="mrs_01_1751__li59000511478"></a><a name="li59000511478"></a><span><img id="mrs_01_1751__image666835084817" src="en-us_image_0000001583757997.png"></span></p>
|
|
</li><li id="mrs_01_1751__li281013054713">The result in the PostgreSQL database is as follows:<p id="mrs_01_1751__p122756582493"><a name="mrs_01_1751__li281013054713"></a><a name="li281013054713"></a><span><img id="mrs_01_1751__image1127595812493" src="en-us_image_0000001583957937.png"></span></p>
|
|
</li></ul>
|
|
</li></ol>
|
|
</p></li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_0581.html">Using Hive</a></div>
|
|
</div>
|
|
</div>
|
|
|