File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ awareness about deprecated code.
8
8
9
9
# Upgrade to 3.5
10
10
11
+ ## Deprecated fallback connection used to determine the database platform.
12
+
13
+ Relying on a fallback connection used to determine the database platform while connecting to a non-existing database
14
+ has been deprecated. Either use an existing database name in connection parameters or omit the database name
15
+ if the platform and the server configuration allow that.
16
+
11
17
## Deprecated default PostgreSQL connection database.
12
18
13
19
Relying on the DBAL connecting to the "postgres" database by default is deprecated. Unless you want to have the server
Original file line number Diff line number Diff line change @@ -400,6 +400,15 @@ private function getDatabasePlatformVersion()
400
400
throw $ originalException ;
401
401
}
402
402
403
+ Deprecation::trigger (
404
+ 'doctrine/dbal ' ,
405
+ 'https://github.com/doctrine/dbal/pull/5707 ' ,
406
+ 'Relying on a fallback connection used to determine the database platform while connecting '
407
+ . ' to a non-existing database is deprecated. Either use an existing database name in '
408
+ . ' connection parameters or omit the database name if the platform '
409
+ . ' and the server configuration allow that. ' ,
410
+ );
411
+
403
412
// The database to connect to might not yet exist.
404
413
// Retry detection without database name connection parameter.
405
414
$ params = $ this ->params ;
You can’t perform that action at this time.
0 commit comments