mysql install failed during configuration stage then command line client appears for split second












0















I have tried to install MySQL latest version on Windows 10 on 3 computers but all have given an error during configuration. After this double-clicking the MySQL icon leads to either a black window (command line) opening with the prompt "MySQL-js" OR if I click the item "Command Line Client" under the options that open by clicking MySQL main item under apps, a black window (cmd??) opens for a split second and disappears before I can even read anything on it!



Below is the dialog box that is the point at which the installation stops, and a copy of the log file (from the attempt on the last PC).



enter image description here



Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file

Beginning configuration step: Updating Windows Firewall rules
Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306

Deleted 1 rule(s).
Ok.


Adding a Windows Firewall rule for MySQL80 on port 3306.
Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
Ok.


Successfully added the Windows Firewall rule.
Ended configuration step: Updating Windows Firewall rules

Beginning configuration step: Adjusting Windows service
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service

Beginning configuration step: Initializing Database
Attempting to run MySQL Server with --initialize-insecure option...
Starting process for MySQL Server 8.0.11...
Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
2019-01-17T21:00:17.450875Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
2019-01-17T21:00:17.450926Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
2019-01-17T21:00:17.451367Z 0 [ERROR] [MY-010119] [Server] Aborting
2019-01-17T21:00:17.451477Z 0 [Note] [MY-010120] [Server] Binlog end
Process for mysqld, with ID 9456, was run successfully and exited with code 1.
Failed to start process for MySQL Server 8.0.11.
Database initialization failed.
Ended configuration step: Initializing Database









