Ubuntu16.04安装mysql5.5

本文实在网上找的资料的基础上修改的

未修改的原文地址http://blog.sina.com.cn/s/blog_672b419f0102y5yf.html

下面是安装过程

1、编辑/etc/apt/sources.list和/etc/apt/sources.list.save, 手动加上deb http://archive.ubuntu.com/ubuntu trusty main universe

2、执行apt update或者apt-get update

3、 apt-cache search mysql | grep mysql-server,看看都有哪些能装的

Ubuntu16.04安装mysql5.5_第1张图片

4、apt-get install aptitude

5、aptitude install mysql-server-5.5  安装的时候,第一个选no,第二个选yes

你可能感兴趣的:(mysql,Ubuntu)