Skip to content
Back

Trouble Creating Database and Collections via CLI

  • 0
  • Databases
  • Web
  • Storage
joyston
29 Jan, 2026, 17:56

I’ve set up my project credentials (endpoint, project ID) and generated an API key. I’m currently focusing on creating only the database and collections (tables) using the CLI , without using the dashboard.

I’ve attempted to create the database and collections via script, but it’s not working as expected.

Could you please clarify: The correct steps or order for creating a database and collections via CLI or Management API Any required parameters or permissions I might be missing

If there are any working examples, scripts,or documentation links, that would be extremely helpful.

TL;DR
Difficulty encountered when trying to set up databases and collections through CLI. Developer needs guidance on the correct steps, parameters, and permissions required. They prefer script-based solutions and examples or documentation.
joyston
29 Jan, 2026, 17:57

@Tessa

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