Sample Header Ad - 728x90

Install mysql-shell from apt repository

5 votes
2 answers
5011 views
I want to install and configure a high availability cluster for Mysql 8. To automate that, I want to use use apt repository (via ansible). My servers are debian jessy (8) distribution. I succesfully installed mysql server with commands : > sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5072E1F5 > echo "deb http://repo.mysql.com/apt/debian jessie mysql-8.0" | \ sudo tee /etc/apt/sources.list.d/mysql80.list > sudo apt update > sudo apt install mysql-server It works fine. Now I want to install Mysql shell to manage a InnoDB cluster. It seems that it is available via apt repository as mentioned in this page : https://dev.mysql.com/downloads/repo/apt/ And installation is explained here : https://dev.mysql.com/doc/refman/8.0/en/installing-mysql-shell-linux-quick.html But when I execute a install via reposiory, I get an error : > sudo apt-get install mysql-shell with the message : > Reading package lists... Done Building dependency tree Reading state > information... Done E: Unable to locate package mysql-shell I have same error with server running on debian stretch (9).
Asked by gentiane (161 rep)
Oct 1, 2018, 09:26 AM
Last activity: Jul 15, 2022, 11:53 PM