日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

linux mysql帮助文档,在 Linux 上安装 MySQL

發布時間:2023/12/4 数据库 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux mysql帮助文档,在 Linux 上安装 MySQL 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

## 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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。