Windows子系统安装mysql服务器

Windows子系统安装mysql服务器

本文介绍了Windows子系统安装mysql服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ubuntu 18.04子系统Windows 10上安装mysql-server.

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 permitted
Cannot stat file /proc/3/fd/7: Operation not permitted

请帮助

推荐答案

在github,它解决了我的问题问题出在脚本"/etc/profile.d/wsl-integration.sh".作为一种快速的解决方法,在"/etc/profile.d/wsl-integration.sh"的第一行之前插入以下行(使用sudo编辑文件):

as mentioned a guy at github and it solved my problemThe problem is with the script "/etc/profile.d/wsl-integration.sh". As a quick workaround insert the following line before the first line in "/etc/profile.d/wsl-integration.sh" (use sudo to edit the file):

# Check if we have HOME folder
if [ "${HOME}" = "/" ]; then
  return
fi

我的意思是说:

WSL_INTEGRATION_CACHE=$HOME/.cache/wslu/integration`

这篇关于Windows子系统安装mysql服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 07:18