Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ff255396
authored
Jan 06, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated pictodb_init.sql to avoid foreign key checks
parent
272d70f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
sails/conf/pictodb_init.sql
sails/src/assets/symbolstx
sails/src/assets/upload
sails/conf/pictodb_init.sql
View file @
ff255396
set
foreign_key_checks
=
0
;
GRANT
USAGE
ON
*
.
*
TO
'pictodbuser'
@
'localhost'
;
GRANT
USAGE
ON
*
.
*
TO
'pictodbuser'
@
'localhost'
;
DROP
USER
'pictodbuser'
@
'localhost'
;
DROP
USER
'pictodbuser'
@
'localhost'
;
CREATE
USER
'pictodbuser'
@
'localhost'
identified
by
'p1KT015'
;
CREATE
USER
'pictodbuser'
@
'localhost'
identified
by
'p1KT015'
;
...
@@ -7,3 +9,4 @@ CREATE DATABASE pictodb;
...
@@ -7,3 +9,4 @@ CREATE DATABASE pictodb;
grant
all
privileges
on
pictodb
.
*
to
pictodbuser
;
grant
all
privileges
on
pictodb
.
*
to
pictodbuser
;
flush
privileges
;
flush
privileges
;
set
foreign_key_checks
=
1
;
sails/src/assets/symbolstx
View file @
ff255396
../../symbolstx
../../../../symbolstx
\ No newline at end of file
\ No newline at end of file
sails/src/assets/upload
View file @
ff255396
../../upload
../../../../upload
\ No newline at end of file
\ No newline at end of file
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