程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 數據庫知識 >> MYSQL數據庫 >> MySQL綜合教程 >> MySQL5.7.16綠色版裝置教程詳解

MySQL5.7.16綠色版裝置教程詳解

編輯:MySQL綜合教程

MySQL5.7.16綠色版裝置教程詳解。本站提示廣大學習愛好者:(MySQL5.7.16綠色版裝置教程詳解)文章只能為提供參考,不一定能成為您想要的結果。以下是MySQL5.7.16綠色版裝置教程詳解正文


上面給年夜家引見下MySQL5.7.16綠色版裝置教程,詳細內容以下所示:

如圖所示:

原窗口指令

Microsoft Windows [版本 10.0.xxxxx]
(c) 2016 Microsoft Corporation。保存一切權力。
C:\WINDOWS\system32>mysqld --initialize-insecure --console
2016-10-16T21:45:48.466872Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-10-16T21:45:49.862877Z 0 [Warning] InnoDB: New log files created, LSN=45790
2016-10-16T21:45:50.240119Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2016-10-16T21:45:50.457297Z 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: e7a7d27d-93e9-11e6-a549-f8a963e68bc7.
2016-10-16T21:45:50.482293Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2016-10-16T21:45:50.484316Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
C:\WINDOWS\system32>mysqld -install
Service successfully installed.
C:\WINDOWS\system32>net start mysql
MySQL 辦事正在啟動 .
MySQL 辦事曾經啟動勝利。
C:\WINDOWS\system32>mysql -u root --skip-password
mysql: [Warning] Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.16 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, 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.
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'root2016';
Query OK, 0 rows affected (0.00 sec)
mysql> \quit
Bye
C:\WINDOWS\system32>mysql -h localhost -uroot -p
Enter password: ********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.16 MySQL Community Server (GPL)
Copyright (c) 2000, 2016, 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.
mysql>

以上所述是小編給年夜家引見的MySQL5.7.16綠色版裝置教程詳解,願望對年夜家有所贊助,假如年夜家有任何疑問請給我留言,小編會實時答復年夜家的。在此也異常感激年夜家對網站的支撐!

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved