Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102954265
00-shrine-database-users.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 25, 19:44
Size
571 B
Mime Type
text/x-shellscript
Expires
Thu, Feb 27, 19:44 (2 d)
Engine
blob
Format
Raw Data
Handle
24465374
Attached To
R4444 MedCo Deployment
00-shrine-database-users.sh
View Options
#!/bin/bash
set -e
mysql -p$ADMIN_PASSWORD -u root <<-EOSQL
create database shrine_query_history;
grant all privileges on shrine_query_history.* to 'shrine'@'%' identified by '$DB_PASSWORD';
create database stewardDB;
grant all privileges on stewardDB.* to 'shrine'@'%' identified by '$DB_PASSWORD';
create database adapterAuditDB;
grant all privileges on adapterAuditDB.* to 'shrine'@'%' identified by '$DB_PASSWORD';
create database qepAuditDB;
grant all privileges on qepAuditDB.* to 'shrine'@'%' identified by '$DB_PASSWORD';
EOSQL
Event Timeline
Log In to Comment