question

amarendra.yadav_110869 avatar image
amarendra.yadav_110869 asked Erick Ramirez edited

Why can't I rename the keyspace on my Astra database?

I need to rename the Keyspace, i dont have enough permission to drop it and create a fresh.

I have created account on Astra, username and password for the keyspace are different than suggested, Now I am unable to run the CQL script recommended as per steps https://github.com/DataStax-Academy/cassandra-workshop-series/tree/master/week1%20-%20Getting%20Started%20with%20Cassandra

Can you please help me create a fresh keyspace for workshop purposes

workshopastra
1 comment
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

smadhavan avatar image smadhavan ♦ commented ·

@amarendra.yadav_110869, it might be worthy to point out this documentation that talks about various items as to what is/is not supported.

0 Likes 0 ·

1 Answer

bettina.swynnerton avatar image
bettina.swynnerton answered bettina.swynnerton commented

Hi @amarendra.yadav_110869,

it is not possible to change the name of the keyspace once it is created on Astra, it is tied to this database instance.

If you do not have any data in your keyspace, the easiest option would be to teminate your Astra database and recreate a new one with the suggested names for cluster, keyspace, user and password. This will give you a much better experience with the notebooks.

Let us know if this works for you.

Cheers!


9 comments Share
10 |1000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

amarendra.yadav_110869 avatar image amarendra.yadav_110869 commented ·

Hi, I tried terminating it, but could not. I get an error - Unauthorized to do so

0 Likes 0 ·
bettina.swynnerton avatar image bettina.swynnerton ♦♦ amarendra.yadav_110869 commented ·

oh, would you tell us the steps you take for terminating the database?

Are you terminating it like here?

After selecting "Terminate" a dialog asks you to confirm:

Let us know if this doesn't work, we want to know and help.

Cheers

0 Likes 0 ·
amarendra.yadav_110869 avatar image amarendra.yadav_110869 bettina.swynnerton ♦♦ commented ·

I am seeing the option to terminate, but it is disabled


0 Likes 0 ·
Show more comments
Show more comments