err:unkey:data:database_already_existsExample response
Likely causes
databases.connectDatabase: the project already has this PlanetScale database.databases.createDatabase: the PlanetScale organization already has a database with this name.
How to fix
- For
databases.connectDatabase, list the databases of the project withdatabases.listDatabases. The database is already there, so there’s nothing to connect. To connect an environment to it, use itsidwithconnections.createConnection. - For
databases.createDatabase, choose another name. If the existing database is yours, connect it withdatabases.connectDatabaseinstead.