Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
domotikad
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
domotika
domotikad
Commits
723636a1
Commit
723636a1
authored
Nov 16, 2013
by
nextime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add asterisk user to the db creation
parent
878057eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
01-dbcreate.sql
Databases/createdb/01-dbcreate.sql
+3
-0
No files found.
Databases/createdb/01-dbcreate.sql
View file @
723636a1
...
...
@@ -23,7 +23,10 @@
CREATE
DATABASE
domotika
;
CREATE
USER
'domotika'
@
'localhost'
IDENTIFIED
BY
'dmdbpwdmsql'
;
CREATE
USER
'asterisk'
@
'localhost'
IDENTIFIED
BY
'astdbpwd'
;
GRANT
USAGE
ON
*
.
*
TO
'domotika'
@
'localhost'
IDENTIFIED
BY
'dmdbpwdmsql'
WITH
MAX_QUERIES_PER_HOUR
0
MAX_CONNECTIONS_PER_HOUR
0
MAX_UPDATES_PER_HOUR
0
MAX_USER_CONNECTIONS
0
;
GRANT
USAGE
ON
*
.
*
TO
'asterisk'
@
'localhost'
IDENTIFIED
BY
'dmdbpwdmsql'
WITH
MAX_QUERIES_PER_HOUR
0
MAX_CONNECTIONS_PER_HOUR
0
MAX_UPDATES_PER_HOUR
0
MAX_USER_CONNECTIONS
0
;
GRANT
ALL
PRIVILEGES
ON
`domotika`
.
*
TO
'domotika'
@
'localhost'
WITH
GRANT
OPTION
;
GRANT
ALL
PRIVILEGES
ON
`domotika`
.
*
TO
'asterisk'
@
'localhost'
WITH
GRANT
OPTION
;
FLUSH
PRIVILEGES
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment