Back

[SOLVED] mariadb - Access denied in appwrite 1.4.2

  • 1
  • Self Hosted
  • Databases
Pavan
15 Sep, 2023, 02:55

Fresh installation of appwrite 1.4.2 gives me

Mariadb - failed to create connection : access denied for user 'user@172.22.0.9'

TL;DR
Issue: Access denied in appwrite 1.4.2 with mariadb Solution: 1. Restart the containers by running the following commands: ``` docker compose down -v docker compose up -d ``` 2. Check if the Appwrite data needs to be wiped. 3. Try restarting the containers with the commands: ``` docker compose down docker compose up -d ``` 4. Check the permission of the "appwrite" directory with the command `ls -la appwrite`. 5. Check the current directory and its contents using the commands: ``` pwd ls -la
Drake
15 Sep, 2023, 02:56

Did you have appwrite installed before?

Pavan
15 Sep, 2023, 02:56

Nope this is a fresh install

Drake
15 Sep, 2023, 02:57

What's the output of docker volume ls?

Pavan
15 Sep, 2023, 02:58
Drake
15 Sep, 2023, 02:59

And docker inspect appwrite_appwrite-mariadb?

Pavan
15 Sep, 2023, 03:01
Drake
15 Sep, 2023, 03:02

Did you change the DB password .env after this timestamp?

Pavan
15 Sep, 2023, 03:02

Nope..

Drake
15 Sep, 2023, 03:03

What's the outpost of

TypeScript
pwd
ls -la
Pavan
15 Sep, 2023, 03:04
Drake
15 Sep, 2023, 03:04

And ls -la appwrite?

Pavan
15 Sep, 2023, 03:08
Drake
15 Sep, 2023, 03:10

Have you tried restarting the containers like

TypeScript
docker compose down
docker compose up -d
Pavan
15 Sep, 2023, 03:14
Drake
15 Sep, 2023, 03:16

Are you okay with wiping the Appwrite data?

Pavan
15 Sep, 2023, 03:16

Yes

Drake
15 Sep, 2023, 03:20

You can do that by running

TypeScript
docker compose down -v
docker compose up -d
Pavan
15 Sep, 2023, 04:25

Thank you

Drake
15 Sep, 2023, 16:44

[SOLVED] mariadb - Access denied in appwrite 1.4.2

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more