Enable Replication on two Compose for MySQL instances?












0















I'm using IBM Cloud Services, and I've created a Compose for MySQL service instance, and I can see it has 2 access portals. Both on the same location as the server (let's say US West).



I want to create a new instance, on another location (f.e Us East), and apply Replication Master-Slave configuration, so my first service act as a Master, and the second as a Slave.



As this services runs in the cloud, I can't reach configuration files, like my.ini files.



I've tried configuring 'server-id' global variable, from CLI as it's explained on MySQL Documentation but an error request me to have SUPER privileges (using 'admin' user). Running GRANT SUPER on mydb TO admin@....., throws 'Access denied' error.



I suppose admin user given, isn't allowed to modifiy global variables.



Is there a chance of making this viable?










share|improve this question



























    0















    I'm using IBM Cloud Services, and I've created a Compose for MySQL service instance, and I can see it has 2 access portals. Both on the same location as the server (let's say US West).



    I want to create a new instance, on another location (f.e Us East), and apply Replication Master-Slave configuration, so my first service act as a Master, and the second as a Slave.



    As this services runs in the cloud, I can't reach configuration files, like my.ini files.



    I've tried configuring 'server-id' global variable, from CLI as it's explained on MySQL Documentation but an error request me to have SUPER privileges (using 'admin' user). Running GRANT SUPER on mydb TO admin@....., throws 'Access denied' error.



    I suppose admin user given, isn't allowed to modifiy global variables.



    Is there a chance of making this viable?










    share|improve this question

























      0












      0








      0


      1






      I'm using IBM Cloud Services, and I've created a Compose for MySQL service instance, and I can see it has 2 access portals. Both on the same location as the server (let's say US West).



      I want to create a new instance, on another location (f.e Us East), and apply Replication Master-Slave configuration, so my first service act as a Master, and the second as a Slave.



      As this services runs in the cloud, I can't reach configuration files, like my.ini files.



      I've tried configuring 'server-id' global variable, from CLI as it's explained on MySQL Documentation but an error request me to have SUPER privileges (using 'admin' user). Running GRANT SUPER on mydb TO admin@....., throws 'Access denied' error.



      I suppose admin user given, isn't allowed to modifiy global variables.



      Is there a chance of making this viable?










      share|improve this question














      I'm using IBM Cloud Services, and I've created a Compose for MySQL service instance, and I can see it has 2 access portals. Both on the same location as the server (let's say US West).



      I want to create a new instance, on another location (f.e Us East), and apply Replication Master-Slave configuration, so my first service act as a Master, and the second as a Slave.



      As this services runs in the cloud, I can't reach configuration files, like my.ini files.



      I've tried configuring 'server-id' global variable, from CLI as it's explained on MySQL Documentation but an error request me to have SUPER privileges (using 'admin' user). Running GRANT SUPER on mydb TO admin@....., throws 'Access denied' error.



      I suppose admin user given, isn't allowed to modifiy global variables.



      Is there a chance of making this viable?







      mysql ibm-cloud replication






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 18:55









      Hugo Lisandro PuyolHugo Lisandro Puyol

      15




      15
























          1 Answer
          1






          active

          oldest

          votes


















          0














          After some IBM consulting, their response:




          Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html



          Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:



          https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)



          http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)







          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53418840%2fenable-replication-on-two-compose-for-mysql-instances%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After some IBM consulting, their response:




            Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html



            Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:



            https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)



            http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)







            share|improve this answer




























              0














              After some IBM consulting, their response:




              Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html



              Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:



              https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)



              http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)







              share|improve this answer


























                0












                0








                0







                After some IBM consulting, their response:




                Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html



                Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:



                https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)



                http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)







                share|improve this answer













                After some IBM consulting, their response:




                Out-of-the-box, I don't think that's achievable with Compose for MySQL on the IBM Cloud. In addition, we don't permit customer configuration changes such as the one you are asking about. Is this what you are attempting to do? https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Replication.CrossRegion.html



                Note that Compose for MySQL is still a beta product and is not recommended for production type data/use cases. Please see:



                https://console.bluemix.net/catalog/services/compose-for-mysql (the information at the top left)



                http://www-03.ibm.com/software/sla/sladb.nsf/pdf/6605-14/$file/i126-6605-14_08-2018_en_US.pdf (see section 3 on Service Level Agreements)








                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 7 '18 at 13:29









                Hugo Lisandro PuyolHugo Lisandro Puyol

                15




                15
































                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53418840%2fenable-replication-on-two-compose-for-mysql-instances%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    MongoDB - Not Authorized To Execute Command

                    How to fix TextFormField cause rebuild widget in Flutter

                    Npm cannot find a required file even through it is in the searched directory