Mysql

我如何下載基於 Debian 的 MySql?

  • May 7, 2022

我想做一個數據庫,我需要 mysql。

我試圖執行這個命令: sudo apt install mysql-server我得到了這個:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mysql-server' has no installation candidate

由於許可證問題,Debian 改為“mariadb”。

乙太使用mariadb-server包或default-mysql-server,這取決於與 mysql 兼容的伺服器。

引用自:https://serverfault.com/questions/1100404