标签:提示 value mysq 时间 tin gtid mysql can 相关
前言
做了那么久的前端开发,经过跟同事的交流,发觉数据库方面的短板越来越影响到了后续的发展,温习一下以前学过的一些sql相关知识。
首先从安装开始。一开始去官网下载了最新版本5.7.17,经过昨天到今天的折腾,度娘上也找了不少前辈的攻略,最后仍然失败。
解压版卡在mysqld –install这一步,老是提示0x000000007这么一个错误。
安装版本卡在启动服务的位置,老是提示:
开始启动服务,
服务无法启动
查log,显示错误:
2017-10-01T09:00:42.847997Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-10-01T09:00:42.847997Z 0 [Warning] ‘NO_ZERO_DATE‘, ‘NO_ZERO_IN_DATE‘ and ‘ERROR_FOR_DIVISION_BY_ZERO‘ sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-10-01T09:00:47.277250Z 0 [Warning] InnoDB: New log files created, LSN=45790
2017-10-01T09:00:47.917287Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-10-01T09:00:48.213304Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 045da655-a687-11e7-8e7f-00ff4820d3b6.
2017-10-01T09:00:48.257306Z 0 [Warning] Gtid table is not ready to be used. Table ‘mysql.gtid_executed‘ cannot be opened.
2017-10-01T09:00:48.399314Z 1 [Note] A temporary password is generated for root@localhost: AwVkHAXWW8=P
浪费了两天时间之后,暂停这个版本。
重新选择官网老版本,正常流程安装,一遍搞定,出乎意料的顺利,输入密码,马上就出现了正常使用界面,从安装到使用十分钟都不到,简直让我无话可说,几年没有接触就落后这么远了?????
标签:提示 value mysq 时间 tin gtid mysql can 相关
原文地址:http://www.cnblogs.com/sim-lq/p/7617941.html