## 2.5 在 Linux 上安装 MySQL

Linux 支持多种不同的 Linux 安装解决方案. We recommend that you use one of the distributions from Oracle, for which several methods for installation are available:

**表 2.7 Linux 安装方法和信息**

| 类型 | 设置方法 | 附加信息 |

|:---:|:---:|:---:|

| Apt | 启用 [MySQL Apt repository](https://dev.mysql.com/downloads/repo/apt/) | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-apt-repo.html) |

| Yum | 启用 [MySQL Yum repository](https://dev.mysql.com/downloads/repo/yum/) | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-yum-repo.html) |

| Zypper | 启用 [MySQL SLES repository](https://dev.mysql.com/downloads/repo/suse/) | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-sles-repo.html) |

| RPM | [下载](https://dev.mysql.com/downloads/mysql/)通用包 | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-rpm.html) |

| DEB | [下载](https://dev.mysql.com/downloads/mysql/)通用包 | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-debian.html) |

| Generic | [下载](https://dev.mysql.com/downloads/mysql/)通用包 | [文档](https://dev.mysql.com/doc/refman/8.0/en/binary-installation.html) |

| Source | 从[源码](https://dev.mysql.com/downloads/mysql/)编译 | [文档](https://dev.mysql.com/doc/refman/8.0/en/source-installation.html) |

| Docker | 使用 Docker Hub, Docker Store, 或者 Oracle 镜像托管 | [文档](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-docker.html) |

| Oracle Unbreakable Linux Network (Orace 坚不可摧的 Linux 网络) | 使用 ULN 通道 | [文档](https://dev.mysql.com/doc/refman/8.0/en/uln-installation.html) |

As an alternative, you can use the package manager on your system to automatically download and install MySQL with packages from the native software repositories of your Linux distribution. These native packages are often several versions behind the currently available release. You will also normally be unable to install development milestone releases (DMRs), as these are not usually made available in the native repositories. For more information on using the native package installers, see [Section 2.5.7, “Installing MySQL on Linux from the Native Software Repositories”](https://dev.mysql.com/doc/refman/8.0/en/linux-installation-native.html).

> **注意**

>

> 对于很多 Linux 安装, 你希望将 MySQL 设置为在计算机启动时自动启动. Many of the native package installations perform this operation for you, but for source, binary and RPM solutions you may need to set this up separately. The required script, [mysql.server](https://dev.mysql.com/doc/refman/8.0/en/mysql-server.html), can be found in the `support-files` directory under the MySQL installation directory or in a MySQL source tree. You can install it as `/etc/init.d/mysql` for automatic MySQL startup and shutdown. See [Section 4.3.3, “**mysql.server** — MySQL Server Startup Script”](https://dev.mysql.com/doc/refman/8.0/en/mysql-server.html).

linux mysql帮助文档,在 Linux 上安装 MySQL相关推荐

  1. linux安装mysql不成功怎么处理_Linux上安装MySQL时出现不兼容的解决办法

    Linux上安装MySQL时出现不兼容的解决办法 在linux 上安装mysql rpm的时候,安装不成功 MySQL-client-5.5.36-1.linux2.6.x86_64.rpm MySQ ...

  2. centos安装mysql 简书_在centos上安装mysql

    由于mysql易主甲骨文以后,centos7担心mysql慢慢会封闭不再开源所以将yum里面的数据库更换名字为MariaDB.两者差不多没有太大区别. 如何在centos7上安装mysql 解决思路通 ...

  3. Linux打开rtf文档,在linux下设置开机自动启动程序的方法_精品.rtf

    您所在位置:网站首页 > 海量文档 &nbsp>&nbsp计算机&nbsp>&nbsplinux/Unix相关 在linux下设置开机自动启动程序的方 ...

  4. linux mysql8.0.16 下载_Linux CentOS上安装 MySQL 8.0.16

    前言: 因为我需要在我新安装的Linux CentOS系统服务器中安装和配置MySQL服务器,然而对于我们这种Linux使用小白而言在Linux系统中下载,解压,配置MySQL等一系列的操作还是有些耗 ...

  5. ubuntu安装mysql报错_在Ubuntu上安装mysql数据库和遇到的问题

    如果上面没有成功,而出现了这样的问题的话: Mysql ERROR 1045 (28000): Access denied for user 'root'@'localhost'(using pass ...

  6. centos7本地安装mysql数据库_在CentOS7系统上安装MySQL数据库

    1.下载安装MySQL官方repo文件 下载MySQL的官方repo文件 [root@centos7 ~]# wget -i -c http://dev.mysql.com/get/mysql57-c ...

  7. Linux 编辑doc,Linux 指令篇-文档编辑.doc

    Linux 指令篇-文档编辑 Linux 指令篇:文档编辑--col Intel嵌入式设计开发者秘笈(精品)[上海央邦]学一送一,超值!定向委培RHCA,通过考试年薪10W 安博亚威]CCIE考试通过 ...

  8. 在Window上安装Mysql

    摘自极客学院教学视频: 首先在浏览器中输入mysql.com,点击Downloads,选择Community社区,点击MySQL Community Server ,在最下面选择适合自己电脑的连接,点 ...

  9. 文档管理 linux,Linux 文档管理

    涉及的命令:ls 下面上一张使用ls命令的截图,从下面的截图中我们来详细了解一下,linux中关于文档(目录)的属性. 从上面截图的一条记录可以看出一个文档(目录)的所有信息,下面我们详细说明. 上面 ...

最新文章

  1. MySQL界面说明_mysql 界面
  2. 2012年河南省普通高校招生本科一批院校 平行投档分数线(理科)
  3. C#——Circle(圆)类
  4. Redis的Errorlog或者启动日志(错误日志)的配置
  5. xp搭建 php环境,windows xp 下 LAMP环境搭建
  6. 理解SharePoint中的备用访问映射(Alternate Access Mapping)
  7. Goalng笔记——排序和查找
  8. 可怕!微软AI:一张面部照片一段音频,完美生成头像演讲视频
  9. HDU 3008 Warcraft
  10. 照着官网来安装openstack pike之glance安装
  11. Spring AOP原理分析(二)--@EnableAspectJAutoProxy功能分析
  12. java围棋对弈实例
  13. 微信小程序服务器布置轮播图,微信小程序自定义轮播图
  14. 简单!Python+OpenCV三步去除水印
  15. python列表偏移量为什么可以有-1_Python颜色条标记的偏移量为+1,而不是指定的值...
  16. 百度诉被奇虎科技有限公司(以下简称北京奇虎公司)、奇虎三六零软件(北京)有限公司(以下简称奇虎三六零公司)不正当竞争纠纷一案
  17. excel函数自变量linux,excle 求自变量 | 如何用EXCEL已知自变量和函数值求函数式
  18. win10计算机升级系统,微软Win10升级助手
  19. SAP 标准成本、目标成本与实际成本
  20. HTML+CSS期末大作业:动漫网站设计——悬崖上的金鱼姬(5页) / 动漫网页设计作业,网页设计作业 / 动漫网页设计成品 学生DW网页设计作业成品 web课程设计网页规划与设计...

热门文章

  1. .Net 内存对象分析
  2. visual studio 2017发布dotnet core到docker
  3. 用.net core 写后端—— c++外的另一种选择?
  4. Redis集群~StackExchange.redis连接Sentinel服务器并订阅相关事件
  5. python 调用文件上传图片简单例子
  6. Web服务器 - Nginx配置介绍
  7. java 检测ip网速_java心跳测网速Demo
  8. vue 公众号扫描_vue编写微信公众号打开相机功能
  9. 【ArcGIS微课1000例】0012:ArcGIS创建及连接ArcSDE企业级地理数据库实例
  10. 【ArcGIS遇上Python】三种利用Python批量处理地理数据的方法——以栅格数据投影转换为例