Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timezone #43

Open
ahmaddxb opened this issue Nov 11, 2021 · 2 comments
Open

timezone #43

ahmaddxb opened this issue Nov 11, 2021 · 2 comments

Comments

@ahmaddxb
Copy link

I am having issues with timezone. Any ideas

image

@ahmaddxb
Copy link
Author

I was using MariaDB and this it what I did to get it working.

Command into mariadb container and run

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p -u root mysql

mysql -u root -p

GRANT SELECT ON mysql.time_zone_name TO 'glpi'@'localhost';
FLUSH PRIVILEGES;

restart mariadb container

command into glpi container and run

/var/www/html/glpi/bin/console glpi:migration:timestamps

restart gli container

@uebmaster
Copy link

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -p -u root mysql

I got command not found :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants