如何在 WSL(Linux 的 Windows 子系统)中使用 MySQL? [英] How to use MySQL in WSL (Windows Subsystem for Linux)?

查看:76
本文介绍了如何在 WSL(Linux 的 Windows 子系统)中使用 MySQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在 wsl 中使用 mysql,而无需为 Windows 安装任何单独的 MySQL 客户端.

How to use mysql in wsl without installing any separate MySQL client for Windows.

推荐答案

在 bash 命令行中:

Inside your bash command line:

sudo apt-get update
sudo apt-get install mysql-server
mysql_secure_installation

这篇关于如何在 WSL(Linux 的 Windows 子系统)中使用 MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