Commit 801bc4d9 authored by sebastien letort's avatar sebastien letort

fix a date pb.

mysql has to be aware of time zone.
parent abefcb71
......@@ -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@'%';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment