当前位置: 首页 > 编程笔记 >

MySQL5.7.16绿色版安装教程详解

柴瀚昂
2023-03-14
本文向大家介绍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绿色版安装教程详解,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对小牛知识库网站的支持!

 类似资料:
  • 本文向大家介绍mysql 5.6.17 绿色版(免安装)安装配置教程,包括了mysql 5.6.17 绿色版(免安装)安装配置教程的使用技巧和注意事项,需要的朋友参考一下 最近在做项目开发时用到了MySql数据库,在看了一些有关MySql的文章后,很快就上手使用了。在使用的过程中还是出现了一些问题,因为使用的是绿色免安装版的MySql所以在配置的时候出现了一些问题,该篇文章就主要针对MySql绿色

  • 本文向大家介绍MySql 5.6.36 64位绿色版安装图文教程,包括了MySql 5.6.36 64位绿色版安装图文教程的使用技巧和注意事项,需要的朋友参考一下 网上MySQL安装的文章有很多哈,但是今天在自己的笔记本上安装遇到了问题,仅此做下记录。 1、下载MySQL的zip压缩包,在官网https://dev.mysql.com/downloads/mysql/ 根据需要下版本 Window

  • 本文向大家介绍windows2008 64位系统下MySQL 5.7绿色版的安装教程,包括了windows2008 64位系统下MySQL 5.7绿色版的安装教程的使用技巧和注意事项,需要的朋友参考一下 前言 本文介绍的是MySQL 5.7绿色版的安装教程,分享出来供需要的朋友们参考学习,下面来看看详细的介绍: 安装环境为:windows2008 R2,X64 一、下载解压 官网下载地址:http

  • 本文向大家介绍64位 win10系统安装绿色版mysql-5.7.16-winx64的教程,包括了64位 win10系统安装绿色版mysql-5.7.16-winx64的教程的使用技巧和注意事项,需要的朋友参考一下 本文主要给大家介绍了64位 win10系统安装绿色版mysql-5.7.16-winx64的方法,具体内容如下所示: 1. 下载MySQL Community Server 地址:ht

  • 本文向大家介绍MySQL 5.0.96 for Windows x86 32位绿色精简版安装教程,包括了MySQL 5.0.96 for Windows x86 32位绿色精简版安装教程的使用技巧和注意事项,需要的朋友参考一下 MySQL 5.0 因为“高级功能”少而成为一代经典,此为MySQL 5.0.96 for Windows x86 32位。精简后就只有几M,没办法。Microsoft V

  • 本文向大家介绍MySQL5.7.23解压版安装教程图文详解,包括了MySQL5.7.23解压版安装教程图文详解的使用技巧和注意事项,需要的朋友参考一下 每次找安装教程太麻烦,因此给自己备份一下步骤,方便以后查看。解压版下载地址 https://dev.mysql.com/downloads/mysql/,详细图解如下: 1.根据自己需求,选择适合自己的进行下载。 2.解压安装包到自己的喜欢的路径,