mysql學習筆記

來源:互聯網
上載者:User

標籤:提示   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學習筆記

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.