diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 87d97301bc7c7ea8da5f157eec8d87e8caaff9f1..d3d644f089d13ce2b2780f3747929c16f188d53d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -49,4 +49,4 @@ test:
 #     DATABASE_URL: "jdbc:mysql://localhost:3306/ppl"
   script:
   - python manage.py test
-  - mysql -u root -p ppl2018 -D test_ppl -e "DROP DATABASE IF EXISTS test_ppl"
\ No newline at end of file
+  - echo "yes" | mysqladmin -uroot -pppl2018 drop if exists test_ppl
\ No newline at end of file