Windows 10: Cannot Install MySQL Server on Windows 10 Subsystem Linux

Discus and support Cannot Install MySQL Server on Windows 10 Subsystem Linux in Windows 10 Customization to solve the problem; Hi Microsoft, I would like to ask some assistance on installing MySQL Server in Ubuntu Subsystem on Windows 10 Pro 1909 please refer to logs below... Discussion in 'Windows 10 Customization' started by akuani, Apr 28, 2020.

  1. akuani Win User

    Cannot Install MySQL Server on Windows 10 Subsystem Linux


    Hi Microsoft, I would like to ask some assistance on installing MySQL Server in Ubuntu Subsystem on Windows 10 Pro 1909

    please refer to logs below


    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    The following additional packages will be installed:

    libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-7 libfcgi-perl libhtml-parser-perl

    libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl

    liblwp-mediatypes-perl libmecab2 libtimedate-perl liburi-perl mecab-ipadic mecab-ipadic-utf8 mecab-utils

    mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server-8.0 mysql-server-core-8.0

    Suggested packages:

    libdata-dump-perl libipc-sharedcache-perl libwww-perl mailx tinyca

    The following NEW packages will be installed:

    libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-7 libfcgi-perl libhtml-parser-perl

    libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl

    liblwp-mediatypes-perl libmecab2 libtimedate-perl liburi-perl mecab-ipadic mecab-ipadic-utf8 mecab-utils

    mysql-client-8.0 mysql-client-core-8.0 mysql-common mysql-server mysql-server-8.0 mysql-server-core-8.0

    0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.

    Need to get 0 B/30.1 MB of archives.

    After this operation, 246 MB of additional disk space will be used.

    Do you want to continue? [Y/n] y

    Preconfiguring packages ...

    Selecting previously unselected package mysql-common.

    Reading database ... 31838 files and directories currently installed.

    Preparing to unpack .../0-mysql-common_5.8+1.0.5ubuntu2_all.deb ...

    Unpacking mysql-common 5.8+1.0.5ubuntu2 ...

    Selecting previously unselected package mysql-client-core-8.0.

    Preparing to unpack .../1-mysql-client-core-8.0_8.0.19-0ubuntu5_amd64.deb ...

    Unpacking mysql-client-core-8.0 8.0.19-0ubuntu5 ...

    Selecting previously unselected package mysql-client-8.0.

    Preparing to unpack .../2-mysql-client-8.0_8.0.19-0ubuntu5_amd64.deb ...

    Unpacking mysql-client-8.0 8.0.19-0ubuntu5 ...

    Selecting previously unselected package libevent-core-2.1-7:amd64.

    Preparing to unpack .../3-libevent-core-2.1-7_2.1.11-stable-1_amd64.deb ...

    Unpacking libevent-core-2.1-7:amd64 2.1.11-stable-1 ...

    Selecting previously unselected package libmecab2:amd64.

    Preparing to unpack .../4-libmecab2_0.996-10build1_amd64.deb ...

    Unpacking libmecab2:amd64 0.996-10build1 ...

    Selecting previously unselected package mysql-server-core-8.0.

    Preparing to unpack .../5-mysql-server-core-8.0_8.0.19-0ubuntu5_amd64.deb ...

    Unpacking mysql-server-core-8.0 8.0.19-0ubuntu5 ...

    Setting up mysql-common 5.8+1.0.5ubuntu2 ...

    update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf my.cnf in auto mode

    Selecting previously unselected package mysql-server-8.0.

    Reading database ... 32048 files and directories currently installed.

    Preparing to unpack .../00-mysql-server-8.0_8.0.19-0ubuntu5_amd64.deb ...

    Unpacking mysql-server-8.0 8.0.19-0ubuntu5 ...

    Selecting previously unselected package libhtml-tagset-perl.

    Preparing to unpack .../01-libhtml-tagset-perl_3.20-4_all.deb ...

    Unpacking libhtml-tagset-perl 3.20-4 ...

    Selecting previously unselected package liburi-perl.

    Preparing to unpack .../02-liburi-perl_1.76-2_all.deb ...

    Unpacking liburi-perl 1.76-2 ...

    Selecting previously unselected package libhtml-parser-perl.

    Preparing to unpack .../03-libhtml-parser-perl_3.72-5_amd64.deb ...

    Unpacking libhtml-parser-perl 3.72-5 ...

    Selecting previously unselected package libcgi-pm-perl.

    Preparing to unpack .../04-libcgi-pm-perl_4.46-1_all.deb ...

    Unpacking libcgi-pm-perl 4.46-1 ...

    Selecting previously unselected package libfcgi-perl.

    Preparing to unpack .../05-libfcgi-perl_0.79-1_amd64.deb ...

    Unpacking libfcgi-perl 0.79-1 ...

    Selecting previously unselected package libcgi-fast-perl.

    Preparing to unpack .../06-libcgi-fast-perl_1%3a2.15-1_all.deb ...

    Unpacking libcgi-fast-perl 1:2.15-1 ...

    Selecting previously unselected package libencode-locale-perl.

    Preparing to unpack .../07-libencode-locale-perl_1.05-1_all.deb ...

    Unpacking libencode-locale-perl 1.05-1 ...

    Selecting previously unselected package libhtml-template-perl.

    Preparing to unpack .../08-libhtml-template-perl_2.97-1_all.deb ...

    Unpacking libhtml-template-perl 2.97-1 ...

    Selecting previously unselected package libtimedate-perl.

    Preparing to unpack .../09-libtimedate-perl_2.3200-1_all.deb ...

    Unpacking libtimedate-perl 2.3200-1 ...

    Selecting previously unselected package libhttp-date-perl.

    Preparing to unpack .../10-libhttp-date-perl_6.05-1_all.deb ...

    Unpacking libhttp-date-perl 6.05-1 ...

    Selecting previously unselected package libio-html-perl.

    Preparing to unpack .../11-libio-html-perl_1.001-1_all.deb ...

    Unpacking libio-html-perl 1.001-1 ...

    Selecting previously unselected package liblwp-mediatypes-perl.

    Preparing to unpack .../12-liblwp-mediatypes-perl_6.04-1_all.deb ...

    Unpacking liblwp-mediatypes-perl 6.04-1 ...

    Selecting previously unselected package libhttp-message-perl.

    Preparing to unpack .../13-libhttp-message-perl_6.22-1_all.deb ...

    Unpacking libhttp-message-perl 6.22-1 ...

    Selecting previously unselected package mecab-utils.

    Preparing to unpack .../14-mecab-utils_0.996-10build1_amd64.deb ...

    Unpacking mecab-utils 0.996-10build1 ...

    Selecting previously unselected package mecab-ipadic.

    Preparing to unpack .../15-mecab-ipadic_2.7.0-20070801+main-2.1_all.deb ...

    Unpacking mecab-ipadic 2.7.0-20070801+main-2.1 ...

    Selecting previously unselected package mecab-ipadic-utf8.

    Preparing to unpack .../16-mecab-ipadic-utf8_2.7.0-20070801+main-2.1_all.deb ...

    Unpacking mecab-ipadic-utf8 2.7.0-20070801+main-2.1 ...

    Selecting previously unselected package mysql-server.

    Preparing to unpack .../17-mysql-server_8.0.19-0ubuntu5_all.deb ...

    Unpacking mysql-server 8.0.19-0ubuntu5 ...

    Setting up libmecab2:amd64 0.996-10build1 ...

    Setting up mysql-client-core-8.0 8.0.19-0ubuntu5 ...

    Setting up libhtml-tagset-perl 3.20-4 ...

    Setting up liblwp-mediatypes-perl 6.04-1 ...

    Setting up libencode-locale-perl 1.05-1 ...

    Setting up mecab-utils 0.996-10build1 ...

    Setting up libevent-core-2.1-7:amd64 2.1.11-stable-1 ...

    Setting up libio-html-perl 1.001-1 ...

    Setting up mysql-server-core-8.0 8.0.19-0ubuntu5 ...

    Setting up libtimedate-perl 2.3200-1 ...

    Setting up mysql-client-8.0 8.0.19-0ubuntu5 ...

    Setting up libfcgi-perl 0.79-1 ...

    Setting up liburi-perl 1.76-2 ...

    Setting up mysql-server-8.0 8.0.19-0ubuntu5 ...

    invoke-rc.d: could not determine current runlevel

    * Stopping MySQL database server mysqld [ OK ]

    update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf my.cnf in auto mode

    Renaming removed key_buffer and myisam-recover options if present

    Cannot open /proc/net/unix: No such file or directory

    Cannot stat file /proc/1/fd/5: Operation not permitted

    Cannot stat file /proc/1/fd/10: Operation not permitted

    Cannot stat file /proc/1/fd/6: Operation not permitted

    Cannot stat file /proc/4115/fd/7: Operation not permitted

    Cannot stat file /proc/4115/fd/10: Operation not permitted

    Cannot stat file /proc/4115/fd/5: Operation not permitted

    mysqld will log errors to /var/log/mysql/error.log

    mysqld is running as pid 4505

    sleep: cannot read realtime clock: Invalid argument

    dpkg: error processing package mysql-server-8.0 --configure:

    installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

    Setting up libhttp-date-perl 6.05-1 ...

    Setting up mecab-ipadic 2.7.0-20070801+main-2.1 ...

    Compiling IPA dictionary for Mecab. This takes long time...

    reading /usr/share/mecab/dic/ipadic/unk.def ... 40

    emitting double-array: 100% ###########################################

    /usr/share/mecab/dic/ipadic/model.def is not found. skipped.

    reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210

    reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135

    reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032

    reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199

    reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171

    reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19

    reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252

    reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328

    reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795

    reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477

    reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120

    reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42

    reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202

    reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42

    reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668

    reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151

    reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999

    reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328

    reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146

    reading /usr/share/mecab/dic/ipadic/Others.csv ... 2

    reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91

    reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146

    reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221

    reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393

    reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208

    reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750

    emitting double-array: 100% ###########################################

    reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316

    emitting matrix : 100% ###########################################



    done!

    update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/dic/debian mecab-dictionary in auto mode

    Setting up mecab-ipadic-utf8 2.7.0-20070801+main-2.1 ...

    Compiling IPA dictionary for Mecab. This takes long time...

    reading /usr/share/mecab/dic/ipadic/unk.def ... 40

    emitting double-array: 100% ###########################################

    /usr/share/mecab/dic/ipadic/model.def is not found. skipped.

    reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210

    reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135

    reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032

    reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199

    reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171

    reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19

    reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252

    reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328

    reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795

    reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477

    reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120

    reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42

    reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202

    reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42

    reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668

    reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151

    reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999

    reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27328

    reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146

    reading /usr/share/mecab/dic/ipadic/Others.csv ... 2

    reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91

    reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146

    reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221

    reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393

    reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208

    reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750

    emitting double-array: 100% ###########################################

    reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316

    emitting matrix : 100% ###########################################



    done!

    update-alternatives: using /var/lib/mecab/dic/ipadic-utf8 to provide /var/lib/mecab/dic/debian mecab-dictionary in auto mode

    Setting up libhtml-parser-perl 3.72-5 ...

    Setting up libhttp-message-perl 6.22-1 ...

    dpkg: dependency problems prevent configuration of mysql-server:

    mysql-server depends on mysql-server-8.0; however:

    Package mysql-server-8.0 is not configured yet.



    dpkg: error processing package mysql-server --configure:

    dependency problems - leaving unconfigured

    Setting up libcgi-pm-perl 4.46-1 ...

    No apport report written because the error message indicates its a followup error from a previous failure.

    Setting up libhtml-template-perl 2.97-1 ...

    Setting up libcgi-fast-perl 1:2.15-1 ...

    Processing triggers for systemd 245.4-4ubuntu3 ...

    Processing triggers for man-db 2.9.1-1 ...

    Processing triggers for libc-bin 2.31-0ubuntu9 ...

    Errors were encountered while processing:

    mysql-server-8.0

    mysql-server

    E: Sub-process /usr/bin/dpkg returned an error code 1



    I have tried purging and reinstalling the distro and even the package. No avail. Thanks!

    :)
     
    akuani, Apr 28, 2020
    #1

  2. Windows Subsystem Linux

    Hello,

    We would like to know more about the issue you're experiencing with using
    Windows Subsystem for Linux
    . Kindly answer the following questions:

    • Are you developing a program, an app, or a software for Linux?
    • Is your Window 10 PC connected to a domain?
    • Are you managing a Windows Server PC?
    • What troubleshooting steps have you tried so far?
    • Can you tell us the Version and OS build of your Windows 10 device? You can find this information by clicking the
      Start button, type About your PC, and then press
      Enter.

    We need the following information in order to determine if we need to refer your concern to the
    TechNet forums or the Microsoft Developer Network (MSDN) forums.

    For now, we suggest reviewing these support articles to find out if there's an issue with the installation of
    Windows Subsystem for Linux:


    We'll be waiting for your response.
     
    Devlin Sco, Apr 28, 2020
    #2
  3. Thanatica Win User
    A daemon installed in Linux Subsystem doesn't keep running

    Just for kicks, I've installed and start mysql in Linux Subsystem, otherwise known as Bash. Works. Beauty.

    When I exit the terminal, mysql stops as well. And sure enough, when I reopen a terminal, I have to manually start mysql again.

    Why? I only logged out the user, I never told it to stop anything. Also mysqld runs as a different user (user `mysql`). I did not logout on that one. Also why do daemons not start automatically?

    PS: I can't get the Feedback app to work, so please don't suggest to use that instead.

    PPS: Maybe add a topic for this? Forum admin, anyone?
     
    Thanatica, Apr 28, 2020
    #3
  4. Brink Win User

    Cannot Install MySQL Server on Windows 10 Subsystem Linux

    Windows Subsystem for Linux on Windows Server


    Source: Windows Subsystem for Linux on Windows Server - Building Apps for Windows
     
    Brink, Apr 28, 2020
    #4
