nettrine postgres server_version
- esorimer
- Member | 114
Doctrine\DBAL\DBALException
An exception occurred while establishing a connection to figure out your platform version.
You can circumvent this by setting a 'server_version' configuration value
For further information have a look at:
https://github.com/doctrine/DoctrineBundle/issues/673
Hello,
I am trying to use postgres with nettrine and I get the error
above.
I tryied this configuration:
dbal: #doctrine
connection:
driver: pdo_pgsql
host: localhost
dbname: test
user: user
password:
server_version: 11.7
but without success :( Any idea how to configure server_version for doctrine?
- Felix
- Nette Core | 1245
At this moment, it could be configured for example:
nettrine.dbal:
debug:
panel: %debugMode%
connections:
default:
driver: %postgres.driver%
host: %postgres.host%
port: %postgres.port%
dbname: %postgres.dbname%
user: %postgres.user%
password: %postgres.password%
charset: UTF8
serverVersion: 15.0.0
second:
driver: %mariadb.driver%
host: %mariadb.host%
port: %mariadb.port%
dbname: %mariadb.dbname%
user: %mariadb.user%
password: %mariadb.password%
charset: UTF8
serverVersion: 10.10.0