Running MySQL WorkBench 6.3 on Mac 11.10.06 cannot connect through localhost and given error message “61”












0















On my workbench I try to create a new connection with following setting

Connection Name: localhost

Connection Method: Standard TCP/IP

Host Name: localhost

Port: 3306

User Name: root



When I try to use "Test Connection" button, an error message show as following
Failed to Connect to MySQL at localhost:3306 with user root

can't connect to MySQL server on "127.0.0.1"(61)



Any suggestion?










share|improve this question



























    0















    On my workbench I try to create a new connection with following setting

    Connection Name: localhost

    Connection Method: Standard TCP/IP

    Host Name: localhost

    Port: 3306

    User Name: root



    When I try to use "Test Connection" button, an error message show as following
    Failed to Connect to MySQL at localhost:3306 with user root

    can't connect to MySQL server on "127.0.0.1"(61)



    Any suggestion?










    share|improve this question

























      0












      0








      0








      On my workbench I try to create a new connection with following setting

      Connection Name: localhost

      Connection Method: Standard TCP/IP

      Host Name: localhost

      Port: 3306

      User Name: root



      When I try to use "Test Connection" button, an error message show as following
      Failed to Connect to MySQL at localhost:3306 with user root

      can't connect to MySQL server on "127.0.0.1"(61)



      Any suggestion?










      share|improve this question














      On my workbench I try to create a new connection with following setting

      Connection Name: localhost

      Connection Method: Standard TCP/IP

      Host Name: localhost

      Port: 3306

      User Name: root



      When I try to use "Test Connection" button, an error message show as following
      Failed to Connect to MySQL at localhost:3306 with user root

      can't connect to MySQL server on "127.0.0.1"(61)



      Any suggestion?







      mysql mysql-workbench






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 25 '17 at 11:19









      Steven T.Steven T.

      255




      255
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Check your mysql installation:





          • Check your MySQL are opened on 127.0.0.1 IP.




            • Search on netstat command to verify if the 3306 port are opened to 0.0.0.0 or 127.0.0.1 IP address.

            • If there isn't opened on some of these IPs, check my.cnf and change bind-address to 127.0.0.1



          • If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).







          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%2f44179292%2frunning-mysql-workbench-6-3-on-mac-11-10-06-cannot-connect-through-localhost-and%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














            Check your mysql installation:





            • Check your MySQL are opened on 127.0.0.1 IP.




              • Search on netstat command to verify if the 3306 port are opened to 0.0.0.0 or 127.0.0.1 IP address.

              • If there isn't opened on some of these IPs, check my.cnf and change bind-address to 127.0.0.1



            • If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).







            share|improve this answer






























              0














              Check your mysql installation:





              • Check your MySQL are opened on 127.0.0.1 IP.




                • Search on netstat command to verify if the 3306 port are opened to 0.0.0.0 or 127.0.0.1 IP address.

                • If there isn't opened on some of these IPs, check my.cnf and change bind-address to 127.0.0.1



              • If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).







              share|improve this answer




























                0












                0








                0







                Check your mysql installation:





                • Check your MySQL are opened on 127.0.0.1 IP.




                  • Search on netstat command to verify if the 3306 port are opened to 0.0.0.0 or 127.0.0.1 IP address.

                  • If there isn't opened on some of these IPs, check my.cnf and change bind-address to 127.0.0.1



                • If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).







                share|improve this answer















                Check your mysql installation:





                • Check your MySQL are opened on 127.0.0.1 IP.




                  • Search on netstat command to verify if the 3306 port are opened to 0.0.0.0 or 127.0.0.1 IP address.

                  • If there isn't opened on some of these IPs, check my.cnf and change bind-address to 127.0.0.1



                • If MySQL are opened on correct IP and port, update workbench, and also, try to re-type the IP address on workbench (I've check these process work on lot of cases).








                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 27 '18 at 2:00









                Pang

                6,9281664102




                6,9281664102










                answered May 28 '17 at 11:59









                Sakura KinomotoSakura Kinomoto

                1,0111122




                1,0111122
































                    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%2f44179292%2frunning-mysql-workbench-6-3-on-mac-11-10-06-cannot-connect-through-localhost-and%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

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                    Calculate evaluation metrics using cross_val_predict sklearn

                    Insert data from modal to MySQL (multiple modal on website)