[Warning] TIMESTAMP with implicit DEFAULT value is deprecated.
April 01, 2017 18:04:06
Number of readings: 4699
Appears during the installation of the free version of mysql: e:\java_software\mysql-5.6.21-winx64\mysql-5.6.21-winx64\bin>mysqld mysql
2017-04-01 10:44:04 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use –explicit_defaults_for_timestamp server option (see documentation for more details).
Solution: need to add under my.ini
explicit_defaults_for_timestamp=true
- 1
Run mysqld install as an administrator to prompt the installation to
start mysql successfully: net start mysql to start the mysql service, you can set automatic startup for the convenience of future development. Win+R to run services.msc to set it up.
Configure environment variables: mysql_home/bin
Run mysql: mysql -u root -p password, the default is empty
my.ini may not exist in the mysql installation directory, you need to build it yourself, I directly modified my_default.ini to use my.ini.