add the correct rights for the test database

This commit is contained in:
Andreas Zweili 2017-11-12 13:09:56 +01:00
parent 019427d00b
commit 929feb6e37
2 changed files with 8 additions and 0 deletions

View File

@ -11,4 +11,10 @@ create database if not exists webshopdb;
grant all on webshopdb.* to
'webshop'@'localhost'
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
grant all on test_webshopdb.* to
'webshop'@'localhost'
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
grant all on django_migrations.* to
'webshop'@'localhost'
identified by '2YKtY53F3HDDzPyExAaSh3jdVNh6VN';
flush privileges;

View File

@ -5,4 +5,6 @@
-- MariaDB 10.1.26
drop database if exists webshopdb;
drop database if exists test_webshopdb;
drop database if exists django_migrations;
drop user if exists webshop@localhost;