SQL Cannot connect to database server











up vote
1
down vote

favorite
1












Currently I have been working with MySQL on Mac OSX. I have MySql Workbench and MySql installed, along with commands on Terminal, but every time I try to open a database it comes up with this:
Error



Could someone explain what I have done wrong? I have tried everything (commands, reinstalling MySQL...)










share|improve this question
























  • Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
    – dwir182
    Nov 13 at 7:12










  • The error occurs on MySQL, sorry for not adding that
    – owensteel
    Nov 13 at 7:14










  • Do you already tried do that error solver show?
    – dwir182
    Nov 13 at 7:15















up vote
1
down vote

favorite
1












Currently I have been working with MySQL on Mac OSX. I have MySql Workbench and MySql installed, along with commands on Terminal, but every time I try to open a database it comes up with this:
Error



Could someone explain what I have done wrong? I have tried everything (commands, reinstalling MySQL...)










share|improve this question
























  • Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
    – dwir182
    Nov 13 at 7:12










  • The error occurs on MySQL, sorry for not adding that
    – owensteel
    Nov 13 at 7:14










  • Do you already tried do that error solver show?
    – dwir182
    Nov 13 at 7:15













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Currently I have been working with MySQL on Mac OSX. I have MySql Workbench and MySql installed, along with commands on Terminal, but every time I try to open a database it comes up with this:
Error



Could someone explain what I have done wrong? I have tried everything (commands, reinstalling MySQL...)










share|improve this question















Currently I have been working with MySQL on Mac OSX. I have MySql Workbench and MySql installed, along with commands on Terminal, but every time I try to open a database it comes up with this:
Error



Could someone explain what I have done wrong? I have tried everything (commands, reinstalling MySQL...)







mysql connection






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 13 at 7:27









jarlh

27.9k52137




27.9k52137










asked Nov 13 at 7:10









owensteel

316




316












  • Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
    – dwir182
    Nov 13 at 7:12










  • The error occurs on MySQL, sorry for not adding that
    – owensteel
    Nov 13 at 7:14










  • Do you already tried do that error solver show?
    – dwir182
    Nov 13 at 7:15


















  • Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
    – dwir182
    Nov 13 at 7:12










  • The error occurs on MySQL, sorry for not adding that
    – owensteel
    Nov 13 at 7:14










  • Do you already tried do that error solver show?
    – dwir182
    Nov 13 at 7:15
















Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
– dwir182
Nov 13 at 7:12




Do you mean Mysql? i see dolphin there.. Sql are just language.. Not database..
– dwir182
Nov 13 at 7:12












The error occurs on MySQL, sorry for not adding that
– owensteel
Nov 13 at 7:14




The error occurs on MySQL, sorry for not adding that
– owensteel
Nov 13 at 7:14












Do you already tried do that error solver show?
– dwir182
Nov 13 at 7:15




Do you already tried do that error solver show?
– dwir182
Nov 13 at 7:15












2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










There is a mistake in ip address . make sure you use correct format. if you use it locally give "127.0.0.1:3306" or "localhost:3306"






share|improve this answer




























    up vote
    0
    down vote













    "8.0.13:3306" is not a legal "ip:port" format, make sure you've entered a correct IP address such as "10.8.0.13:3306"






    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',
      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%2f53275642%2fsql-cannot-connect-to-database-server%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote



      accepted










      There is a mistake in ip address . make sure you use correct format. if you use it locally give "127.0.0.1:3306" or "localhost:3306"






      share|improve this answer

























        up vote
        1
        down vote



        accepted










        There is a mistake in ip address . make sure you use correct format. if you use it locally give "127.0.0.1:3306" or "localhost:3306"






        share|improve this answer























          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          There is a mistake in ip address . make sure you use correct format. if you use it locally give "127.0.0.1:3306" or "localhost:3306"






          share|improve this answer












          There is a mistake in ip address . make sure you use correct format. if you use it locally give "127.0.0.1:3306" or "localhost:3306"







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 at 7:33









          Arul Suju

          818




          818
























              up vote
              0
              down vote













              "8.0.13:3306" is not a legal "ip:port" format, make sure you've entered a correct IP address such as "10.8.0.13:3306"






              share|improve this answer

























                up vote
                0
                down vote













                "8.0.13:3306" is not a legal "ip:port" format, make sure you've entered a correct IP address such as "10.8.0.13:3306"






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  "8.0.13:3306" is not a legal "ip:port" format, make sure you've entered a correct IP address such as "10.8.0.13:3306"






                  share|improve this answer












                  "8.0.13:3306" is not a legal "ip:port" format, make sure you've entered a correct IP address such as "10.8.0.13:3306"







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 13 at 7:30









                  Nonskill_CAT

                  11




                  11






























                       

                      draft saved


                      draft discarded



















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53275642%2fsql-cannot-connect-to-database-server%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

                      How to change which sound is reproduced for terminal bell?

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Can I use Tabulator js library in my java Spring + Thymeleaf project?