-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev_users.sql
More file actions
24 lines (20 loc) · 1.14 KB
/
dev_users.sql
File metadata and controls
24 lines (20 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is subject to the terms and conditions defined in
# 'LICENSE.txt', which is part of this source code distribution.
#
# Copyright 2012-2020 Software Assurance Marketplace
# These users are for development only
# They should not be in the production installer
# swim_reader select all tables
CREATE USER 'swim_reader'@'localhost' IDENTIFIED BY 'password';
CREATE USER 'swim_reader'@'%' IDENTIFIED BY 'password';
GRANT SELECT ON *.* TO 'swim_reader'@'localhost';
GRANT SELECT ON *.* TO 'swim_reader'@'%';
# swim_dev all priveledges
CREATE USER 'swim_dev'@'localhost' IDENTIFIED BY 'password';
CREATE USER 'swim_dev'@'%' IDENTIFIED BY 'password';
#GRANT ALL PRIVILEGES ON *.* TO 'swim_dev'@'localhost' WITH GRANT OPTION;
#GRANT ALL PRIVILEGES ON *.* TO 'swim_dev'@'%' WITH GRANT OPTION;
GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE ON *.* TO 'swim_dev'@'%';
GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE ON *.* TO 'swim_dev'@'localhost';
GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE, SHOW VIEW, LOCK TABLES ON *.* TO 'swim_dev'@'%';
GRANT SELECT, INSERT, UPDATE, DELETE, EXECUTE, SHOW VIEW, LOCK TABLES ON *.* TO 'swim_dev'@'localhost';