Thema:

Cannot Install MySQL Server on Windows 10 Subsystem Linux

Loading...
  1. Cannot Install MySQL Server on Windows 10 Subsystem Linux - Similar Threads - Cannot Install MySQL

  2. cannot install Windows Subsystem for Linux

    in Windows 10 Gaming
    cannot install Windows Subsystem for Linux: I am using Windows 11 OS build 22631.3155 on a desktop PC. I was using Windows Subsystem for Linux WSL about two years without problem. I did a Windows Reset to remove malware and now WSL does not work. If I click on Start > Ubuntu the error message is...
  3. cannot install Windows Subsystem for Linux

    in Windows 10 Software and Apps
    cannot install Windows Subsystem for Linux: I am using Windows 11 OS build 22631.3155 on a desktop PC. I was using Windows Subsystem for Linux WSL about two years without problem. I did a Windows Reset to remove malware and now WSL does not work. If I click on Start > Ubuntu the error message is...
  4. Windows Server 2019 - Windows Subsystem for Linux

    in Windows 10 Gaming
    Windows Server 2019 - Windows Subsystem for Linux: Hello,I currently work in a lab setting with a 64 core desktop that runs Windows Server 2019 for physical simulations. There are a few people who use the server, so we are interested in trying to find a job scheduler/workload manager that has similar capabilities to that of...
  5. Windows Server 2019 - Windows Subsystem for Linux

    in Windows 10 Software and Apps
    Windows Server 2019 - Windows Subsystem for Linux: Hello,I currently work in a lab setting with a 64 core desktop that runs Windows Server 2019 for physical simulations. There are a few people who use the server, so we are interested in trying to find a job scheduler/workload manager that has similar capabilities to that of...
  6. Windows Subsystem for Linux

    in Windows 10 Gaming
    Windows Subsystem for Linux: Hello,Could you please provide me with the answers to the following questions regarding Windows Subsystem for Linux 2 + Kernel?When was the release date for version 5.10.60.1 of this application? Is version 5.10.60.1 still supported will receive updates, security or...
  7. Issue with installing linux subsystem.

    in Windows 10 Installation and Upgrade
    Issue with installing linux subsystem.: Hi, I was trying to isntall linux subsystem through powershell, and when I tried to use "Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform" command, I get a following error, Enable-WindowsOptionalFeature : Feature name VirtualMachinePlatform is...
  8. Linux Subsystem

    in Windows 10 Installation and Upgrade
    Linux Subsystem: So i have downloald Linux Terminal from Microsoft Store i have turned on the developer options but the last thing i need to do is to turn on Linux Subsystem. I tried to turn it on from PowerShell by typing the followin command Enable-WindowsOptionalFeature -Online...
  9. Windows subsystem for Linux

    in Windows 10 Customization
    Windows subsystem for Linux: I am getting the message " We couldn't complete the updates … undoing changes" when I restart the computer after enabling WSL in the "Programs and Features" settings. I am running windows 10 home ver 1803 installed on 05 Aug 2018 OS Build 17134.191 Due to this, I am unable...
  10. Windows Subsystem for Linux on Windows Server

    in Windows 10 News
    Windows Subsystem for Linux on Windows Server: The Windows Subsystem for Linux (WSL) is available in Windows Insider builds of Windows Server. Now developers and application administrators can run tools they use in Linux environments alongside Cmd and PowerShell. If you want to jump straight in, the installation guide...