windows subsystem install mysql server

前端 未结 6 1580
心在旅途
心在旅途 2021-02-19 10:30

installing mysql-server on ubuntu 18.04 subsystem windows 10.

Cannot open /proc/net/unix: No such file or directory
Cannot stat file /proc/1/fd/5: Operation not          


        
6条回答
  •  眼角桃花
    2021-02-19 10:56

    I am using Ubuntu 18.04 under Windows 10 as a Subsystem, so You have to start off by adding repositories required by MariaDB by :

    sudo apt-get install software-properties-common

    Then update your installation by :

    sudo apt update

    Install MariaDB by :

    sudo apt install mariadb-server

    You’ll be prompted to set a root password and wait for the installation to continue. Issue the following command once installation is complete:

    sudo service mysql start

    That’s it and to check both your mysql and mariadb version try:

    mysql --version

提交回复
热议问题