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

Anemometer does not support 5.7 as backend DB #175

Open
tkarraker opened this issue Sep 7, 2016 · 3 comments
Open

Anemometer does not support 5.7 as backend DB #175

tkarraker opened this issue Sep 7, 2016 · 3 comments

Comments

@tkarraker
Copy link
Contributor

The install sql file does not create the tables properly during first setup. It appears to be due to a change in the default timestamp format in 5.7.

@anthonyAdhese
Copy link

anthonyAdhese commented Jan 13, 2017

I fixed it by doing following changes:
ts_min datetime NOT NULL DEFAULT '1990-01-01 00:00:00',
ts_max datetime NOT NULL DEFAULT '1990-01-01 00:00:00',

Ran it on Server version: 5.7.8-rc MySQL Community Server (GPL)

@tkarraker
Copy link
Contributor Author

@anthonyAdhese Thank you for the heads up on the fix. If you make any more changes to the codebase, would you be interested in committing them to a feature branch for us to merge? Since 5.7 is becoming more and more common, we really need to get on top of this.

@anthonyAdhese
Copy link

I can have a look at it when I'm on my workstation :)

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