
Hello, i was trying to setup appwrite on a raspberry pi 4, when I came across this issue. I would be so thankful for your response!
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...
Database not ready. Retrying connection (3)...
Database not ready. Retrying connection (4)...
Database not ready. Retrying connection (5)...
Database not ready. Retrying connection (6)...
[Error] Type: Utopia\Exception
[Error] Message: Error handler had an error: Failed to create connection: SQLSTATE[HY000] [1130] Host 'my ip' is not allowed to connect to this MariaDB server
[Error] File: /usr/src/code/vendor/utopia-php/framework/src/App.php
[Error] Line: 551
Database not ready. Retrying connection (7)...
Database not ready. Retrying connection (8)...
Database not ready. Retrying connection (9)...
Database not ready. Retrying connection (10)...
Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [1130] Host 'my ip' is not allowed to connect to this MariaDB server in /usr/src/code/app/http.php:82
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 82
[2023-11-17 18:17:03 *34.0] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught Exception: Failed to connect to database: Failed to create connection: SQLSTATE[HY000] [1130] Host 'my ip' is not allowed to connect to this MariaDB server in /usr/src/code/app/http.php:82
Stack trace:
#0 {main}
thrown in /usr/src/code/app/http.php on line 82
Database not ready. Retrying connection (1)...
Database not ready. Retrying connection (2)...
Database not ready. Retrying connection (3)...

Seems database isn't available?

It is running but I didn‘t set the username and password anywhere in appwrite might that be the problem? And where can i set it?

Yes

You can set it in the docker compose file

I will try that ty

It's located in your appwrite install folder

Fixed it ty

Great!

[SOLVED] Having issues setting up appwrite on a raspberry pi 4
Recommended threads
- Issue with github oauth in firefox brows...
Hello Guys i have setup appwrite auth (Email Password, Google and Github). All auth methods works fine on the chrome based browsers but it has a strange issue w...
- Change attributes of existing collection...
I'm trying to figure out how to add a new attribute to this empty collection, but the only prompt that shows up is the "create document." Nothing shows up in se...
- Attribute already exists in schema
I created an attribute, deleted it and now I can't create it again. It says "Failed" and "Attribute already exists in schema". ```json { "27": { "ke...
