Skip to content

Commit 69ff602

Browse files
committed
debug
1 parent 7c0f1d5 commit 69ff602

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/dj_setup_database.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ symfony_console()
159159
if [ -n "$DATABASE_URL" ]; then
160160
DATABASE_URL=$DATABASE_URL ${WEBAPPDIR}/bin/console -v $ARG "$@"
161161
else
162-
${WEBAPPDIR}/bin/console -v $ARG "$@"
162+
DATABASE_URL="mysql://domjudge:simplepw@sqlserver:3306/domjudge?serverVersion=5.7.0" ${WEBAPPDIR}/bin/console -v $ARG "$@"
163163
fi
164164

165165
# Make sure any generated cache data has the right permissions if we ran as root.
@@ -368,7 +368,6 @@ bare-install|install)
368368
cat ~/.my.cnf
369369
echo "----- snap"
370370
symfony_console cache:clear
371-
symfony_console domjudge:load-default-data
372371
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-default-data
373372
if [ "$1" = "install" ]; then
374373
install_examples

0 commit comments

Comments
 (0)