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

所属分类: 数据库 / Mysql 阅读数: 1269
收藏 0 赞 0 分享

下面给大家介绍下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中的参数

这篇文章主要介绍了MySQL中的参数是什么,帮助大家更好的理解和使用MySQL数据库,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

MySQL8.0 如何快速加列

这篇文章主要介绍了MySQL8.0 如何快速加列,帮助大家更好的理解和使用MySQL数据库,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

MYSQL中 char 和 varchar的区别

这篇文章主要介绍了MYSQL中 char 和 varchar的区别,帮助大家更好的理解和使用MySQL数据库,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

MySQL存储过程及常用函数代码解析

这篇文章主要介绍了MySQL存储过程及常用函数代码解析,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
收藏 0 赞 0 分享

如何解决mysql insert乱码的问题

在本篇内容里小编给大家整理的是一篇关于如何解决mysql insert乱码的问题的相关文章,有兴趣的朋友们可以学习参考下。
收藏 0 赞 0 分享

详解MySQL InnoDB的索引扩展

这篇文章主要介绍了MySQL InnoDB的索引扩展的相关资料,帮助大家更好的理解和学习MySQL,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

MySQL数据延迟跳动的问题解决

这篇文章主要介绍了MySQL数据延迟跳动的问题如何解决,帮助大家更好的理解和学习MySQL,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

超详细MySQL使用规范分享

这篇文章主要介绍了MySQL使用规范,帮助大家更规范的操作MySQL,感兴趣的朋友可以了解下
收藏 0 赞 0 分享

MySQL中常见的几种日志汇总

这篇文章主要给大家介绍了关于MySQL中常见的几种日志,文中通过实例代码结束的非常详细,对大家学习或者使用MySQL具有一定的参考学习价值,需要的朋友们下面来一起学习学习吧
收藏 0 赞 0 分享

MYSQL SERVER收缩日志文件实现方法

这篇文章主要介绍了MYSQL SERVER收缩日志文件实现方法,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友可以参考下
收藏 0 赞 0 分享
查看更多