"[Warning] TIMESTAMP with implicit DEFAULT value" on install

Bug #1516010 reported by Robie Basak
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MySQL Server
Unknown
Unknown
mysql-5.6 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

When installing mysql-server-5.6, the user gets the following warning printed to the terminal:

2014-05-14 13:54:03 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

This should not happen.

Revision history for this message
Lars Tangvald (lars-tangvald) wrote :

The cause is that MySQL used to only support implicit timestamp default value, which is not according to the SQL spec. When this was fixed, it was decided to keep the old behavior for historical reasons, but add a deprecation warning.

Adding the suggested value to the config would remove the warning, but we'd be changing the default behavior of the server.

Revision history for this message
Robie Basak (racb) wrote :

We can't fix this in 5.6 because it would change default behaviour, but we can fix it in 5.7. So leaving this open so we remember to do it.

Revision history for this message
Angel Guzman Maeso (shakaran) wrote :

Some progress for fix this at least in mysql 5.7 for Ubuntu 16.04?

Revision history for this message
Joshua Powers (powersj) wrote :

This still prints out for 5.7 on 16.04 (5.7.15-0ubuntu2)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.