Skip to content

Commit 6b17cdf

Browse files
author
Iltar van der Berg
committed
Hard values for the driver option
1 parent 09a3381 commit 6b17cdf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

book/doctrine.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ information. By convention, this information is usually configured in an
4343
4444
# app/config/parameters.yml
4545
parameters:
46-
database_driver: pdo_mysql
4746
database_host: localhost
4847
database_name: test_project
4948
database_user: root
@@ -64,7 +63,7 @@ information. By convention, this information is usually configured in an
6463
# app/config/config.yml
6564
doctrine:
6665
dbal:
67-
driver: '%database_driver%'
66+
driver: pdo_mysql
6867
host: '%database_host%'
6968
dbname: '%database_name%'
7069
user: '%database_user%'

cookbook/doctrine/multiple_entity_managers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ The following configuration code shows how you can configure two entity managers
2727
default_connection: default
2828
connections:
2929
default:
30-
driver: '%database_driver%'
30+
driver: pdo_mysql
3131
host: '%database_host%'
3232
port: '%database_port%'
3333
dbname: '%database_name%'
3434
user: '%database_user%'
3535
password: '%database_password%'
3636
charset: UTF8
3737
customer:
38-
driver: '%database_driver2%'
38+
driver: pdo_mysql
3939
host: '%database_host2%'
4040
port: '%database_port2%'
4141
dbname: '%database_name2%'

0 commit comments

Comments
 (0)