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

Fix allowed min datetime range on dateime fields #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sunlix
Copy link

@sunlix sunlix commented Oct 28, 2021

Hi,

I have installed ProFTPd-Admin on my current MariaDB 10.4.20 (bundled with XAMPP and PHP 7.4).
But importing the table.sql as mentioned in the installation guide the database will reject the import due to wrong default dateime value.

From the MariaDB knowledge base

MariaDB stores values that use the DATETIME data type in a format that supports values between 1000-01-01 00:00:00.000000 and 9999-12-31 23:59:59.999999

The default settings are to not have NO_ZERO_DATE set.
So I think it is useful to arrange that here.

Feel free to accept the PR :)

regards
Sven

@sunlix
Copy link
Author

sunlix commented Oct 29, 2021

That should fox #54

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

Successfully merging this pull request may close these issues.

1 participant