share|improve this question





























    0















    I have tried to install MySQL latest version on Windows 10 on 3 computers but all have given an error during configuration. After this double-clicking the MySQL icon leads to either a black window (command line) opening with the prompt "MySQL-js" OR if I click the item "Command Line Client" under the options that open by clicking MySQL main item under apps, a black window (cmd??) opens for a split second and disappears before I can even read anything on it!



    Below is the dialog box that is the point at which the installation stops, and a copy of the log file (from the attempt on the last PC).



    enter image description here



    Beginning configuration step: Writing configuration file
    Ended configuration step: Writing configuration file

    Beginning configuration step: Updating Windows Firewall rules
    Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306

    Deleted 1 rule(s).
    Ok.


    Adding a Windows Firewall rule for MySQL80 on port 3306.
    Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
    Ok.


    Successfully added the Windows Firewall rule.
    Ended configuration step: Updating Windows Firewall rules

    Beginning configuration step: Adjusting Windows service
    Attempting to grant Network Service require filesystem permissions.
    Granted permissions.
    Adding new service
    New service added
    Ended configuration step: Adjusting Windows service

    Beginning configuration step: Initializing Database
    Attempting to run MySQL Server with --initialize-insecure option...
    Starting process for MySQL Server 8.0.11...
    Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
    2019-01-17T21:00:17.450875Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
    2019-01-17T21:00:17.450926Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
    2019-01-17T21:00:17.451367Z 0 [ERROR] [MY-010119] [Server] Aborting
    2019-01-17T21:00:17.451477Z 0 [Note] [MY-010120] [Server] Binlog end
    Process for mysqld, with ID 9456, was run successfully and exited with code 1.
    Failed to start process for MySQL Server 8.0.11.
    Database initialization failed.
    Ended configuration step: Initializing Database









    share|improve this question



























      0












      0








      0








      I have tried to install MySQL latest version on Windows 10 on 3 computers but all have given an error during configuration. After this double-clicking the MySQL icon leads to either a black window (command line) opening with the prompt "MySQL-js" OR if I click the item "Command Line Client" under the options that open by clicking MySQL main item under apps, a black window (cmd??) opens for a split second and disappears before I can even read anything on it!



      Below is the dialog box that is the point at which the installation stops, and a copy of the log file (from the attempt on the last PC).



      enter image description here



      Beginning configuration step: Writing configuration file
      Ended configuration step: Writing configuration file

      Beginning configuration step: Updating Windows Firewall rules
      Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306

      Deleted 1 rule(s).
      Ok.


      Adding a Windows Firewall rule for MySQL80 on port 3306.
      Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
      Ok.


      Successfully added the Windows Firewall rule.
      Ended configuration step: Updating Windows Firewall rules

      Beginning configuration step: Adjusting Windows service
      Attempting to grant Network Service require filesystem permissions.
      Granted permissions.
      Adding new service
      New service added
      Ended configuration step: Adjusting Windows service

      Beginning configuration step: Initializing Database
      Attempting to run MySQL Server with --initialize-insecure option...
      Starting process for MySQL Server 8.0.11...
      Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
      2019-01-17T21:00:17.450875Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
      2019-01-17T21:00:17.450926Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
      2019-01-17T21:00:17.451367Z 0 [ERROR] [MY-010119] [Server] Aborting
      2019-01-17T21:00:17.451477Z 0 [Note] [MY-010120] [Server] Binlog end
      Process for mysqld, with ID 9456, was run successfully and exited with code 1.
      Failed to start process for MySQL Server 8.0.11.
      Database initialization failed.
      Ended configuration step: Initializing Database









      share|improve this question
















      I have tried to install MySQL latest version on Windows 10 on 3 computers but all have given an error during configuration. After this double-clicking the MySQL icon leads to either a black window (command line) opening with the prompt "MySQL-js" OR if I click the item "Command Line Client" under the options that open by clicking MySQL main item under apps, a black window (cmd??) opens for a split second and disappears before I can even read anything on it!



      Below is the dialog box that is the point at which the installation stops, and a copy of the log file (from the attempt on the last PC).



      enter image description here



      Beginning configuration step: Writing configuration file
      Ended configuration step: Writing configuration file

      Beginning configuration step: Updating Windows Firewall rules
      Attempting to delete a Windows Firewall rule with command: netsh.exe advfirewall firewall delete rule name="Port 3306" protocol=TCP localport=3306

      Deleted 1 rule(s).
      Ok.


      Adding a Windows Firewall rule for MySQL80 on port 3306.
      Attempting to add a Windows Firewall rule with command: netsh.exe advfirewall firewall add rule name="Port 3306" protocol=TCP localport=3306 dir=in action=allow
      Ok.


      Successfully added the Windows Firewall rule.
      Ended configuration step: Updating Windows Firewall rules

      Beginning configuration step: Adjusting Windows service
      Attempting to grant Network Service require filesystem permissions.
      Granted permissions.
      Adding new service
      New service added
      Ended configuration step: Adjusting Windows service

      Beginning configuration step: Initializing Database
      Attempting to run MySQL Server with --initialize-insecure option...
      Starting process for MySQL Server 8.0.11...
      Starting process with command: C:Program FilesMySQLMySQL Server 8.0binmysqld.exe --defaults-file="C:ProgramDataMySQLMySQL Server 8.0my.ini" --console --initialize-insecure=on...
      2019-01-17T21:00:17.450875Z 0 [ERROR] [MY-011071] [Server] Unknown suffix '.' used for variable 'lower_case_table_names' (value '0.0')
      2019-01-17T21:00:17.450926Z 0 [ERROR] [MY-011071] [Server] C:Program FilesMySQLMySQL Server 8.0binmysqld.exe: Error while setting value '0.0' to 'lower_case_table_names'
      2019-01-17T21:00:17.451367Z 0 [ERROR] [MY-010119] [Server] Aborting
      2019-01-17T21:00:17.451477Z 0 [Note] [MY-010120] [Server] Binlog end
      Process for mysqld, with ID 9456, was run successfully and exited with code 1.
      Failed to start process for MySQL Server 8.0.11.
      Database initialization failed.
      Ended configuration step: Initializing Database






      windows command-line mysql






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 23 at 21:22









      DavidPostill

      108k27235270




      108k27235270










      asked Jan 23 at 19:40









      Mukesh PatelMukesh Patel

      11




      11






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1397614%2fmysql-install-failed-during-configuration-stage-then-command-line-client-appears%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1397614%2fmysql-install-failed-during-configuration-stage-then-command-line-client-appears%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

          If I really need a card on my start hand, how many mulligans make sense? [duplicate]

          Alcedinidae

          Can an atomic nucleus contain both particles and antiparticles? [duplicate]