MySQL数据库
发布时间:2024年01月21日
一、MySQL概述
1. 数据库的定义

2. 安装MySQL
1)下载安装包

2)解压

3)配置环境变量


4)验证是否安装成功

输入mysql,显示这样的信息就表示mysql环境变量已经配置成功:

5)初始化MySQL

回车之后稍微等一会儿, 如果没有出现报错信息, 则证明data目录初始化没有问题,此时再查看MySQL目录下已经有data目录生成。
6)注册MySQL服务

现在计算机上已经安装好了MySQL服务了。
7)启动MySQL服务

8)修改默认账户密码
这里设置为1234,也可以改成其他的。

3. 登陆MySQL
?
4. 卸载MySQL

1)停止MySQL服务

2)删除MySQL
3)删除MySQL目录及相关的环境变量
5. MySQL企业开发使用方式

二、MySQL数据模型
1. 关系型数据库

2. 数据模型

三、SQL简介
1. SQL

2. SQL语句分类

文章来源:https://blog.csdn.net/xian2h/article/details/135720028
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:chenni525@qq.com进行投诉反馈,一经查实,立即删除!