加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

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

发布时间:2020-12-12 02:52:14 所属栏目:MySql教程 来源:网络整理
导读:《Mysql入门MySQL5.7.16绿色版安装教程详解》要点: 本文介绍了Mysql入门MySQL5.7.16绿色版安装教程详解,希望对您有用。如果有疑问,可以联系我们。 MYSQL应用 下面给大家介绍下MySQL5.7.16绿色版安装教程,具体内容如下所示: MYSQL应用 如图所示: MYSQL应

《Mysql入门MySQL5.7.16绿色版安装教程详解》要点:
本文介绍了Mysql入门MySQL5.7.16绿色版安装教程详解,希望对您有用。如果有疑问,可以联系我们。

MYSQL应用下面给大家介绍下MySQL5.7.16绿色版安装教程,具体内容如下所示:

MYSQL应用如图所示:

MYSQL应用

MYSQL应用原窗口指令

MYSQL应用
Microsoft Windows [版本 10.0.xxxxx]
(c) 2016 Microsoft Corporation.保留所有权利.
C:WINDOWSsystem32>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:WINDOWSsystem32>mysqld -install
Service successfully installed.
C:WINDOWSsystem32>net start mysql
MySQL 服务正在启动 .
MySQL 服务已经启动成功.
C:WINDOWSsystem32>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:WINDOWSsystem32>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,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>

MYSQL应用以上所述是小编给大家介绍的MySQL5.7.16绿色版安装教程详解,希望对大家有所赞助,如果大家有任何疑问请给我留言,小编会及时回复大家的.在此也非常感谢大家对编程之家PHP网站的支持!

《Mysql入门MySQL5.7.16绿色版安装教程详解》是否对您有启发,欢迎查看更多与《Mysql入门MySQL5.7.16绿色版安装教程详解》相关教程,学精学透。编程之家 52php.cn为您提供精彩教程。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读