Windows: PowerShell
Follow these steps to setup Runops proxy mode on Windows using
PowerShell:
- Download and Install nodejs
- From the start menu, open the PowerShell application
- Install Runops CLI. Paste this command on PowerShell:
plain textnpm install -g runops
- Login to Runops. Paste this command on PowerShell:
plain textrunops login
- Download the proxy application and extract its contents.
- Back on PowerShell, access the Downloaded folder:
plain textcd Downloads\rproxy_0.2.0_Windows_x86_64
- Start the proxy
plain textrproxy.exe postgres -c <your database name>
- Open your database client and create a connection with the data:
- Hostname:
127.0.0.1
- Username: runops
- Password: runops
- Port:
5433
That’s it, your client is connected to the database!
Repeat steps 3 and 6 to restart your connection. For security reasons
Runops asks you to login again every few hours. Repeating these steps
reestablishes your connection.