由于最近c++项目需要使用C++连接mysql数据库,所以配置mysql环境,执行sudo apt-get install mysql-server,mysql-client,libmysqlclient-dev
.
在执行第一句sudo apt-get install mysql-server
能够成功安装,第二句sudo apt-get install mysql-client
却报错了,错误如下:
Err:1 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease
Cannot initiate the connection to ppa.launchpad.net:80 (2001:67c:1560:8008::19). - connect (101: Network is unreachable) [IP: 2001:67c:1560:8008::19 80]
Err:2 http://ppa.launchpad.n