Shell access and database dump via terminal

Hey guys,
I want to be able to export the database “local” via the terminal to have a dump available I can push to github.
If I rightclick > Open Site Shell > "mysqldump -u root -p local > db_backup.sql" I get the dumb BUT even after googling for hours I don’t find a way to get to the Shell via terminal and not via rightclick in Local.
Thanks a lot guys!

Using the right-click to “Open Site Shell” is the proper way to do this as this process automatically sets up necessary environment variables.

I figured that too but I’d really like to know how to do this via the terminal

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.