Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Nov 25, 2024
1 parent 7c0f1d5 commit 69ff602
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sql/dj_setup_database.in
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ symfony_console()
if [ -n "$DATABASE_URL" ]; then
DATABASE_URL=$DATABASE_URL ${WEBAPPDIR}/bin/console -v $ARG "$@"
else
${WEBAPPDIR}/bin/console -v $ARG "$@"
DATABASE_URL="mysql://domjudge:simplepw@sqlserver:3306/domjudge?serverVersion=5.7.0" ${WEBAPPDIR}/bin/console -v $ARG "$@"
fi

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

0 comments on commit 69ff602

Please sign in to comment.