关系型数据库:每一行、每一列都是一样的。

小的用MySQL。大的用oracle

Linux中MySQL数据库的安装__2018.05.29

Linux中MySQL数据库的安装__2018.05.29

Linux中MySQL数据库的安装__2018.05.29

Linux中MySQL数据库的安装__2018.05.29

mysql*表示:安装所有已mysql开头的软件。

-y表示:默认一直选“yes”。

Linux中MySQL数据库的安装__2018.05.29

启用mysql数据库,链接ser程序,是一个管理程序

Linux中MySQL数据库的安装__2018.05.29

Linux中MySQL数据库的安装__2018.05.29

更改用户密码:

Linux中MySQL数据库的安装__2018.05.29

显示所有数据库(系统原有数据,都在里面存着):

Linux中MySQL数据库的安装__2018.05.29

先创建数据库,在创建表。

Linux中MySQL数据库的安装__2018.05.29

每个语句后面都要带“;”。

相关文章:

  • 2021-10-31
  • 2021-11-29
  • 2021-12-24
  • 2022-12-23
猜你喜欢
  • 2021-03-31
  • 2021-12-06
  • 2022-02-26
  • 2021-04-20
  • 2022-01-21
  • 2021-05-09
相关资源
相似解决方案