mysql-installer-community-5.7.22.1在win下安裝流程
阿新 • • 發佈:2018-12-16
選擇自己適合的版本,我一般安裝軟體都選擇的是自定義,你可以選擇其他的版本。
選擇完你需要的部分,要點選那個箭頭新增到右側的列表中。
一直下一步,直到下面這張圖。
點選Add User 鍵入你的Username 以及下面的密碼 重複密碼
直接下一步 接下來進入高階,這個環節可以來選定你需要記錄哪些日誌。 下一步之後,選擇執行。 然後稍等大概幾分鐘,選擇完成 然後下一步 然後完成。
進入cmd輸入mysql你會發現mysql依然不是內部命令,這是因為你還沒有配置相應的環境變數 右鍵此電腦 選擇屬性 在高階系統設定中選擇環境變數 在下面的系統變數中選擇Path然後點選編輯,將你安裝的程式路徑新增進去。儲存。然後再次進去cmd 輸入 mysql -u使用者名稱 -p 系統會提示你 輸入密碼
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 9 Server version: 5.7.22-log MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
如果能出現如下提示,那麼恭喜你可以開始快樂的使用資料庫了。