appwrite-maraidb: What is the root password and whats the database-name? Is project important?
- 0
- Databases
#!/bin/sh CONTAINER=appwrite-mariadb PROJECT=<YOUR PROJECT>
docker exec -it $CONTAINER sh -c 'mysql -uroot -p$MYSQL_ROOT_PASSWORD $MYSQL_DATABASE -e "select permissions, documentSecurity, attributes FROM $1__metadata where _uid = "functions";"' -- $PROJECT
by default, these values are already set in your mariadb container as env vars
@Steven THX. how do I find the mapping of my table names with the internal table names?
you'll have to dig into the tables. for example, _console_projects has all the projects and the _id is the prefix used for the project tables. <prefix>_databases will give you the databases and the _id is the prefix used for the database tables. etc.
THX Steven. I got the logic.
all SQL queries work but for "delete" a password must be entered. Where can I get the root password?
You set the password in the .env file
Recommended threads
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...
- Realtime Error Invalid query: Syntax err...
I was test driving Self-Hosted Appwrite for my use with Swift IOS apps as a backend while back and after successful trials, I started to move to incorporate int...