Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
allgo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
allgo
allgo
Commits
801bc4d9
Commit
801bc4d9
authored
Mar 04, 2019
by
sebastien letort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix a date pb.
mysql has to be aware of time zone.
parent
abefcb71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mysql/files/dk/container_init
mysql/files/dk/container_init
+5
-0
No files found.
mysql/files/dk/container_init
View file @
801bc4d9
...
...
@@ -16,6 +16,11 @@ pid=$!
wait-socket /var/run/mysqld/mysqld.sock
# https://stackoverflow.com/questions/21351251/database-returned-an-invalid-value-in-queryset-dates
# This is necessary to use django Extract/Trunc function (for date management in QuerySets)
mysql_tzinfo_to_sql /usr/share/zoneinfo
\
| mysql
-D
mysql
-u
root
mysql
-uroot
mysql
<<
EOF
GRANT ALL ON allgo.* TO allgo@'%' IDENTIFIED BY 'allgo';
GRANT ALL ON allgo_test.* TO allgo@'%';
...
...
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