its a URI + the logical database name
# spicedb
j
its a URI + the logical database name
n
@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
I think you just add the logical database name to the end of the AWS URI after a slash
n
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
let me check...
n
I saw that there weren't any MYSQL specific insutrctions... is there something else that needs to be specified for mysql?
j
username:password@(hostname:port)/logicaldatabasename
that's the format
n
oooo was missing the login credentials. Thanks so much!
j
great!
9 Views