How can I connect to my database from my local workstation?

I need to import data into my database from a local file. How can I do that from my local workstation?

For that you can use the Platform CLI tool and run platform sql < my_local.sql. More information can be found on our docs site.