MySQL Server 8.0 remote database The 2019 Stack Overflow Developer Survey Results Are InMySQL remote server connection failed w NavicatHow do I quickly rename a MySQL database (change schema name)?Which MySQL data type to use for storing boolean valuesHow to output MySQL query results in CSV format?How do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow to reset AUTO_INCREMENT in MySQL?How to get the sizes of the tables of a MySQL database?How to import an SQL file using the command line in MySQL?Django install/deploy with mysql

How to support a colleague who finds meetings extremely tiring?

Why is the maximum length of OpenWrt’s root password 8 characters?

Deal with toxic manager when you can't quit

How to deal with fear of taking dependencies

How technical should a Scrum Master be to effectively remove impediments?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

How to notate time signature switching consistently every measure

Did 3000BC Egyptians use meteoric iron weapons?

Earliest use of the term "Galois extension"?

One word riddle: Vowel in the middle

How can I autofill dates in Excel excluding Sunday?

Should I use my personal e-mail address, or my workplace one, when registering to external websites for work purposes?

Are there any other methods to apply to solving simultaneous equations?

Which Sci-Fi work first showed weapon of galactic-scale mass destruction?

How to manage monthly salary

Resizing object distorts it (Illustrator CC 2018)

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Can you compress metal and what would be the consequences?

Can someone be penalized for an "unlawful" act if no penalty is specified?

What is the meaning of the verb "bear" in this context?

Delete all lines which don't have n characters before delimiter

Aging parents with no investments

What do the Banks children have against barley water?

Worn-tile Scrabble



MySQL Server 8.0 remote database



The 2019 Stack Overflow Developer Survey Results Are InMySQL remote server connection failed w NavicatHow do I quickly rename a MySQL database (change schema name)?Which MySQL data type to use for storing boolean valuesHow to output MySQL query results in CSV format?How do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow to reset AUTO_INCREMENT in MySQL?How to get the sizes of the tables of a MySQL database?How to import an SQL file using the command line in MySQL?Django install/deploy with mysql



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-1















I am very frustrated that I am trying this from over 5 days.
I need to create database on my PC that has to be visible for all other PCs in the same LAN.



I tried with XAMPP - Apache + MySQL - no result even after reading all articles from first 2 pages of Google and watching many youtube clips.
Now I am trying with MySQL Server 8.0 on my PC. I tried again all of Google first pages stuff without result. How can I do that?



I know that this has been asked many times here but there is no complex solution at all.



Does anybody of you have tutorial that is tested nowadays and it is working?










share|improve this question
























  • There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

    – David Brossard
    Mar 9 at 3:39

















-1















I am very frustrated that I am trying this from over 5 days.
I need to create database on my PC that has to be visible for all other PCs in the same LAN.



I tried with XAMPP - Apache + MySQL - no result even after reading all articles from first 2 pages of Google and watching many youtube clips.
Now I am trying with MySQL Server 8.0 on my PC. I tried again all of Google first pages stuff without result. How can I do that?



I know that this has been asked many times here but there is no complex solution at all.



Does anybody of you have tutorial that is tested nowadays and it is working?










share|improve this question
























  • There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

    – David Brossard
    Mar 9 at 3:39













-1












-1








-1








I am very frustrated that I am trying this from over 5 days.
I need to create database on my PC that has to be visible for all other PCs in the same LAN.



I tried with XAMPP - Apache + MySQL - no result even after reading all articles from first 2 pages of Google and watching many youtube clips.
Now I am trying with MySQL Server 8.0 on my PC. I tried again all of Google first pages stuff without result. How can I do that?



I know that this has been asked many times here but there is no complex solution at all.



Does anybody of you have tutorial that is tested nowadays and it is working?










share|improve this question
















I am very frustrated that I am trying this from over 5 days.
I need to create database on my PC that has to be visible for all other PCs in the same LAN.



I tried with XAMPP - Apache + MySQL - no result even after reading all articles from first 2 pages of Google and watching many youtube clips.
Now I am trying with MySQL Server 8.0 on my PC. I tried again all of Google first pages stuff without result. How can I do that?



I know that this has been asked many times here but there is no complex solution at all.



Does anybody of you have tutorial that is tested nowadays and it is working?







mysql remote-access






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 3:36









Book Of Zeus

45.9k12161162




45.9k12161162










asked Mar 8 at 9:34









Borislav StefanovBorislav Stefanov

246




246












  • There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

    – David Brossard
    Mar 9 at 3:39

















  • There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

    – David Brossard
    Mar 9 at 3:39
















There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

– David Brossard
Mar 9 at 3:39





