I want to use DataGrip to get more control over my data inside my database, and I have tried to SSH tunneling as described in: https://discord.com/channels/564160730845151244/1087377262640365728/1087399578401263677, but I can't get it to work. It keeps giving me the error SSH: Connection timed out: connect.. I have included the options inside the screenshots.
When clicking on test ssh connection
What you get?
The IP should be of the server
The IP address of the SSH tunnel is the ip address I get when I run the docker network inspect.
So this IP should be in the main screen
Here you need to enter your server public IP
Here you should enter the 172.18.0.4 IP
Alright, now it gives me this error:
Is your server IP is localhost?
Is this a local instance or remote one?
I want to access my local instance indeed.
Local, as in your local machine? If so do this
Add these lines in your docker-compose.yml file
mariadb:
image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p
container_name: appwrite-mariadb
<<: *x-logging
restart: unless-stopped
networks:
- appwrite
volumes:
- appwrite-mariadb:/var/lib/mysql:rw
+ ports:
+ - 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=${_APP_DB_ROOT_PASS}
- MYSQL_DATABASE=${_APP_DB_SCHEMA}
- MYSQL_USER=${_APP_DB_USER}
- MYSQL_PASSWORD=${_APP_DB_PASS}
- MARIADB_AUTO_UPGRADE=1
command: 'mysqld --innodb-flush-method=fsync'
Then, run
docker compose up -d
Then, change the connection to localhost, remove the SSH tunnel and you're set to go
Yes, it works now. Thanks for the help!
:appwritefire:
Recommended threads
- Appwrite docs mcp server 502 bad gateway
I added the appwrite docs mcp server to vscode following the docs https://appwrite.io/docs/tooling/mcp/vscode#step-1 but upon start it gives the following error...
- Appwrite 1.8.1 - Traefik Returns 404 Due...
Problem: Fresh Appwrite 1.8.1 installation returns 404 on all requests. Traefik can't communicate with Docker daemon. Error: Error response from daemon: client ...
- Appwrite 1.8.1 TablesDB Permissions Issu...
Hi - I'm migrating a newer VueJS web application from Supabase to Appwrite. I'm looking for an experienced Appwrite Developer to help me solve a permissions iss...