Skip to content

Commit c639ea4

Browse files
authored
Update doctrine.rst
Hello, I just add env variable for mariadb.
1 parent c5dbbd7 commit c639ea4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doctrine.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ The database connection information is stored as an environment variable called
4646
# customize this line!
4747
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
4848
49+
# to use mariadb:
50+
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=mariadb-10.5.8"
51+
4952
# to use sqlite:
5053
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
5154

0 commit comments

Comments
 (0)