1.mySQL 其实就是一个服务,存在于底层的操作系统之上,间隔在图形化数据库工具中间的一个数据库服务。
2.mySQL 可以安装在 Windows 系统下,Linux 系统下,MacOS 等系统下,兼容性比较好
3.最新版的 mySQL 版本是8.0,于2018年发布,但是企业内一般还是使用 mySQL5.6或mySQL5.7.
4.mySQL5.6与 mySQL5.7其中的一项差别在于 mySQL5.7支持MacOS操作系统,而mySQL5.6不支持 MacOS 操作系统,仅支持 Linux Unbantu等系统。
5.mySQL可以通过PATH="$PATH":/usr/local/mysql/bin以及mysql mysql -u root -p来开启
6.启动完毕以后,可以通过以下内容来验证是否启动完毕,同时也可以看出哪个版本的 mySQL 被开启。
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g
Your MySQL connection id is 9
Server version: 8.0.15 MySQL Community Server - GPL
Copyright (c) 2000, 2019, 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.