debian安装mysql_如何在Debian 10上安装最新MySQL

debian安装mysql

介绍 (Introduction)

MySQL is a prominent open source database management system used to store and retrieve data for a wide variety of popular applications. MySQL is the M in the LAMP stack, a commonly used set of open source software that also includes Linux, the Apache web server, and the PHP programming language.

MySQL是一个杰出的开源数据库管理系统,用于存储和检索各种流行应用程序的数据。 MySQL是LAMP堆栈中的MLAMP堆栈是一组常用的开源软件,还包括Linux,Apache Web服务器和PHP编程语言。

In Debian 10, MariaDB, a community fork of the MySQL project, is packaged as the default MySQL variant. While MariaDB works well in most cases, if you need features found only in Oracle’s MySQL, you can install and use packages from a repository maintained by the MySQL developers.

在Debian 10中,MariaDB(MySQL项目的一个社区分支)被打包为默认MySQL变体。 尽管MariaDB在大多数情况下都能正常运行,但是如果您需要仅在Oracle MySQL中才能找到的功能,则可以从MySQL开发人员维护的存储库中安装和使用软件包。

To install the latest version of MySQL, we’ll add this repository, install the MySQL software itself, secure the install, and finally we’ll test that MySQL is running and responding to commands.

要安装最新版本MySQL,我们将添加此存储库,安装MySQL软件本身,确保安装的安全性,最后我们将测试MySQL是否正在运行并响应命令。

先决条件 (Prerequisites)

Before starting this tutorial, you will need:

在开始本教程之前,您需要:

第1步-添加MySQL软件存储库 (Step 1 — Adding the MySQL Software Repository)

The MySQL developers provide a .deb package that handles configuring and installing the official MySQL software repositories. Once the repositories are set up, we’ll be able to use Debian’s standard apt command to install the software.

MySQL开发人员提供了一个.deb软件包,用于配置和安装官方MySQL软件存储库。 设置好存储库后,我们将能够使用Debian的标准apt命令来安装软件。

Before we do this, we need to install the prerequisite GnuPG package, an open-source implementation of the OpenPGP standard.

在执行此操作之前,我们需要安装必备的GnuPG软件包,这是OpenPGP标准

  • 2
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值