Debian 8 安装Mysql并在本地连接:
执行 apt-get install mysql-server出现以下错误:
Reading package lists... Done
Building dependency tree
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, oris only available from another source
E: Package 'mysql-server' has no installation candidate
下载MySQL apt存储库
https://dev.mysql.com/downloads/repo/apt/
-
选择版本,执行以下命令:
-
wget https://dev.mysql.com/get/mys