<small id='Bh2og'></small><noframes id='Bh2og'>

    <legend id='Bh2og'><style id='Bh2og'><dir id='Bh2og'><q id='Bh2og'></q></dir></style></legend>
    <tfoot id='Bh2og'></tfoot>
  1. <i id='Bh2og'><tr id='Bh2og'><dt id='Bh2og'><q id='Bh2og'><span id='Bh2og'><b id='Bh2og'><form id='Bh2og'><ins id='Bh2og'></ins><ul id='Bh2og'></ul><sub id='Bh2og'></sub></form><legend id='Bh2og'></legend><bdo id='Bh2og'><pre id='Bh2og'><center id='Bh2og'></center></pre></bdo></b><th id='Bh2og'></th></span></q></dt></tr></i><div id='Bh2og'><tfoot id='Bh2og'></tfoot><dl id='Bh2og'><fieldset id='Bh2og'></fieldset></dl></div>
    • <bdo id='Bh2og'></bdo><ul id='Bh2og'></ul>
    1. MySQL/Amazon RDS 错误:“您没有 SUPER 权限...";

      时间:2023-06-24
          <bdo id='eldjE'></bdo><ul id='eldjE'></ul>

            <small id='eldjE'></small><noframes id='eldjE'>

              <legend id='eldjE'><style id='eldjE'><dir id='eldjE'><q id='eldjE'></q></dir></style></legend>

            1. <i id='eldjE'><tr id='eldjE'><dt id='eldjE'><q id='eldjE'><span id='eldjE'><b id='eldjE'><form id='eldjE'><ins id='eldjE'></ins><ul id='eldjE'></ul><sub id='eldjE'></sub></form><legend id='eldjE'></legend><bdo id='eldjE'><pre id='eldjE'><center id='eldjE'></center></pre></bdo></b><th id='eldjE'></th></span></q></dt></tr></i><div id='eldjE'><tfoot id='eldjE'></tfoot><dl id='eldjE'><fieldset id='eldjE'></fieldset></dl></div>

            2. <tfoot id='eldjE'></tfoot>
                <tbody id='eldjE'></tbody>
              • 本文介绍了MySQL/Amazon RDS 错误:“您没有 SUPER 权限...";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我正在尝试将我的 mysql 数据库从 Amazon EC2 复制到 RDS:

                I'm attempting to copy my mysql database from an Amazon EC2 to an RDS:

                我使用这个成功地将我的数据库的 mysqldump 放到了我的根文件夹中:

                I successfully did a mysqldump of my database into my root folder using this:

                root@ip-xx-xx-xx-xx:~# mysqldump my_database -u my_username -p > my_database.sql
                

                然后我尝试将此 .sql 文件传输到我的新 RDS 数据库:

                Then I tried to transfer this .sql file to my new RDS database:

                root@ip-xx-xx-xx-xx:~# mysql my_database -u my_username -p -h  
                my_new_database.xxxxxxxxx.us-east-1.rds.amazonaws.com < my_database.sql
                

                很遗憾,我收到以下错误消息:

                Unfortunately, I get following error message:

                You do not have the SUPER privilege and binary logging is enabled 
                (you *might* want to use  the less safe log_bin_trust_function_creators variable)
                

                我尝试以多种方式GRANT SUPER..,但是当我尝试这样做时也遇到了错误.输入 mysql >FLUSH 特权; 也不起作用.

                I tried to GRANT SUPER.. in a variety of ways but I'm getting errors when I try to do that too. Typing mysql > FLUSH privileges; doesn't work either.

                我是 mysql 初学者,很抱歉问这么简单的问题.想法?

                I'm a mysql beginner so sorry for such an easy question. Thoughts?

                推荐答案

                Per http://getasysadmin.com/2011/06/amazon-rds-super-privileges/,你需要在log_bin_trust_function_creators设置为1.com/rds/">AWS 控制台,加载您的转储文件而不会出错.

                Per http://getasysadmin.com/2011/06/amazon-rds-super-privileges/, you need to set log_bin_trust_function_creators to 1 in AWS console, to load your dump file without errors.

                如果您想忽略这些错误,并加载转储文件的其余部分,您可以使用 -f 选项:

                If you want to ignore these errors, and load the rest of the dump file, you can use the -f option:

                mysql -f my_database -u my_username -p -h  
                my_new_database.xxxxxxxxx.us-east-1.rds.amazonaws.com < my_database.sql
                

                -f 将报告错误,但会继续处理转储文件的其余部分.

                The -f will report errors, but will continue processing the remainder of the dump file.

                这篇关于MySQL/Amazon RDS 错误:“您没有 SUPER 权限...";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:从 Django 连接到 RDS MySQL 时出现 SSL 连接错误 下一篇:无法从 EC2 实例连接到 RDS 实例

                相关文章

                <i id='Wnam0'><tr id='Wnam0'><dt id='Wnam0'><q id='Wnam0'><span id='Wnam0'><b id='Wnam0'><form id='Wnam0'><ins id='Wnam0'></ins><ul id='Wnam0'></ul><sub id='Wnam0'></sub></form><legend id='Wnam0'></legend><bdo id='Wnam0'><pre id='Wnam0'><center id='Wnam0'></center></pre></bdo></b><th id='Wnam0'></th></span></q></dt></tr></i><div id='Wnam0'><tfoot id='Wnam0'></tfoot><dl id='Wnam0'><fieldset id='Wnam0'></fieldset></dl></div>

                    <legend id='Wnam0'><style id='Wnam0'><dir id='Wnam0'><q id='Wnam0'></q></dir></style></legend>

                    • <bdo id='Wnam0'></bdo><ul id='Wnam0'></ul>

                    <small id='Wnam0'></small><noframes id='Wnam0'>

                    <tfoot id='Wnam0'></tfoot>