Skip to content

Can't access to database from WSL #12

@AlFalcone

Description

@AlFalcone

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions