Skip to content

Commit ecdb92e

Browse files
Update serverVersion for MariaDB
1 parent 1c6083e commit ecdb92e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doctrine.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ The database connection information is stored as an environment variable called
4444
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7"
4545
4646
# to use mariadb:
47-
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=mariadb-10.5.8"
47+
# Before doctrine/dbal < 3.7
48+
# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=mariadb-10.5.8"
49+
# Since doctrine/dbal 3.7
50+
# DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=10.5.8-MariaDB"
4851
4952
# to use sqlite:
5053
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"

0 commit comments

Comments
 (0)