wsl2에 mariadb 설치
mysql 설치하다가 에러가 떴는데 해결해보려다가 안되어 mariadb 설치
wsl1을 wsl2로 업그레이드
윈도우 업데이트 필수
https://webnautes.tistory.com/1170#google_vignette
WSL 2 ( Windows Subsystem for Linux ) 를 사용하여 Ubuntu 20.04 설치 하는 방법
Windows 10에 wsl2 ( Windows Subsystem for Linux )를 설치한 후, Ubuntu 20.04를 설치한 과정을 다루고 있습니다. 2017. 12. 15 최초작성 2021. 05. 19 2021. 08. 01 최종작성 "Windows Subsystem for Linux"..
webnautes.tistory.com
wsl 우분투 백업과 임포트
https://www.howtogeek.com/426562/how-to-export-and-import-your-linux-systems-on-windows-10/
How to Export and Import Your Linux Systems on Windows 10
Windows 10 now lets you export installed Linux environments, creating a TAR file of the root file system you can import on other PCs. Copy your configured systems between computers, share them with others, or just save a backup.
www.howtogeek.com
중요사항 - wsl에선 systemctl이 되지않는다
http://dislab.hufs.ac.kr/lab/WSL%EC%97%90_MySQL_%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0
WSL에 MySQL 설치하기 - DISLab
dislab.hufs.ac.kr
$ sudo service mysql start
mariadb도 그냥 mysql 이름으로 쓰면 된다
wsl에 DB 설치 공식가이드
https://docs.microsoft.com/ko-kr/windows/wsl/tutorials/wsl-database#install-mysql
WSL을 통해 데이터베이스 추가 또는 연결
Linux용 Windows 하위 시스템 MySQL MongoDB, PostgreSQL, SQLite, Microsoft SQL Server 또는 Redis를 설정하는 방법을 알아봅니다.
docs.microsoft.com