diff --git a/mysql/_dumps/setup.sql b/mysql/_dumps/setup.sql
index 70f4a6d2f820aced132b5b64e6045b8aeea06604..b0c46f108e33696632bf9f25aeea80655ceaaacd 100644
--- a/mysql/_dumps/setup.sql
+++ b/mysql/_dumps/setup.sql
@@ -2,5 +2,6 @@ DROP DATABASE IF EXISTS upperio_tests;
 
 CREATE DATABASE upperio_tests;
 
-GRANT ALL ON upperio_tests.* to upperio@'%' identified by 'upperio';
-GRANT ALL ON upperio_tests.* to upperio@localhost;
+CREATE USER 'upperio'@'%' IDENTIFIED BY 'upperio';
+GRANT ALL PRIVILEGES ON upperio_tests.* to 'upperio'@'%' WITH GRANT OPTION;
+