There are a few basic steps you need to check: is your firewall open? Is your db configured to accept tcp traffic? Remotely? Etc...

– David Brossard
Mar 9 at 3:39












2 Answers
2






active

oldest

votes


















0














you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:




  1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access:
    // replace root for the username, '123456' for the password
    grant all privileges on . to 'root'@'%' identified by '123456';



    flush privileges;



  2. check your server firewall settings to allow your mysql through port 3306(default)


  3. others:
    for linux server I think you also need to comment out "bind address" in your mysql config file;
    some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it;
    check your inbound rule on your client pc;
    etc.


my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer






share|improve this answer






























    0














    The problem was in connection String.



    static final String USERNAME="[username]";
    static final String PASSWORD="[password]";
    static final String CONN_STRING="jdbc:mysql://[ip-address]:[port]/[database-name]";



    So as LIU YUE suggested I just granted access for this username. The problem was that my other computer has a different name.






    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%2f55060341%2fmysql-server-8-0-remote-database%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









      0














      you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:




      1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access:
        // replace root for the username, '123456' for the password
        grant all privileges on . to 'root'@'%' identified by '123456';



        flush privileges;



      2. check your server firewall settings to allow your mysql through port 3306(default)


      3. others:
        for linux server I think you also need to comment out "bind address" in your mysql config file;
        some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it;
        check your inbound rule on your client pc;
        etc.


      my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer






      share|improve this answer



























        0














        you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:




        1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access:
          // replace root for the username, '123456' for the password
          grant all privileges on . to 'root'@'%' identified by '123456';



          flush privileges;



        2. check your server firewall settings to allow your mysql through port 3306(default)


        3. others:
          for linux server I think you also need to comment out "bind address" in your mysql config file;
          some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it;
          check your inbound rule on your client pc;
          etc.


        my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer






        share|improve this answer

























          0












          0








          0







          you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:




          1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access:
            // replace root for the username, '123456' for the password
            grant all privileges on . to 'root'@'%' identified by '123456';



            flush privileges;



          2. check your server firewall settings to allow your mysql through port 3306(default)


          3. others:
            for linux server I think you also need to comment out "bind address" in your mysql config file;
            some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it;
            check your inbound rule on your client pc;
            etc.


          my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer






          share|improve this answer













          you should provide more details like the error message you get when connecting to the remote mysql server, anyway, to allow remote access, here is a checklist you need to go through:




          1. grant permission, mysql by default only allow access from localhost(127.0.0.1), to allow other ip access:
            // replace root for the username, '123456' for the password
            grant all privileges on . to 'root'@'%' identified by '123456';



            flush privileges;



          2. check your server firewall settings to allow your mysql through port 3306(default)


          3. others:
            for linux server I think you also need to comment out "bind address" in your mysql config file;
            some other issues for example your mysql client autodetect the wrong timezone, you may need to manually set it;
            check your inbound rule on your client pc;
            etc.


          my suggestion for you, don't just google around blindly, think about it logically first, sometimes there is no direct answer







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 10 at 3:24









          LIU YUELIU YUE

          16118




          16118























              0














              The problem was in connection String.



              static final String USERNAME="[username]";
              static final String PASSWORD="[password]";
              static final String CONN_STRING="jdbc:mysql://[ip-address]:[port]/[database-name]";



              So as LIU YUE suggested I just granted access for this username. The problem was that my other computer has a different name.






              share|improve this answer



























                0














                The problem was in connection String.



                static final String USERNAME="[username]";
                static final String PASSWORD="[password]";
                static final String CONN_STRING="jdbc:mysql://[ip-address]:[port]/[database-name]";



                So as LIU YUE suggested I just granted access for this username. The problem was that my other computer has a different name.






                share|improve this answer

























                  0












                  0








                  0







                  The problem was in connection String.



                  static final String USERNAME="[username]";
                  static final String PASSWORD="[password]";
                  static final String CONN_STRING="jdbc:mysql://[ip-address]:[port]/[database-name]";



                  So as LIU YUE suggested I just granted access for this username. The problem was that my other computer has a different name.






                  share|improve this answer













                  The problem was in connection String.



                  static final String USERNAME="[username]";
                  static final String PASSWORD="[password]";
                  static final String CONN_STRING="jdbc:mysql://[ip-address]:[port]/[database-name]";



                  So as LIU YUE suggested I just granted access for this username. The problem was that my other computer has a different name.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Mar 11 at 13:33









                  Borislav StefanovBorislav Stefanov

                  246




                  246



























                      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%2f55060341%2fmysql-server-8-0-remote-database%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

                      Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

                      Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

                      Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved