Skip to content

Commit

Permalink
Adding dev privileges grant
Browse files Browse the repository at this point in the history
  • Loading branch information
ssalevan committed Sep 28, 2014
1 parent 984ef80 commit ef24c97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
*.war
*.ear
*.class
*.log
*.d64

# eclipse specific git ignore
*.pydevproject
Expand All @@ -25,4 +27,4 @@ local.properties
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch
*.launch
1 change: 1 addition & 0 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

mysql -uroot -Dqlink < ./dev_privileges.sql
mysql -uroot -Dqlink < ./schema.sql
5 changes: 5 additions & 0 deletions dev_privileges.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
CREATE DATABASE IF NOT EXISTS `qlink`;

GRANT ALL ON `qlink`.* TO 'qlinkuser'@'localhost' IDENTIFIED BY 'qlinkpass';
FLUSH PRIVILEGES;
COMMIT;

0 comments on commit ef24c97

Please sign in to comment.