Stephen
05/15/2018, 7:25 PMMay 15, 2018 7:22:56 PM org.postgresql.Driver connect
SEVERE: Connection error:
org.postgresql.util.PSQLException: FATAL: permission denied for database "postgres"
Detail: User does not have CONNECT privilege.
matic
05/15/2018, 8:56 PMStephen
05/16/2018, 2:59 PMStephen
05/16/2018, 5:51 PMconnectionLimit
because the free db at elephantsql.com has a connection cap. This got me heading in the right direction, but the startup logs are still very full of:
May 16, 2018 3:14:29 PM org.postgresql.core.v3.ConnectionFactoryImpl log
WARNING: SQLException occurred while connecting to <http://tantor.db.elephantsql.com:5432|tantor.db.elephantsql.com:5432>
org.postgresql.util.PSQLException: FATAL: permission denied for database "postgres"
Detail: User does not have CONNECT privilege.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2566)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:131)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:210)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:193)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:430)
at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:64)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:570)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:563)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
nilan
05/22/2018, 12:59 PMmatic
05/22/2018, 1:10 PMStephen
05/22/2018, 3:24 PMconnectionLimit
to 1 because I was using a free instance on elephantsql.com and it has a cap of connections. But it's up and working and I've been playing with schemas and putting it through it's paces.nilan
05/22/2018, 3:25 PMnilan
05/22/2018, 3:25 PMStephen
05/22/2018, 3:26 PMdatabase: <user>
is the key for the database name, right? In this case, the db name is the same as the user name.nilan
05/22/2018, 3:27 PMpostgres
before connecting to the database configured in PRISMA_CONFIG
?Stephen
05/22/2018, 3:28 PMorg.postgresql.util.PSQLException: FATAL: permission denied for database "postgres"
failures before finally...
Obtaining exclusive agent lock...
Obtaining exclusive agent lock... Successful.
Deployment worker initialization complete.
Initializing workers...
Successfully started 1 workers.
Server running on :4466
dpetrick
05/22/2018, 3:29 PMpostgres
db is used as the default bootstrap database to setup all required database structures.Stephen
05/22/2018, 3:29 PMdatabase
name defined, it was also trying to connect to a db with name of "prisma" but that went away.Stephen
05/22/2018, 3:30 PMdpetrick
05/22/2018, 3:30 PMprisma
results in postgres looking for a prisma
db, unless specified otherwise.dpetrick
05/22/2018, 3:31 PMStephen
05/22/2018, 3:32 PMStephen
05/22/2018, 3:33 PMnilan
05/22/2018, 3:34 PMStephen
05/22/2018, 3:35 PMnilan
05/22/2018, 3:35 PMStephen
05/22/2018, 3:36 PMVince Kully
10/09/2019, 9:35 PMVince Kully
10/09/2019, 9:37 PM