forked from docs/doc-exports
Reviewed-by: Drobnak, David <david.drobnak@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
19 lines
2.8 KiB
HTML
19 lines
2.8 KiB
HTML
<a name="rds_faq_0075"></a><a name="rds_faq_0075"></a>
|
|
|
|
<h1 class="topictitle1">Why Does the Root User Not Have the Super Permissions?</h1>
|
|
<div id="body8662426"><p id="rds_faq_0075__a39094a2d184f42abaf2f7c27928bdb0d">Most relational database cloud service platforms do not provide super permissions for the <strong id="rds_faq_0075__b842352706102918">root</strong> user. The super permissions allow users to execute many management commands, such as reset master, set global, kill, and reset slave. These operations may cause primary/standby replication errors. This is a major difference between public cloud databases and on-premises MySQL databases. To ensure stable running of DB instances, RDS does not provide the super permission for the <strong id="rds_faq_0075__b720612237103623">root</strong> user.</p>
|
|
<p id="rds_faq_0075__p116633414915">If you need to perform actions that normally require super permissions, RDS provides alternative methods.</p>
|
|
<p id="rds_faq_0075__p1292014404564">For example:</p>
|
|
<ol id="rds_faq_0075__o5fa0919139bb4cbcbd93c23c2c4ccf5a"><li id="rds_faq_0075__laf163200dea64007af9f6d80fb9f6893">You can modify parameter values only on the RDS console. You cannot run the following command on an RDS DB database to modify parameter values.<p id="rds_faq_0075__en-us_topic_0132838202_p785010222218"><a name="rds_faq_0075__laf163200dea64007af9f6d80fb9f6893"></a><a name="laf163200dea64007af9f6d80fb9f6893"></a><strong id="rds_faq_0075__b1776001955104116">set global parameter name=<em id="rds_faq_0075__i1101445183104116">Parameter value</em>;</strong></p>
|
|
<p id="rds_faq_0075__p45256173714">If the script contains the <strong id="rds_faq_0075__b264412315213">set global</strong> command, delete the <strong id="rds_faq_0075__b157362369210">set global</strong> command and modify parameter values through the RDS console.</p>
|
|
</li><li id="rds_faq_0075__li17243184411218">An error is reported after you run the following command because the <strong id="rds_faq_0075__b23511043191114">root</strong> user does not have super permissions. You can delete <strong id="rds_faq_0075__b103567437115">definer='root'</strong> from the command to solve the problem.<p id="rds_faq_0075__p1279195501217"><strong id="rds_faq_0075__b1973990036104423">create definer='root'@'%' trigger(procedure)...</strong></p>
|
|
<p id="rds_faq_0075__p1224817505124">You can import data using mysqldump. For operation details, see <a href="rds_migration_mysql.html">Migrating Data to RDS for MySQL Using mysqldump</a>.</p>
|
|
</li><li id="rds_faq_0075__l55da839d0dd149db8be0db97bf00ffc6">You can create PostgreSQL plugins by referring to <a href="rds_09_0043.html">Installing and Uninstalling a Plugin Using SQL Commands</a>.</li></ol>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rds_faq_0154.html">Database Permission</a></div>
|
|
</div>
|
|
</div>
|
|
|