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
7cd6e79e
authored
Nov 24, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed init.sql
parent
69efd0f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
sails/roles/database/files/init.sql
sails/roles/database/vars/main.yml
sails/src/config/connections.js
sails/roles/database/files/init.sql
View file @
7cd6e79e
...
...
@@ -2,10 +2,9 @@ SET foreign_key_checks=0;
DROP
USER
IF
EXISTS
'pictodbu'
;
DELETE
FROM
mysql
.
user
WHERE
user
=
'pictodbu'
;
FLUSH
PRIVILEGES
;
CREATE
USER
'pictodbu'
@
'%'
identified
by
'p1KT0!15.'
;
GRANT
USAGE
ON
*
.
*
TO
'pictodbu'
@
'localhost'
;
CREATE
USER
'pictodbu'
@
'%'
identified
by
'r"YjtnB+a4$.M*nJ'
;
DROP
DATABASE
IF
EXISTS
pictodb
;
CREATE
DATABASE
pictodb
;
SET
foreign_key_checks
=
1
;
GRANT
all
privileges
ON
pictodb
.
*
to
'pictodbu'
@
'localhost'
identified
by
'
p1KT0!15.
'
;
GRANT
all
privileges
ON
pictodb
.
*
to
'pictodbu'
@
'localhost'
identified
by
'
r"YjtnB+a4$.M*nJ
'
;
FLUSH
PRIVILEGES
;
sails/roles/database/vars/main.yml
View file @
7cd6e79e
...
...
@@ -2,5 +2,5 @@
database_files_relative_path
:
'
roles/database/files'
database_name
:
pictodb
database_user
:
pictodbu
database_user_passwd
:
p1KT0!15.
database_user_passwd
:
r"YjtnB+a4$.M*nJ
database_tests
:
[
caja
]
#[caja, autismojaen] # can be empty
sails/src/config/connections.js
View file @
7cd6e79e
...
...
@@ -26,7 +26,7 @@ module.exports.connections = {
host
:
'localhost'
,
port
:
3306
,
user
:
'pictodbu'
,
password
:
'
p1KT0!15.
'
,
password
:
'
r"YjtnB+a4$.M*nJ
'
,
database
:
'pictodb'
,
charset
:
'utf8'
,
collation
:
'utf8_unicode_ci'
...
...
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