1.下载ubuntu版mysql
2.解压mysql
3.安装
sudo dpkg -i mysql-common_5.6.21-1ubuntu14.04_amd64.deb mysql-community-server_5.6.21-1ubuntu14.04_amd64.deb mysql-community-client_5.6.21-1ubuntu14.04_amd64.deb
执行命令后报错 提示
正在设置 mysql-common (5.6.21-1ubuntu14.04) ...
dpkg: dependency problems prevent configuration of mysql-community-server:
mysql-community-server 依赖于 libaio1 (>= 0.3.93);然而:
未安装软件包 libaio1。
dpkg: error processing package mysql-community-server (--install):
依赖关系问题 - 仍未被配置
dpkg: dependency problems prevent configuration of mysql-community-client:
mysql-community-client 依赖于 libaio1 (>= 0.3.93);然而:
未安装软件包 libaio1。
dpkg: error processing package mysql-community-client (--install):
依赖关系问题 - 仍未被配置
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
在处理时有错误发生:
mysql-community-server
mysql-community-client
安装libaio1包即可
sudo apt-get install libaio1