Closed
Description
CUBEJS_DB_HOST=<the host as mentioned on atlas>
CUBEJS_DB_NAME=hyper-staging
CUBEJS_DB_USER=<name>?source=admin
CUBEJS_DB_PASS=<pass>
CUBEJS_DB_PORT=<port>
CUBEJS_WEB_SOCKETS=true
CUBEJS_DEV_MODE=true
CUBEJS_DB_TYPE=mongobi
CUBEJS_API_SECRET=secret
CUBEJS_DB_SSL=true
#CUBEJS_DB_SSL_CA=<SSL_CA>
#CUBEJS_DB_SSL_CERT=<SSL_CERT>
#CUBEJS_DB_SSL_CIPHERS=<SSL_CIPHERS>
#CUBEJS_DB_SSL_PASSPHRASE=<SSL_PASSPHRASE>
#CUBEJS_DB_SSL_REJECT_UNAUTHORIZED=<SSL_REJECT_UNAUTHORIZED>
Error: error using database hyper-staging: ERROR 1049 (42000): Unknown database 'hyper-staging'
at Packet.asError (C:\personal project\hello-world\node_modules\mysql2\lib\packets\packet.js:712:17)
at ClientHandshake.execute (C:\personal project\hello-world\node_modules\mysql2\lib\commands\command.js:28:26)
at Connection.handlePacket (C:\personal project\hello-world\node_modules\mysql2\lib\connection.js:425:32)
at PacketParser.onPacket (C:\personal project\hello-world\node_modules\mysql2\lib\connection.js:75:12)
at PacketParser.executeStart (C:\personal project\hello-world\node_modules\mysql2\lib\packet_parser.js:75:16)
at TLSSocket.<anonymous> (C:\personal project\hello-world\node_modules\mysql2\lib\connection.js:345:25)
at TLSSocket.emit (events.js:315:20)
at addChunk (_stream_readable.js:295:12)
at readableAddChunk (_stream_readable.js:271:9)
at TLSSocket.Readable.push (_stream_readable.js:212:10)
That database exists in my cluster , yet shows this error. Help!