Skip to content

Commit e63c024

Browse files
committed
Giving global privileges to 'test' user.
1 parent 14c944d commit e63c024

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Tests/MySql.Data.Tests/Properties/Setup.sql

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
DROP DATABASE IF EXISTS `[database0]`; CREATE DATABASE `[database0]`;
22
CREATE USER 'test'@'localhost' IDENTIFIED BY 'test';
33
CREATE USER 'test'@'%' IDENTIFIED BY 'test';
4-
GRANT ALL ON `[database0]`.* to 'test'@'localhost';
5-
GRANT ALL ON `[database0]`.* to 'test'@'%';
64

75
DROP DATABASE IF EXISTS `[database1]`; CREATE DATABASE `[database1]`;
8-
GRANT ALL ON `[database1]`.* to 'test'@'localhost';
9-
GRANT ALL ON `[database1]`.* to 'test'@'%';
6+
7+
GRANT ALL ON *.* to 'test'@'localhost';
8+
GRANT ALL ON *.* to 'test'@'%';
109

1110
FLUSH PRIVILEGES;
1211

0 commit comments

Comments
 (0)