Magento1 icon indicating copy to clipboard operation
Magento1 copied to clipboard

Can't access to database from WSL

Open AlFalcone opened this issue 4 years ago • 0 comments

I'm trying to import a database dump in db by WSL, because file dump size is bigger than 2MB, but trying to access to db by WSL returns me this error:

alfonso_falcone@DESKTOP-T1QC6C6:~/sites/MYMAGENTO$ bin/mysql -u magento -p -bash: bin/mysql: No such file or directory

wsldb

The same command, instead, works from the CLI of db image in container

mariadb

Why does the command from WSL not work?

AlFalcone avatar Nov 17 '21 09:11 AlFalcone