Ubuntu下安装MySQL

来源:互联网 发布:手机桌面控制软件 编辑:程序博客网 时间:2024/06/04 01:26

ubuntu 版本:16.04 64-bit

1. 下载mysql, 下载“DEB Bundle”

2. 按照如下网站进行安装配置

http://www.jb51.net/article/105759.htm

3. 安装过程中遇到的问题:

a. W: GPG error: http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5A9A06AEF9CB8DB0
这里写图片描述
解决方法:删除相应的文件,因为源更新的与各个应用更新是不完全一致的。
这里写图片描述
b. The following packages have unmet dependencies:
nixnote2 : Depends: libpoppler-qt5-1 but it is not installed
Depends: libtbb2 but it is not installed
Depends: tidy but it is not installed
Recommends: mimetex but it is not installed
Recommends: openjdk-7-jre but it is not installable or
openjdk-7-jdk but it is not installable or
sun-java7-jdk but it is not installable or
sun-java7-jre but it is not installable or
java7-sdk or
java7-runtime or
default-jre but it is not installed
Recommends: nixnote2-webcam-plugin but it is not installable
Recommends: nixnote2-hunspell-plugin but it is not installable
解决方法:sudo apt-get -f install
这里写图片描述

4. MySQL-Workbench安装

http://blog.csdn.net/jgirl_333/article/details/48575281

5. python MySQL-connector安装

http://blog.csdn.net/ocean20/article/details/75219811