https://authzed.com logo
Title
j

Joey

08/18/2022, 8:13 PM
its a URI + the logical database name
n

Noa

08/18/2022, 9:03 PM
@Joey hello! Thanks for clarifying...could you point me towards an example? Not seeing where I'd specify the database name. Right now I have: > - name: "SPICEDB_DATASTORE_ENGINE" > value: "mysql" > - name: "SPICEDB_DATASTORE_CONN_URI" > value: [The AWS URI in quotes]
j

Joey

08/18/2022, 9:03 PM
I think you just add the logical database name to the end of the AWS URI after a slash
n

Noa

08/18/2022, 9:31 PM
ahh okay. I wasn't sure if it as just that since when I add anything (either
/spicedb
or even gibberish), I get an error:
failed to create connector: default addr for network [URI] unknown
... where URI is filled in. I saw this: https://stackoverflow.com/questions/52808454/beego-orm-mysql-default-addr-for-network-unknown Which made me think I needed to add a port for the datastore... so I updated the value to be: > - name: "SPICEDB_DATASTORE_ENGINE" > value: "mysql" > - name: "SPICEDB_DATASTORE_CONN_URI" > value: [The AWS URI in quotes]:[port #]/spicedb and then further below I added: > - name: "http" > containerPort: 3306 > protocol: "TCP"
j

Joey

08/18/2022, 9:33 PM
let me check...
n

Noa

08/18/2022, 9:33 PM
I saw that there weren't any MYSQL specific insutrctions... is there something else that needs to be specified for mysql?
j

Joey

08/18/2022, 9:34 PM
username:password@(hostname:port)/logicaldatabasename
that's the format
n

Noa

08/18/2022, 9:46 PM
oooo was missing the login credentials. Thanks so much!
j

Joey

08/18/2022, 9:47 PM
great!