標籤:提示 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 [email protected]: AwVkHAXWW8=P
浪費了兩天時間之後,暫停這個版本。
重新選擇官網老版本,正常流程安裝,一遍搞定,出乎意料的順利,輸入密碼,馬上就出現了正常使用介面,從安裝到使用十分鐘都不到,簡直讓我無話可說,幾年沒有接觸就落後這麼遠了?????
mysql學習筆記