5.0开始有了 事务机制。。。。。(数据有保障)
percona只能装在linux上
很多人担心mysql是否继续开源。。于是开发了mariaDB
在官网下载免费版
点击excute…执行安装
开始配置
因为现在使用的是单机版mysql所以第一个先不用配置
默认端口号3306,如果安装了则。。改一个端口号
选择传统密码加密机制
输入自己常用的密码
默认启动mysql
…继续next安装完成
bin目录。。一些命令
配置环境变量
完成之后cmd
Microsoft Windows [版本 10.0.19042.746]
(c) 2020 Microsoft Corporation. 保留所有权利。
C:\Users\徐达>mysql -uroot -p
Enter password: **********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 8.0.12 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.
mysql> show databases:
->
->
->
->
->
->
->
->
->
->
->
->
-> exit()
-> quit()
-> \c
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
| test |
+--------------------+
5 rows in set (0.01 sec)
mysql>